DGtal 1.3.0
|
Aim: implements forward 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 | |
ForwardRigidTransformation3D (const RealPoint &aOrigin, const RealVector &aAxis, const double &angle, const RealVector &aTranslate) | |
TOutputValue | operator() (const TInputValue &aInput) const |
Protected Attributes | |
RealVector | axis |
RealPoint | origin |
double | t_sin |
double | t_cos |
RealVector | trans |
TFunctor | functor |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CSpace< TSpace >)) | |
Checking concepts. More... | |
BOOST_STATIC_ASSERT ((TSpace::dimension==3)) | |
BOOST_STATIC_ASSERT ((TOutputValue::dimension==3)) | |
BOOST_STATIC_ASSERT ((TInputValue::dimension==3)) | |
Aim: implements forward 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 'ForwardRigidTransformation3D'
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 76 of file RigidTransformation3D.h.
typedef TSpace::RealPoint DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::RealPoint |
Definition at line 86 of file RigidTransformation3D.h.
typedef TSpace::RealVector DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::RealVector |
Definition at line 87 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 98 of file RigidTransformation3D.h.
References DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::axis, DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::t_cos, and DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::t_sin.
|
private |
Checking concepts.
|
private |
|
private |
|
private |
|
inline |
Operator
Definition at line 116 of file RigidTransformation3D.h.
References DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::axis, DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::functor, DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::origin, DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::t_cos, DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::t_sin, and DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::trans.
|
protected |
Definition at line 137 of file RigidTransformation3D.h.
Referenced by DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::ForwardRigidTransformation3D(), and DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 142 of file RigidTransformation3D.h.
Referenced by DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 138 of file RigidTransformation3D.h.
Referenced by DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 140 of file RigidTransformation3D.h.
Referenced by DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::ForwardRigidTransformation3D(), and DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 139 of file RigidTransformation3D.h.
Referenced by DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::ForwardRigidTransformation3D(), and DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 141 of file RigidTransformation3D.h.
Referenced by DGtal::functors::ForwardRigidTransformation3D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().