DGtal
1.5.beta
|
Aim: A functor RealPoint -> Quantity that returns the second principal curvature at given point (i.e. greatest 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 | |
ShapeSecondPrincipalCurvatureFunctor (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 second principal curvature at given point (i.e. greatest principal curvature).
Description of template class 'ShapeSecondPrincipalCurvatureFunctor'
TShape | the type of the shape where geometric estimation are made. It must have method principalCurvatures. |
Definition at line 328 of file ShapeGeometricFunctors.h.
typedef RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor< TShape >::Argument |
Definition at line 333 of file ShapeGeometricFunctors.h.
typedef Scalar DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor< TShape >::Quantity |
Definition at line 334 of file ShapeGeometricFunctors.h.
typedef Shape::RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor< TShape >::RealPoint |
Definition at line 330 of file ShapeGeometricFunctors.h.
typedef Shape::RealVector DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor< TShape >::RealVector |
Definition at line 331 of file ShapeGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor< TShape >::Scalar |
Definition at line 332 of file ShapeGeometricFunctors.h.
typedef TShape DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor< TShape >::Shape |
Definition at line 329 of file ShapeGeometricFunctors.h.
typedef Quantity DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor< TShape >::Value |
Definition at line 335 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 343 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 352 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor< TShape >::myShape.
|
inline |
Map operator RealPoint -> Scalar giving the second principal curvature.
p | any point on the shape. |
Definition at line 362 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor< TShape >::myShape.
|
private |
The shape of interest.
Definition at line 371 of file ShapeGeometricFunctors.h.
Referenced by DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor< TShape >::attach(), and DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalCurvatureFunctor< TShape >::operator()().