DGtal 1.4.0
|
Aim: Implements a decorator for applying transformations to parametric curves. More...
#include <DGtal/geometry/curves/parametric/DecoratorParametricCurveTransformation.h>
Public Types | |
typedef TCurve | TypeCurve |
typedef TCurve::Space | Space |
typedef Space::RealPoint | RealPoint |
typedef Space::Point | Point |
Public Member Functions | |
DecoratorParametricCurveTransformation (const TCurve &, const TTransfromation &) | |
~DecoratorParametricCurveTransformation ()=default | |
RealPoint | x (double t) const |
RealPoint | xp (double t) const |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Data Fields | |
const TCurve & | curve |
Protected Member Functions | |
DecoratorParametricCurveTransformation () | |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::C3DParametricCurve< TCurve >)) | |
DecoratorParametricCurveTransformation (const DecoratorParametricCurveTransformation &other) | |
DecoratorParametricCurveTransformation & | operator= (const DecoratorParametricCurveTransformation &other) |
Private Attributes | |
const TTransfromation & | trans |
Aim: Implements a decorator for applying transformations to parametric curves.
Description of class 'DecoratorParametricCurveTransformation'
TCurve | a model of C3DParametricCurve |
TTransfromation | a functor taking an instance of TCurve::Space::RealPoint and returning an instance of TCurve::Space::RealPoint |
Definition at line 63 of file DecoratorParametricCurveTransformation.h.
typedef Space::Point DGtal::DecoratorParametricCurveTransformation< TCurve, TTransfromation >::Point |
Definition at line 72 of file DecoratorParametricCurveTransformation.h.
typedef Space::RealPoint DGtal::DecoratorParametricCurveTransformation< TCurve, TTransfromation >::RealPoint |
Definition at line 71 of file DecoratorParametricCurveTransformation.h.
typedef TCurve::Space DGtal::DecoratorParametricCurveTransformation< TCurve, TTransfromation >::Space |
Definition at line 70 of file DecoratorParametricCurveTransformation.h.
typedef TCurve DGtal::DecoratorParametricCurveTransformation< TCurve, TTransfromation >::TypeCurve |
Definition at line 69 of file DecoratorParametricCurveTransformation.h.
DGtal::DecoratorParametricCurveTransformation< TCurve, TTransfromation >::DecoratorParametricCurveTransformation | ( | const TCurve & | , |
const TTransfromation & | ) |
|
default |
Destructor.
|
protected |
Constructor. Forbidden by default (protected to avoid g++ warnings).
|
private |
Copy constructor.
other | the object to clone. Forbidden by default. |
|
private |
bool DGtal::DecoratorParametricCurveTransformation< TCurve, TTransfromation >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
|
private |
Assignment.
other | the object to copy. |
void DGtal::DecoratorParametricCurveTransformation< TCurve, TTransfromation >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
RealPoint DGtal::DecoratorParametricCurveTransformation< TCurve, TTransfromation >::x | ( | double | t | ) | const |
t | any angle between 0 and k*Pi. |
RealPoint DGtal::DecoratorParametricCurveTransformation< TCurve, TTransfromation >::xp | ( | double | t | ) | const |
t | any angle between 0 and k*Pi. |
const TCurve& DGtal::DecoratorParametricCurveTransformation< TCurve, TTransfromation >::curve |
Definition at line 83 of file DecoratorParametricCurveTransformation.h.
|
private |
Definition at line 145 of file DecoratorParametricCurveTransformation.h.