DGtal
1.5.beta
|
Aim: A functor RealPoint -> Quantity that returns the mean curvature at given point. More...
#include <DGtal/shapes/ShapeGeometricFunctors.h>
Public Types | |
typedef TShape | Shape |
typedef Shape::RealPoint | RealPoint |
typedef Shape::RealVector | RealVector |
typedef RealVector::Component | Scalar |
typedef RealPoint | Argument |
typedef Scalar | Quantity |
typedef Quantity | Value |
Public Member Functions | |
ShapeMeanCurvatureFunctor (ConstAlias< Shape > aShape=0) | |
void | attach (ConstAlias< Shape > aShape) |
Quantity | operator() (const RealPoint &p) const |
Private Attributes | |
CountedConstPtrOrConstPtr< Shape > | myShape |
The shape of interest. More... | |
Aim: A functor RealPoint -> Quantity that returns the mean curvature at given point.
Description of template class 'ShapeMeanCurvatureFunctor'
TShape | the type of the shape where geometric estimation are made. It must have method meanCurvature. |
Definition at line 169 of file ShapeGeometricFunctors.h.
typedef RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor< TShape >::Argument |
Definition at line 174 of file ShapeGeometricFunctors.h.
typedef Scalar DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor< TShape >::Quantity |
Definition at line 175 of file ShapeGeometricFunctors.h.
typedef Shape::RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor< TShape >::RealPoint |
Definition at line 171 of file ShapeGeometricFunctors.h.
typedef Shape::RealVector DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor< TShape >::RealVector |
Definition at line 172 of file ShapeGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor< TShape >::Scalar |
Definition at line 173 of file ShapeGeometricFunctors.h.
typedef TShape DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor< TShape >::Shape |
Definition at line 170 of file ShapeGeometricFunctors.h.
typedef Quantity DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor< TShape >::Value |
Definition at line 176 of file ShapeGeometricFunctors.h.
|
inline |
Constructor. A shape may also be attached at construction.
aShape | the shape of interest. The alias can be secured if a some counted pointer is handed. |
Definition at line 184 of file ShapeGeometricFunctors.h.
|
inline |
Attach a shape.
aShape | the shape of interest. The alias can be secured if a some counted pointer is handed. |
Definition at line 192 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor< TShape >::myShape.
|
inline |
Map operator RealPoint -> Quantity giving the mean curvature.
p | any point on the shape. |
Definition at line 202 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor< TShape >::myShape.
|
private |
The shape of interest.
Definition at line 209 of file ShapeGeometricFunctors.h.
Referenced by DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor< TShape >::attach(), and DGtal::functors::ShapeGeometricFunctors::ShapeMeanCurvatureFunctor< TShape >::operator()().