DGtal
1.4.2
|
Aim: A functor Matrix -> std::pair<Real,Real> that returns the first and the second principal curvature value by diagonalizing the given covariance matrix. This functor is valid starting from 3D space. Note that by first we mean the value with first greatest curvature in absolute value. More...
#include <DGtal/geometry/surfaces/estimation/IIGeometricFunctors.h>
Public Types | |
typedef IIPrincipalCurvatures3DFunctor< TSpace > | Self |
typedef TSpace | Space |
typedef Space::RealVector | RealVector |
typedef RealVector::Component | Component |
typedef TMatrix | Matrix |
typedef Matrix | Argument |
typedef std::pair< Component, 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 | |
double | dh5 |
double | d6_PIr6 |
double | 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 -> std::pair<Real,Real> that returns the first and the second principal curvature value by diagonalizing the given covariance matrix. This functor is valid starting from 3D space. Note that by first we mean the value with first greatest curvature in absolute value.
Description of template class 'IIPrincipalCurvatures3DFunctor'
TSpace | a model of CSpace, for instance SpaceND. |
TMatrix | a model of CMatrix, for instance SimpleMatrix. |
Definition at line 912 of file IIGeometricFunctors.h.
typedef Matrix DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::Argument |
Definition at line 921 of file IIGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::Component |
Definition at line 919 of file IIGeometricFunctors.h.
typedef TMatrix DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::Matrix |
Definition at line 920 of file IIGeometricFunctors.h.
typedef std::pair<Component, Component> DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::Quantity |
Definition at line 922 of file IIGeometricFunctors.h.
typedef Space::RealVector DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::RealVector |
Definition at line 918 of file IIGeometricFunctors.h.
typedef IIPrincipalCurvatures3DFunctor<TSpace> DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::Self |
Definition at line 916 of file IIGeometricFunctors.h.
typedef TSpace DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::Space |
Definition at line 917 of file IIGeometricFunctors.h.
typedef Quantity DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::Value |
Definition at line 923 of file IIGeometricFunctors.h.
DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CMatrix< Matrix >) | ) |
DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CSpace< TSpace >) | ) |
DGtal::functors::IIPrincipalCurvatures3DFunctor< 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 960 of file IIGeometricFunctors.h.
References DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::d6_PIr6, DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::d8_5r, and DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::dh5.
|
inline |
Apply operator.
arg | any symmetric positive matrix (covariance matrix |
Definition at line 937 of file IIGeometricFunctors.h.
References DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::d6_PIr6, DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::d8_5r, DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::dh5, DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::eigenValues, DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::eigenVectors, and DGtal::EigenDecomposition< TN, TComponent, TMatrix >::getEigenDecomposition().
|
private |
Definition at line 972 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::operator()().
|
private |
Definition at line 973 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::operator()().
|
private |
Definition at line 971 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 978 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 976 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIPrincipalCurvatures3DFunctor< TSpace, TMatrix >::operator()().