DGtal 1.3.0
|
Aim: A functor Surfel -> Quantity that returns the outer normal vector at given surfel. More...
#include <DGtal/geometry/surfaces/estimation/VCMGeometricFunctors.h>
Public Types | |
typedef TVCMOnDigitalSurface | VCMOnDigitalSurface |
typedef VCMOnDigitalSurface::KSpace | KSpace |
typedef VCMOnDigitalSurface::Surfel | Surfel |
typedef VCMOnDigitalSurface::VectorN | RealVector |
typedef RealVector::Component | Scalar |
typedef Surfel | Argument |
typedef RealVector | Quantity |
Public Member Functions | |
VCMNormalVectorFunctor (ConstAlias< VCMOnDigitalSurface > aVCMOnDigitalSurface=0) | |
void | attach (ConstAlias< VCMOnDigitalSurface > aVCMOnDigitalSurface) |
Quantity | operator() (const Surfel &s) const |
Private Attributes | |
CountedConstPtrOrConstPtr< VCMOnDigitalSurface > | myVCMOnDigitalSurface |
The shape of interest. More... | |
Aim: A functor Surfel -> Quantity that returns the outer normal vector at given surfel.
Description of template class 'VCMNormalVectorFunctor'
TVCMOnDigitalSurface | any concrete type of VoronoiCovarianceMeasureOnDigitalSurface |
Definition at line 59 of file VCMGeometricFunctors.h.
typedef Surfel DGtal::functors::VCMNormalVectorFunctor< TVCMOnDigitalSurface >::Argument |
Definition at line 65 of file VCMGeometricFunctors.h.
typedef VCMOnDigitalSurface::KSpace DGtal::functors::VCMNormalVectorFunctor< TVCMOnDigitalSurface >::KSpace |
Definition at line 61 of file VCMGeometricFunctors.h.
typedef RealVector DGtal::functors::VCMNormalVectorFunctor< TVCMOnDigitalSurface >::Quantity |
Definition at line 66 of file VCMGeometricFunctors.h.
typedef VCMOnDigitalSurface::VectorN DGtal::functors::VCMNormalVectorFunctor< TVCMOnDigitalSurface >::RealVector |
Definition at line 63 of file VCMGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::VCMNormalVectorFunctor< TVCMOnDigitalSurface >::Scalar |
Definition at line 64 of file VCMGeometricFunctors.h.
typedef VCMOnDigitalSurface::Surfel DGtal::functors::VCMNormalVectorFunctor< TVCMOnDigitalSurface >::Surfel |
Definition at line 62 of file VCMGeometricFunctors.h.
typedef TVCMOnDigitalSurface DGtal::functors::VCMNormalVectorFunctor< TVCMOnDigitalSurface >::VCMOnDigitalSurface |
Definition at line 60 of file VCMGeometricFunctors.h.
|
inline |
Constructor. A VCM may also be attached at construction.
aVCMOnDigitalSurface | the VCM on surface that stores all the information. The alias can be secured if some counted pointer is handed. |
Definition at line 75 of file VCMGeometricFunctors.h.
|
inline |
Attach a VCM on a digital surface.
aVCMOnDigitalSurface | on surface that stores all the information. The alias can be secured if some counted pointer is handed. |
Definition at line 85 of file VCMGeometricFunctors.h.
References DGtal::functors::VCMNormalVectorFunctor< TVCMOnDigitalSurface >::myVCMOnDigitalSurface.
|
inline |
Map operator Surfel -> RealVector giving the normal vector estimated by the VCM object. Complexity is \( O(log n) \), if n is the number of surfels of the surface.
s | any surfel of the shape. |
Definition at line 97 of file VCMGeometricFunctors.h.
References DGtal::functors::VCMNormalVectorFunctor< TVCMOnDigitalSurface >::myVCMOnDigitalSurface.
|
private |
The shape of interest.
Definition at line 108 of file VCMGeometricFunctors.h.
Referenced by DGtal::functors::VCMNormalVectorFunctor< TVCMOnDigitalSurface >::attach(), and DGtal::functors::VCMNormalVectorFunctor< TVCMOnDigitalSurface >::operator()().