DGtal 1.3.0
|
Aim: A functor RealPoint -> Quantity that returns the gaussian 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 | |
ShapeGaussianCurvatureFunctor (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 gaussian curvature at given point.
Description of template class 'ShapeGaussianCurvatureFunctor'
TShape | the type of the shape where geometric estimation are made. It must have method gaussianCurvature. |
Definition at line 221 of file ShapeGeometricFunctors.h.
typedef RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor< TShape >::Argument |
Definition at line 226 of file ShapeGeometricFunctors.h.
typedef Scalar DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor< TShape >::Quantity |
Definition at line 227 of file ShapeGeometricFunctors.h.
typedef Shape::RealPoint DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor< TShape >::RealPoint |
Definition at line 223 of file ShapeGeometricFunctors.h.
typedef Shape::RealVector DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor< TShape >::RealVector |
Definition at line 224 of file ShapeGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor< TShape >::Scalar |
Definition at line 225 of file ShapeGeometricFunctors.h.
typedef TShape DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor< TShape >::Shape |
Definition at line 222 of file ShapeGeometricFunctors.h.
typedef Quantity DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor< TShape >::Value |
Definition at line 228 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 236 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 244 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor< TShape >::myShape.
|
inline |
Map operator RealPoint -> Quantity giving the Gaussian curvature.
p | any point on the shape. |
Definition at line 254 of file ShapeGeometricFunctors.h.
References DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor< TShape >::myShape.
|
private |
The shape of interest.
Definition at line 261 of file ShapeGeometricFunctors.h.
Referenced by DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor< TShape >::attach(), and DGtal::functors::ShapeGeometricFunctors::ShapeGaussianCurvatureFunctor< TShape >::operator()().