DGtal
0.6.devel
|
#include <TrueGlobalEstimatorOnPoints.h>
Public Types | |
typedef TConstIteratorOnPoints | ConstIteratorOnPoints |
typedef TParametricShape | ParametricShape |
typedef ParametricShape::RealPoint | RealPoint |
typedef TParametricShapeFunctor | ParametricShapeFunctor |
typedef ParametricShapeFunctor::Quantity | Quantity |
Public Member Functions | |
TrueGlobalEstimatorOnPoints () | |
TrueGlobalEstimatorOnPoints (const double h, const ConstIteratorOnPoints &itb, const ConstIteratorOnPoints &ite, ParametricShape *aShape, const bool &isClosed) | |
~TrueGlobalEstimatorOnPoints () | |
void | init (const double h, const ConstIteratorOnPoints &itb, const ConstIteratorOnPoints &ite, ParametricShape *aShape, const bool &isClosed) |
Quantity | eval () |
Quantity | eval (const ConstIteratorOnPoints &itb, const ConstIteratorOnPoints &ite) |
bool | isValid () const |
Private Member Functions | |
TrueGlobalEstimatorOnPoints (const TrueGlobalEstimatorOnPoints &other) | |
TrueGlobalEstimatorOnPoints & | operator= (const TrueGlobalEstimatorOnPoints &other) |
Private Attributes | |
double | myH |
bool | myFlagIsClosed |
bool | myFlagIsInit |
ParametricShapeFunctor | myFunctor |
ConstIteratorOnPoints | myBegin |
ConstIteratorOnPoints | myEnd |
Aim: Computes the true quantity to each element of a range associated to a parametric shape.
Description of template class 'TrueGlobalEstimatorOnPoints'
TConstIteratorOnPoints | type of iterator on points used as query points. |
TParametricShape | type of the parametric shape. |
TParametricShapeFunctor | type of Functor used to evaluate the quantity. |
Definition at line 69 of file TrueGlobalEstimatorOnPoints.h.
typedef TConstIteratorOnPoints DGtal::TrueGlobalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::ConstIteratorOnPoints |
Definition at line 75 of file TrueGlobalEstimatorOnPoints.h.
typedef TParametricShape DGtal::TrueGlobalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::ParametricShape |
Definition at line 77 of file TrueGlobalEstimatorOnPoints.h.
typedef TParametricShapeFunctor DGtal::TrueGlobalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::ParametricShapeFunctor |
Definition at line 80 of file TrueGlobalEstimatorOnPoints.h.
typedef ParametricShapeFunctor::Quantity DGtal::TrueGlobalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::Quantity |
Definition at line 81 of file TrueGlobalEstimatorOnPoints.h.
typedef ParametricShape::RealPoint DGtal::TrueGlobalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::RealPoint |
Definition at line 78 of file TrueGlobalEstimatorOnPoints.h.
|
inline |
Default constructor.
Definition at line 90 of file TrueGlobalEstimatorOnPoints.h.
DGtal::TrueGlobalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::TrueGlobalEstimatorOnPoints | ( | const double | h, |
const ConstIteratorOnPoints & | itb, | ||
const ConstIteratorOnPoints & | ite, | ||
ParametricShape * | aShape, | ||
const bool & | isClosed | ||
) |
Constructor.
h | grid size (must be >0). |
itb,begin | iterator |
ite,end | iterator |
aSegmentComputer | |
isClosed | true if the input range is closed. |
|
inline |
|
private |
Copy constructor.
other | the object to clone. Forbidden by default. |
|
inline |
Definition at line 87 of file TrueGlobalEstimatorOnPoints.ih.
|
inline |
Definition at line 113 of file TrueGlobalEstimatorOnPoints.ih.
|
inline |
Initialisation.
h | grid size (must be >0). |
itb,begin | iterator |
ite,end | iterator |
aSegmentComputer | |
isClosed | true if the input range is viewed as closed. |
Init.
Definition at line 62 of file TrueGlobalEstimatorOnPoints.ih.
|
inline |
Checks the validity/consistency of the object.
Definition at line 141 of file TrueGlobalEstimatorOnPoints.ih.
|
private |
Assignment.
other | the object to copy. |
|
private |
Copy of the begin iterator.
Definition at line 169 of file TrueGlobalEstimatorOnPoints.h.
|
private |
Copy of the end iterator.
Definition at line 172 of file TrueGlobalEstimatorOnPoints.h.
|
private |
Bool if the curve is closed.
Definition at line 160 of file TrueGlobalEstimatorOnPoints.h.
|
private |
True if the init() has been called.
Definition at line 163 of file TrueGlobalEstimatorOnPoints.h.
Referenced by DGtal::TrueGlobalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::TrueGlobalEstimatorOnPoints().
|
private |
Parametric quantity functor.
Definition at line 166 of file TrueGlobalEstimatorOnPoints.h.
|
private |
Grid size.
Definition at line 157 of file TrueGlobalEstimatorOnPoints.h.