DGtal 1.4.0
|
#include <DGtal/geometry/surfaces/estimation/estimationFunctors/BasicEstimatorFromSurfelsFunctors.h>
Public Types | |
typedef TSurfel | Surfel |
Surfel type. | |
typedef TSCellEmbedder | SCellEmbedder |
Embedder type. | |
typedef int | Quantity |
Type of output values. | |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CSCellEmbedder< SCellEmbedder >)) | |
DummyEstimatorFromSurfels (ConstAlias< SCellEmbedder > anEmbedder, const double h) | |
~DummyEstimatorFromSurfels () | |
void | pushSurfel (const Surfel &aSurfel, const double aDistance) |
Quantity | eval () const |
void | reset () |
Private Member Functions | |
DummyEstimatorFromSurfels () | |
Private Attributes | |
const SCellEmbedder * | myEmbedder |
ConstAlias of the Embedder. | |
Quantity | myCpt |
Surfel counter. | |
double | myH |
Grid step. | |
Definition at line 54 of file BasicEstimatorFromSurfelsFunctors.h.
typedef int DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::Quantity |
Type of output values.
Definition at line 67 of file BasicEstimatorFromSurfelsFunctors.h.
typedef TSCellEmbedder DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::SCellEmbedder |
Embedder type.
Definition at line 62 of file BasicEstimatorFromSurfelsFunctors.h.
typedef TSurfel DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::Surfel |
Surfel type.
Definition at line 59 of file BasicEstimatorFromSurfelsFunctors.h.
|
inline |
Constructor.
[in] | anEmbedder | any model of CSCellEmbedder. |
[in] | h | a grid step |
Definition at line 75 of file BasicEstimatorFromSurfelsFunctors.h.
References DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::myCpt.
|
inline |
|
private |
Private default constructor.
DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::BOOST_CONCEPT_ASSERT | ( | (concepts::CSCellEmbedder< SCellEmbedder >) | ) |
|
inline |
Definition at line 103 of file BasicEstimatorFromSurfelsFunctors.h.
References DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::myCpt.
|
inline |
Push a surfel to the estimator. For this dummy estimator, we just count the number of surfels.
Definition at line 91 of file BasicEstimatorFromSurfelsFunctors.h.
References DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::myCpt.
|
inline |
Reset the estimator.
Definition at line 108 of file BasicEstimatorFromSurfelsFunctors.h.
References DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::myCpt.
|
private |
Surfel counter.
Definition at line 124 of file BasicEstimatorFromSurfelsFunctors.h.
Referenced by DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::DummyEstimatorFromSurfels(), DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::eval(), DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::pushSurfel(), and DGtal::functors::DummyEstimatorFromSurfels< TSurfel, TSCellEmbedder >::reset().
|
private |
ConstAlias of the Embedder.
Definition at line 121 of file BasicEstimatorFromSurfelsFunctors.h.
|
private |
Grid step.
Definition at line 127 of file BasicEstimatorFromSurfelsFunctors.h.