DGtal 1.4.0
|
Aim: A functor Matrix -> Real that returns the Gaussian curvature by diagonalizing the given covariance matrix. This functor is valid starting from 3D space. Note that the Gaussian curvature is computed by multiplying the two gretest curvature values in absolute value. More...
#include <DGtal/geometry/surfaces/estimation/IIGeometricFunctors.h>
Public Types | |
typedef IIGaussianCurvature3DFunctor< TSpace > | Self |
typedef TSpace | Space |
typedef Space::RealVector | RealVector |
typedef RealVector::Component | Component |
typedef TMatrix | Matrix |
typedef Matrix | Argument |
typedef Component | Quantity |
typedef Quantity | Value |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CMatrix< Matrix >)) | |
BOOST_CONCEPT_ASSERT ((concepts::CSpace< TSpace >)) | |
BOOST_STATIC_ASSERT ((Space::dimension==3)) | |
Value | operator() (const Argument &arg) const |
void | init (Component h, Component r) |
Private Attributes | |
Quantity | dh5 |
Quantity | d6_PIr6 |
Quantity | d8_5r |
Matrix | eigenVectors |
A data member only used for temporary calculations. | |
RealVector | eigenValues |
A data member only used for temporary calculations. | |
Aim: A functor Matrix -> Real that returns the Gaussian curvature by diagonalizing the given covariance matrix. This functor is valid starting from 3D space. Note that the Gaussian curvature is computed by multiplying the two gretest curvature values in absolute value.
Description of template class 'IIGaussianCurvature3DFunctor'
TSpace | a model of CSpace, for instance SpaceND. |
TMatrix | a model of CMatrix, for instance SimpleMatrix. |
Definition at line 666 of file IIGeometricFunctors.h.
typedef Matrix DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Argument |
Definition at line 675 of file IIGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Component |
Definition at line 673 of file IIGeometricFunctors.h.
typedef TMatrix DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Matrix |
Definition at line 674 of file IIGeometricFunctors.h.
typedef Component DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Quantity |
Definition at line 676 of file IIGeometricFunctors.h.
typedef Space::RealVector DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::RealVector |
Definition at line 672 of file IIGeometricFunctors.h.
typedef IIGaussianCurvature3DFunctor<TSpace> DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Self |
Definition at line 670 of file IIGeometricFunctors.h.
typedef TSpace DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Space |
Definition at line 671 of file IIGeometricFunctors.h.
typedef Quantity DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Value |
Definition at line 677 of file IIGeometricFunctors.h.
DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CMatrix< Matrix >) | ) |
DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CSpace< TSpace >) | ) |
DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::BOOST_STATIC_ASSERT | ( | (Space::dimension==3) | ) |
|
inline |
Initializes the functor with the gridstep and the ball Euclidean radius.
h | the gridstep |
r | the ball radius |
Definition at line 712 of file IIGeometricFunctors.h.
References DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::d6_PIr6, DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::d8_5r, and DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::dh5.
|
inline |
Apply operator.
arg | any symmetric positive matrix (covariance matrix |
Definition at line 690 of file IIGeometricFunctors.h.
References DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::d6_PIr6, DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::d8_5r, DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::dh5, DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::eigenValues, and DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::eigenVectors.
|
private |
Definition at line 724 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
private |
Definition at line 725 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
private |
Definition at line 723 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 730 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 728 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::operator()().