DGtal
1.5.beta
|
Aim: A functor RealPoint -> Quantity that returns the first principal curvature at given point (i.e. smallest principal curvature). 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 | |
ShapeFirstPrincipalCurvatureFunctor (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 first principal curvature at given point (i.e. smallest principal curvature).
Description of template class 'ShapeFirstPrincipalCurvatureFunctor'
TShape | the type of the shape where geometric estimation are made. It must have method principalCurvatures. |
Definition at line 273 of file ShapeGeometricFunctors.h.
typedef RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor< TShape >::Argument |
Definition at line 278 of file ShapeGeometricFunctors.h.
typedef Scalar DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor< TShape >::Quantity |
Definition at line 279 of file ShapeGeometricFunctors.h.
typedef Shape::RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor< TShape >::RealPoint |
Definition at line 275 of file ShapeGeometricFunctors.h.
typedef Shape::RealVector DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor< TShape >::RealVector |
Definition at line 276 of file ShapeGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor< TShape >::Scalar |
Definition at line 277 of file ShapeGeometricFunctors.h.
typedef TShape DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor< TShape >::Shape |
Definition at line 274 of file ShapeGeometricFunctors.h.
typedef Quantity DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor< TShape >::Value |
Definition at line 280 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 288 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 297 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor< TShape >::myShape.
|
inline |
Map operator RealPoint -> Quantity giving the first principal curvature.
p | any point on the shape. |
Definition at line 307 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor< TShape >::myShape.
|
private |
The shape of interest.
Definition at line 316 of file ShapeGeometricFunctors.h.
Referenced by DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor< TShape >::attach(), and DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalCurvatureFunctor< TShape >::operator()().