DGtal 1.4.0
|
Aim: A functor Matrix -> Real that returns the second principal curvature value by diagonalizing the given covariance matrix. This functor is valid starting from 3D space. Note that by second we mean the value with second greatest curvature in absolute value. More...
#include <DGtal/geometry/surfaces/estimation/IIGeometricFunctors.h>
Public Types | |
typedef IISecondPrincipalCurvature3DFunctor< 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 second principal curvature value by diagonalizing the given covariance matrix. This functor is valid starting from 3D space. Note that by second we mean the value with second greatest curvature in absolute value.
Description of template class 'IISecondPrincipalCurvature3DFunctor'
TSpace | a model of CSpace, for instance SpaceND. |
TMatrix | a model of CMatrix, for instance SimpleMatrix. |
Definition at line 831 of file IIGeometricFunctors.h.
typedef Matrix DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::Argument |
Definition at line 840 of file IIGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::Component |
Definition at line 838 of file IIGeometricFunctors.h.
typedef TMatrix DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::Matrix |
Definition at line 839 of file IIGeometricFunctors.h.
typedef Component DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::Quantity |
Definition at line 841 of file IIGeometricFunctors.h.
typedef Space::RealVector DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::RealVector |
Definition at line 837 of file IIGeometricFunctors.h.
typedef IISecondPrincipalCurvature3DFunctor<TSpace> DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::Self |
Definition at line 835 of file IIGeometricFunctors.h.
typedef TSpace DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::Space |
Definition at line 836 of file IIGeometricFunctors.h.
typedef Quantity DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::Value |
Definition at line 842 of file IIGeometricFunctors.h.
DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CMatrix< Matrix >) | ) |
DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CSpace< TSpace >) | ) |
DGtal::functors::IISecondPrincipalCurvature3DFunctor< 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 875 of file IIGeometricFunctors.h.
References DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::d6_PIr6, DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::d8_5r, and DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::dh5.
|
inline |
Apply operator.
arg | any symmetric positive matrix (covariance matrix |
Definition at line 855 of file IIGeometricFunctors.h.
References DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::d6_PIr6, DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::d8_5r, DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::dh5, DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::eigenValues, and DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::eigenVectors.
|
private |
Definition at line 887 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
private |
Definition at line 888 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
private |
Definition at line 886 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::init(), and DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 893 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 891 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IISecondPrincipalCurvature3DFunctor< TSpace, TMatrix >::operator()().