DGtal 1.3.0
|
Aim: implements forward 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 | |
ForwardRigidTransformation2D (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 forward rigid transformation of point in the 2D integer space. Warring: This version uses closest neighbor interpolation.
Description of template functor like class 'ForwardRigidTransformation2D'
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 72 of file RigidTransformation2D.h.
typedef TSpace::RealPoint DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::RealPoint |
Definition at line 82 of file RigidTransformation2D.h.
typedef TSpace::RealVector DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::RealVector |
Definition at line 83 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 93 of file RigidTransformation2D.h.
References DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::t_cos, and DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::t_sin.
|
private |
Checking concepts.
|
private |
|
private |
|
private |
|
inline |
Operator
Definition at line 106 of file RigidTransformation2D.h.
References DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::functor, DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::origin, DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::t_cos, DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::t_sin, and DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::translation.
|
protected |
Definition at line 123 of file RigidTransformation2D.h.
Referenced by DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 119 of file RigidTransformation2D.h.
Referenced by DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 121 of file RigidTransformation2D.h.
Referenced by DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::ForwardRigidTransformation2D(), and DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 120 of file RigidTransformation2D.h.
Referenced by DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::ForwardRigidTransformation2D(), and DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().
|
protected |
Definition at line 122 of file RigidTransformation2D.h.
Referenced by DGtal::functors::ForwardRigidTransformation2D< TSpace, TInputValue, TOutputValue, TFunctor >::operator()().