DGtal
1.0.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::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. More... | |
RealVector | eigenValues |
A data member only used for temporary calculations. More... | |
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 578 of file IIGeometricFunctors.h.
typedef Matrix DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Argument |
Definition at line 587 of file IIGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Component |
Definition at line 585 of file IIGeometricFunctors.h.
typedef TMatrix DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Matrix |
Definition at line 586 of file IIGeometricFunctors.h.
typedef Component DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Quantity |
Definition at line 588 of file IIGeometricFunctors.h.
typedef Space::RealVector DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::RealVector |
Definition at line 584 of file IIGeometricFunctors.h.
typedef IIGaussianCurvature3DFunctor<TSpace> DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Self |
Definition at line 582 of file IIGeometricFunctors.h.
typedef TSpace DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Space |
Definition at line 583 of file IIGeometricFunctors.h.
typedef Quantity DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::Value |
Definition at line 589 of file IIGeometricFunctors.h.
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 624 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 602 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, DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::eigenVectors, and DGtal::EigenDecomposition< TN, TComponent, TMatrix >::getEigenDecomposition().
|
private |
Definition at line 636 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
private |
Definition at line 637 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
private |
Definition at line 635 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 642 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 640 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIGaussianCurvature3DFunctor< TSpace, TMatrix >::operator()().