DGtal
1.5.beta
|
Aim: implements backward rigid transformation of point in the 2D integer space. Warring: This version uses closest neighbor interpolation. More...
#include <DGtal/images/RigidTransformation2D.h>
Public Types | |
typedef TSpace::RealPoint | RealPoint |
typedef TSpace::RealVector | RealVector |
Public Member Functions | |
BackwardRigidTransformation2D (const RealPoint &aOrigin, const double &angle, const RealVector &aTranslate) | |
TOutputValue | operator() (const TInputValue &aInput) const |
Protected Attributes | |
RealPoint | origin |
double | t_sin |
double | t_cos |
RealVector | translation |
TFunctor | functor |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CSpace< TSpace >)) | |
Checking concepts. More... | |
BOOST_STATIC_ASSERT ((TSpace::dimension==2)) | |
BOOST_STATIC_ASSERT ((TOutputValue::dimension==2)) | |
BOOST_STATIC_ASSERT ((TInputValue::dimension==2)) | |
Aim: implements backward rigid transformation of point in the 2D integer space. Warring: This version uses closest neighbor interpolation.
Description of template functor like class 'BackwardRigidTransformation2D'
TSpace | a 2 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 142 of file RigidTransformation2D.h.
typedef TSpace::RealPoint DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::RealPoint |
Definition at line 152 of file RigidTransformation2D.h.
typedef TSpace::RealVector DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::RealVector |
Definition at line 153 of file RigidTransformation2D.h.
|
inline |
Constructor.
aOrigin | the center of rotation. |
angle | the angle given in radians. |
aTranslate | the 2D dimensional vector which represents translation. |
Definition at line 163 of file RigidTransformation2D.h.
References DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::t_cos, and DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::t_sin.
|
private |
Checking concepts.
|
private |
|
private |
|
private |
|
inline |
Operator
Definition at line 176 of file RigidTransformation2D.h.
References DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::functor, DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::origin, DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::t_cos, DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::t_sin, and DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::translation.
|
protected |
Definition at line 193 of file RigidTransformation2D.h.
Referenced by DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 189 of file RigidTransformation2D.h.
Referenced by DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 191 of file RigidTransformation2D.h.
Referenced by DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::BackwardRigidTransformation2D(), and DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 190 of file RigidTransformation2D.h.
Referenced by DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::BackwardRigidTransformation2D(), and DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 192 of file RigidTransformation2D.h.
Referenced by DGtal::functors::BackwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().