DGtal
1.5.beta
|
Aim: Computes the true quantity to each element of a range associated to a parametric shape. More...
#include <DGtal/geometry/curves/estimation/TrueLocalEstimatorOnPoints.h>
Public Types | |
typedef TConstIteratorOnPoints | ConstIterator |
typedef TParametricShape | ParametricShape |
typedef TParametricShape::RealPoint | RealPoint |
typedef TParametricShapeFunctor | ParametricShapeFunctor |
typedef ParametricShapeFunctor::Quantity | Quantity |
Public Member Functions | |
TrueLocalEstimatorOnPoints () | |
~TrueLocalEstimatorOnPoints () | |
TrueLocalEstimatorOnPoints (const TrueLocalEstimatorOnPoints &)=delete | |
TrueLocalEstimatorOnPoints & | operator= (const TrueLocalEstimatorOnPoints &)=delete |
void | attach (const ParametricShape &aShape) |
Quantity | eval (const ConstIterator &it, const double h=1.) const |
template<typename OutputIterator > | |
OutputIterator | eval (const ConstIterator &itb, const ConstIterator &ite, OutputIterator result, const double h=1.) const |
bool | isValid () const |
Private Attributes | |
const ParametricShapeFunctor * | myFunctorPtr |
Owning pointer on a parametric shape functor. More... | |
Aim: Computes the true quantity to each element of a range associated to a parametric shape.
Description of template class 'TrueLocalEstimatorOnPoints'
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 68 of file TrueLocalEstimatorOnPoints.h.
typedef TConstIteratorOnPoints DGtal::TrueLocalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::ConstIterator |
Definition at line 74 of file TrueLocalEstimatorOnPoints.h.
typedef TParametricShape DGtal::TrueLocalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::ParametricShape |
Definition at line 76 of file TrueLocalEstimatorOnPoints.h.
typedef TParametricShapeFunctor DGtal::TrueLocalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::ParametricShapeFunctor |
Definition at line 79 of file TrueLocalEstimatorOnPoints.h.
typedef ParametricShapeFunctor::Quantity DGtal::TrueLocalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::Quantity |
Definition at line 80 of file TrueLocalEstimatorOnPoints.h.
typedef TParametricShape::RealPoint DGtal::TrueLocalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::RealPoint |
Definition at line 77 of file TrueLocalEstimatorOnPoints.h.
DGtal::TrueLocalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::TrueLocalEstimatorOnPoints | ( | ) |
Default constructor.
DGtal::TrueLocalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::~TrueLocalEstimatorOnPoints | ( | ) |
Destructor.
|
delete |
Copy constructor.
void DGtal::TrueLocalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::attach | ( | const ParametricShape & | aShape | ) |
Attach a shape
aShape | parametric shape |
Referenced by testCompareEstimator(), and testTrueLocalEstimatorOnShapeDigitization().
Quantity DGtal::TrueLocalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::eval | ( | const ConstIterator & | it, |
const double | h = 1. |
||
) | const |
Estimation at *it
it | iterator to the point. |
h | grid size (must be > 0). |
Referenced by testTrueLocalEstimatorOnShapeDigitization().
OutputIterator DGtal::TrueLocalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::eval | ( | const ConstIterator & | itb, |
const ConstIterator & | ite, | ||
OutputIterator | result, | ||
const double | h = 1. |
||
) | const |
Estimation at each element of [itb , ite )
itb | begin iterator |
ite | end iterator |
h | grid size (must be > 0). |
result | the output iterator to the results. |
bool DGtal::TrueLocalEstimatorOnPoints< TConstIteratorOnPoints, TParametricShape, TParametricShapeFunctor >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
|
delete |
Assignment operator.
|
private |
Owning pointer on a parametric shape functor.
Definition at line 147 of file TrueLocalEstimatorOnPoints.h.