DGtal 1.4.0
|
Aim: A functor Matrix -> RealVector that returns the second principal curvature direction by diagonalizing the given covariance matrix. This functor is valid starting from 3D space. Note that by second we mean the direction with second greatest curvature in absolute value. More...
#include <DGtal/geometry/surfaces/estimation/IIGeometricFunctors.h>
Public Types | |
typedef IISecondPrincipalDirectionFunctor< TSpace > | Self |
typedef TSpace | Space |
typedef Space::RealVector | RealVector |
typedef RealVector::Component | Component |
typedef TMatrix | Matrix |
typedef Matrix | Argument |
typedef RealVector | 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)) | |
IISecondPrincipalDirectionFunctor () | |
Default constructor. | |
IISecondPrincipalDirectionFunctor (const Self &) | |
Copy constructor. Nothing to do. | |
Self & | operator= (const Self &) |
Value | operator() (const Argument &arg) const |
void | init (Component, Component) |
Private Attributes | |
Matrix | eigenVectors |
A data member only used for temporary calculations. | |
RealVector | eigenValues |
A data member only used for temporary calculations. | |
Aim: A functor Matrix -> RealVector that returns the second principal curvature direction by diagonalizing the given covariance matrix. This functor is valid starting from 3D space. Note that by second we mean the direction with second greatest curvature in absolute value.
Description of template class 'IISecondPrincipalDirectionFunctor'
TSpace | a model of CSpace, for instance SpaceND. |
TMatrix | a model of CMatrix, for instance SimpleMatrix. |
Definition at line 298 of file IIGeometricFunctors.h.
typedef Matrix DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::Argument |
Definition at line 307 of file IIGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::Component |
Definition at line 305 of file IIGeometricFunctors.h.
typedef TMatrix DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::Matrix |
Definition at line 306 of file IIGeometricFunctors.h.
typedef RealVector DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::Quantity |
Definition at line 308 of file IIGeometricFunctors.h.
typedef Space::RealVector DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::RealVector |
Definition at line 304 of file IIGeometricFunctors.h.
typedef IISecondPrincipalDirectionFunctor<TSpace> DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::Self |
Definition at line 302 of file IIGeometricFunctors.h.
typedef TSpace DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::Space |
Definition at line 303 of file IIGeometricFunctors.h.
typedef Quantity DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::Value |
Definition at line 309 of file IIGeometricFunctors.h.
|
inline |
|
inline |
DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CMatrix< Matrix >) | ) |
DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CSpace< TSpace >) | ) |
DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::BOOST_STATIC_ASSERT | ( | (Space::dimension >=3) | ) |
|
inline |
Initializes the functor with the gridstep and the ball Euclidean radius. Not used for this estimator.
Definition at line 350 of file IIGeometricFunctors.h.
|
inline |
Apply operator.
arg | any symmetric positive matrix (covariance matrix |
Definition at line 330 of file IIGeometricFunctors.h.
References DGtal::SpaceND< dim, TInteger >::dimension, DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::eigenValues, and DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::eigenVectors.
|
inline |
Assignment. Nothing to do.
Definition at line 321 of file IIGeometricFunctors.h.
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 356 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 354 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IISecondPrincipalDirectionFunctor< TSpace, TMatrix >::operator()().