DGtal 1.4.0
|
Aim: A functor Surfel -> Quantity that returns the mean of absolute curvatures at given surfel: (abs(k1)+abs(k2))/2. This class has meaning only in 3D. 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 Scalar | Quantity |
Public Member Functions | |
VCMMeanAbsoluteCurvatures3DFunctor (ConstAlias< VCMOnDigitalSurface > aVCMOnDigitalSurface=0) | |
void | attach (ConstAlias< VCMOnDigitalSurface > aVCMOnDigitalSurface) |
Quantity | operator() (const Surfel &s) const |
Private Attributes | |
CountedConstPtrOrConstPtr< VCMOnDigitalSurface > | myVCMOnDigitalSurface |
The shape of interest. | |
Aim: A functor Surfel -> Quantity that returns the mean of absolute curvatures at given surfel: (abs(k1)+abs(k2))/2. This class has meaning only in 3D.
Description of template class 'VCMMeanAbsoluteCurvatures3DFunctor'
TVCMOnDigitalSurface | any concrete type of VoronoiCovarianceMeasureOnDigitalSurface |
Definition at line 326 of file VCMGeometricFunctors.h.
typedef Surfel DGtal::functors::VCMMeanAbsoluteCurvatures3DFunctor< TVCMOnDigitalSurface >::Argument |
Definition at line 332 of file VCMGeometricFunctors.h.
typedef VCMOnDigitalSurface::KSpace DGtal::functors::VCMMeanAbsoluteCurvatures3DFunctor< TVCMOnDigitalSurface >::KSpace |
Definition at line 328 of file VCMGeometricFunctors.h.
typedef Scalar DGtal::functors::VCMMeanAbsoluteCurvatures3DFunctor< TVCMOnDigitalSurface >::Quantity |
Definition at line 333 of file VCMGeometricFunctors.h.
typedef VCMOnDigitalSurface::VectorN DGtal::functors::VCMMeanAbsoluteCurvatures3DFunctor< TVCMOnDigitalSurface >::RealVector |
Definition at line 330 of file VCMGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::VCMMeanAbsoluteCurvatures3DFunctor< TVCMOnDigitalSurface >::Scalar |
Definition at line 331 of file VCMGeometricFunctors.h.
typedef VCMOnDigitalSurface::Surfel DGtal::functors::VCMMeanAbsoluteCurvatures3DFunctor< TVCMOnDigitalSurface >::Surfel |
Definition at line 329 of file VCMGeometricFunctors.h.
typedef TVCMOnDigitalSurface DGtal::functors::VCMMeanAbsoluteCurvatures3DFunctor< TVCMOnDigitalSurface >::VCMOnDigitalSurface |
Definition at line 327 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 342 of file VCMGeometricFunctors.h.
References DGtal::KhalimskySpaceND< dim, TInteger >::dimension.
|
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 355 of file VCMGeometricFunctors.h.
References DGtal::functors::VCMMeanAbsoluteCurvatures3DFunctor< TVCMOnDigitalSurface >::myVCMOnDigitalSurface.
|
inline |
Map operator Surfel -> Scalar giving the mean of absolute curvatures 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 367 of file VCMGeometricFunctors.h.
References DGtal::functors::VCMMeanAbsoluteCurvatures3DFunctor< TVCMOnDigitalSurface >::myVCMOnDigitalSurface.
|
private |
The shape of interest.
Definition at line 388 of file VCMGeometricFunctors.h.
Referenced by DGtal::functors::VCMMeanAbsoluteCurvatures3DFunctor< TVCMOnDigitalSurface >::attach(), and DGtal::functors::VCMMeanAbsoluteCurvatures3DFunctor< TVCMOnDigitalSurface >::operator()().