|
DGtal 2.0.0
|
Aim: implements backward rigid transformation of point in 3D integer space around any arbitrary axis. This implementation uses the Rodrigues' rotation formula. Warring: This version uses closest neighbor interpolation. More...
#include <DGtal/images/RigidTransformation3D.h>
Public Types | |
| typedef TSpace::RealPoint | RealPoint |
| typedef TSpace::RealVector | RealVector |
Public Member Functions | |
| BackwardRigidTransformation3D (const RealPoint &aOrigin, const RealVector &aAxis, const double &angle, const RealVector &aTranslate) | |
| TOutputValue | operator() (const TInputValue &aInput) const |
Private Member Functions | |
| BOOST_CONCEPT_ASSERT ((concepts::CSpace< TSpace >)) | |
| Checking concepts. | |
| BOOST_STATIC_ASSERT ((TSpace::dimension==3)) | |
| BOOST_STATIC_ASSERT ((TOutputValue::dimension==3)) | |
| BOOST_STATIC_ASSERT ((TInputValue::dimension==3)) | |
Private Attributes | |
| RealVector | axis |
| RealPoint | origin |
| double | t_sin |
| double | t_cos |
| RealVector | trans |
| TFunctor | functor |
Aim: implements backward rigid transformation of point in 3D integer space around any arbitrary axis. This implementation uses the Rodrigues' rotation formula. Warring: This version uses closest neighbor interpolation.
Description of template functor like class 'BackwardRigidTransformation3D'
| TSpace | a 3 dimensional space. |
| TInputValue | type of the input point e.g., TSpace::RealPoint |
| TOutputValue | type of the output point e.g., TSpace::Point |
| TFunctor | a functor operating on the output e.g., a rounding function. |
Definition at line 164 of file RigidTransformation3D.h.
| typedef TSpace::RealPoint DGtal::functors::BackwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::RealPoint |
Definition at line 174 of file RigidTransformation3D.h.
| typedef TSpace::RealVector DGtal::functors::BackwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::RealVector |
Definition at line 175 of file RigidTransformation3D.h.
|
inline |
Constructor.
| aOrigin | the center of rotation. |
| aAxis | the axis of rotation. |
| angle | the angle given in radians. |
| aTranslate | the 3D dimensional vector which represents translation. |
Definition at line 186 of file RigidTransformation3D.h.
|
private |
Checking concepts.
|
private |
|
private |
|
private |
|
inline |
Operator
Definition at line 203 of file RigidTransformation3D.h.
|
private |
Definition at line 223 of file RigidTransformation3D.h.
|
private |
Definition at line 228 of file RigidTransformation3D.h.
Referenced by DGtal::functors::BackwardRigidTransformation3D< Space >::operator()().
|
private |
Definition at line 224 of file RigidTransformation3D.h.
|
private |
Definition at line 226 of file RigidTransformation3D.h.
|
private |
Definition at line 225 of file RigidTransformation3D.h.
|
private |
Definition at line 227 of file RigidTransformation3D.h.