DGtal
1.5.beta
|
Aim: A functor RealPoint -> RealVector that returns the second principal direction at given point (i.e. direction of second/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 RealVector | Quantity |
typedef Quantity | Value |
Public Member Functions | |
ShapeSecondPrincipalDirectionFunctor (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 -> RealVector that returns the second principal direction at given point (i.e. direction of second/greatest principal curvature).
Description of template class 'ShapeSecondPrincipalDirectionFunctor'
TShape | the type of the shape where geometric estimation are made. It must have method principalDirections. |
Definition at line 442 of file ShapeGeometricFunctors.h.
typedef RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor< TShape >::Argument |
Definition at line 447 of file ShapeGeometricFunctors.h.
typedef RealVector DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor< TShape >::Quantity |
Definition at line 448 of file ShapeGeometricFunctors.h.
typedef Shape::RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor< TShape >::RealPoint |
Definition at line 444 of file ShapeGeometricFunctors.h.
typedef Shape::RealVector DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor< TShape >::RealVector |
Definition at line 445 of file ShapeGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor< TShape >::Scalar |
Definition at line 446 of file ShapeGeometricFunctors.h.
typedef TShape DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor< TShape >::Shape |
Definition at line 443 of file ShapeGeometricFunctors.h.
typedef Quantity DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor< TShape >::Value |
Definition at line 449 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 457 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 466 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor< TShape >::myShape.
|
inline |
Map operator RealPoint -> Scalar giving the second principal direction (i.e. direction of second/greatest principal curvature).
p | any point on the shape. |
Definition at line 476 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor< TShape >::myShape.
|
private |
The shape of interest.
Definition at line 485 of file ShapeGeometricFunctors.h.
Referenced by DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor< TShape >::attach(), and DGtal::functors::ShapeGeometricFunctors::ShapeSecondPrincipalDirectionFunctor< TShape >::operator()().