DGtal  0.9.4beta
Public Types | Public Member Functions | Private Attributes
DGtal::ParametricShapeArcLengthFunctor< TParametricShape > Class Template Reference

#include <DGtal/geometry/curves/estimation/ParametricShapeArcLengthFunctor.h>

Public Types

typedef TParametricShape ParametricShape
 
typedef TParametricShape::RealPoint RealPoint
 
typedef TParametricShape::Point Point
 
typedef TParametricShape::Point Vector
 
typedef Point::Coordinate Integer
 
typedef double Quantity
 

Public Member Functions

 ParametricShapeArcLengthFunctor ()
 
 ParametricShapeArcLengthFunctor (ParametricShape *aShape)
 
 ~ParametricShapeArcLengthFunctor ()
 
ParametricShapeArcLengthFunctoroperator= (const ParametricShapeArcLengthFunctor &other)
 
Quantity operator() (const RealPoint &aFirstPoint, const RealPoint &aSecondPoint)
 
Quantity operator() ()
 

Private Attributes

ParametricShapemyShape
 

Detailed Description

template<typename TParametricShape>
class DGtal::ParametricShapeArcLengthFunctor< TParametricShape >

Aim: implements a functor that estimates the arc length of a paramtric curve.

Description of template class 'ParametricShapeArcLengthFunctor'

Template Parameters
TParametricShapea model of parametric shape.

Definition at line 64 of file ParametricShapeArcLengthFunctor.h.

Member Typedef Documentation

template<typename TParametricShape >
typedef Point::Coordinate DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::Integer

Definition at line 77 of file ParametricShapeArcLengthFunctor.h.

template<typename TParametricShape >
typedef TParametricShape DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::ParametricShape

Type of parametric shape.

Definition at line 71 of file ParametricShapeArcLengthFunctor.h.

template<typename TParametricShape >
typedef TParametricShape::Point DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::Point

Definition at line 75 of file ParametricShapeArcLengthFunctor.h.

template<typename TParametricShape >
typedef double DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::Quantity

Type of the functor output.

Definition at line 80 of file ParametricShapeArcLengthFunctor.h.

template<typename TParametricShape >
typedef TParametricShape::RealPoint DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::RealPoint

Type of const iterator on points.

Definition at line 74 of file ParametricShapeArcLengthFunctor.h.

template<typename TParametricShape >
typedef TParametricShape::Point DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::Vector

Definition at line 76 of file ParametricShapeArcLengthFunctor.h.

Constructor & Destructor Documentation

template<typename TParametricShape >
DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::ParametricShapeArcLengthFunctor ( )
inline

Constructor. Forbidden by default (protected to avoid g++ warnings).

Definition at line 86 of file ParametricShapeArcLengthFunctor.h.

86 {}
template<typename TParametricShape >
DGtal::ParametricShapeArcLengthFunctor< TParametricShape >::ParametricShapeArcLengthFunctor ( ParametricShape aShape)
inline