DGtal
1.4.2
|
Aim: A functor RealPoint -> RealVector that returns the first principal direction at given point (i.e. direction of 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 RealVector | Quantity |
typedef Quantity | Value |
Public Member Functions | |
ShapeFirstPrincipalDirectionFunctor (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 first principal direction at given point (i.e. direction of smallest principal curvature).
Description of template class 'ShapeFirstPrincipalDirectionFunctor'
TShape | the type of the shape where geometric estimation are made. It must have method principalDirections. |
Definition at line 385 of file ShapeGeometricFunctors.h.
typedef RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor< TShape >::Argument |
Definition at line 390 of file ShapeGeometricFunctors.h.
typedef RealVector DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor< TShape >::Quantity |
Definition at line 391 of file ShapeGeometricFunctors.h.
typedef Shape::RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor< TShape >::RealPoint |
Definition at line 387 of file ShapeGeometricFunctors.h.
typedef Shape::RealVector DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor< TShape >::RealVector |
Definition at line 388 of file ShapeGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor< TShape >::Scalar |
Definition at line 389 of file ShapeGeometricFunctors.h.
typedef TShape DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor< TShape >::Shape |
Definition at line 386 of file ShapeGeometricFunctors.h.
typedef Quantity DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor< TShape >::Value |
Definition at line 392 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 400 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 409 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor< TShape >::myShape.
|
inline |
Map operator RealPoint -> Scalar giving the first principal direction (i.e. direction of first/smallest principal curvature).
p | any point on the shape. |
Definition at line 419 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor< TShape >::myShape.
|
private |
The shape of interest.
Definition at line 428 of file ShapeGeometricFunctors.h.
Referenced by DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor< TShape >::attach(), and DGtal::functors::ShapeGeometricFunctors::ShapeFirstPrincipalDirectionFunctor< TShape >::operator()().