DGtal
1.5.beta
|
Aim: A functor Matrix -> Real that returns the first 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 IIFirstPrincipalCurvature3DFunctor< 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. More... | |
RealVector | eigenValues |
A data member only used for temporary calculations. More... | |
Aim: A functor Matrix -> Real that returns the first 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 'IIFirstPrincipalCurvature3DFunctor'
TSpace | a model of CSpace, for instance SpaceND. |
TMatrix | a model of CMatrix, for instance SimpleMatrix. |
Definition at line 749 of file IIGeometricFunctors.h.
typedef Matrix DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::Argument |
Definition at line 758 of file IIGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::Component |
Definition at line 756 of file IIGeometricFunctors.h.
typedef TMatrix DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::Matrix |
Definition at line 757 of file IIGeometricFunctors.h.
typedef Component DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::Quantity |
Definition at line 759 of file IIGeometricFunctors.h.
typedef Space::RealVector DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::RealVector |
Definition at line 755 of file IIGeometricFunctors.h.
typedef IIFirstPrincipalCurvature3DFunctor<TSpace> DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::Self |
Definition at line 753 of file IIGeometricFunctors.h.
typedef TSpace DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::Space |
Definition at line 754 of file IIGeometricFunctors.h.
typedef Quantity DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::Value |
Definition at line 760 of file IIGeometricFunctors.h.
DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CMatrix< Matrix >) | ) |
DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CSpace< TSpace >) | ) |
DGtal::functors::IIFirstPrincipalCurvature3DFunctor< 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 794 of file IIGeometricFunctors.h.
References DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::d6_PIr6, DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::d8_5r, and DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::dh5.
|
inline |
Apply operator.
arg | any symmetric positive matrix (covariance matrix |
Definition at line 773 of file IIGeometricFunctors.h.
References DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::d6_PIr6, DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::d8_5r, DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::dh5, DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::eigenValues, DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::eigenVectors, and DGtal::EigenDecomposition< TN, TComponent, TMatrix >::getEigenDecomposition().
|
private |
Definition at line 806 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
private |
Definition at line 807 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
private |
Definition at line 805 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 812 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 810 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIFirstPrincipalCurvature3DFunctor< TSpace, TMatrix >::operator()().