DGtal 1.3.0
|
Aim: A functor Matrix -> std::pair<RealVector,RealVector> that returns the first and the second principal curvature directions 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 IIPrincipalDirectionsFunctor< TSpace > | Self |
typedef TSpace | Space |
typedef Space::RealVector | RealVector |
typedef RealVector::Component | Component |
typedef TMatrix | Matrix |
typedef Matrix | Argument |
typedef std::pair< RealVector, 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)) | |
IIPrincipalDirectionsFunctor () | |
Default constructor. More... | |
IIPrincipalDirectionsFunctor (const Self &) | |
Copy constructor. Nothing to do. More... | |
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. More... | |
RealVector | eigenValues |
A data member only used for temporary calculations. More... | |
Aim: A functor Matrix -> std::pair<RealVector,RealVector> that returns the first and the second principal curvature directions 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 'IIPrincipalDirectionsFunctor'
TSpace | a model of CSpace, for instance SpaceND. |
TMatrix | a model of CMatrix, for instance SimpleMatrix. |
Definition at line 376 of file IIGeometricFunctors.h.
typedef Matrix DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::Argument |
Definition at line 385 of file IIGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::Component |
Definition at line 383 of file IIGeometricFunctors.h.
typedef TMatrix DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::Matrix |
Definition at line 384 of file IIGeometricFunctors.h.
typedef std::pair<RealVector,RealVector> DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::Quantity |
Definition at line 386 of file IIGeometricFunctors.h.
typedef Space::RealVector DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::RealVector |
Definition at line 382 of file IIGeometricFunctors.h.
typedef IIPrincipalDirectionsFunctor<TSpace> DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::Self |
Definition at line 380 of file IIGeometricFunctors.h.
typedef TSpace DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::Space |
Definition at line 381 of file IIGeometricFunctors.h.
typedef Quantity DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::Value |
Definition at line 387 of file IIGeometricFunctors.h.
|
inline |
|
inline |
DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CMatrix< Matrix >) | ) |
DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CSpace< TSpace >) | ) |
DGtal::functors::IIPrincipalDirectionsFunctor< 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 431 of file IIGeometricFunctors.h.
|
inline |
Apply operator.
arg | any symmetric positive matrix (covariance matrix |
Definition at line 408 of file IIGeometricFunctors.h.
References DGtal::SpaceND< dim, TInteger >::dimension, DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::eigenValues, and DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::eigenVectors.
|
inline |
Assignment. Nothing to do.
Definition at line 399 of file IIGeometricFunctors.h.
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 437 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 435 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IIPrincipalDirectionsFunctor< TSpace, TMatrix >::operator()().