DGtal 1.3.0
|
Aim: A functor Matrix -> RealVector that returns the normal direction by diagonalizing the given covariance matrix. More...
#include <DGtal/geometry/surfaces/estimation/IIGeometricFunctors.h>
Public Types | |
typedef IINormalDirectionFunctor< 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 >)) | |
IINormalDirectionFunctor () | |
Default constructor. More... | |
IINormalDirectionFunctor (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 -> RealVector that returns the normal direction by diagonalizing the given covariance matrix.
Description of template class 'IINormalDirectionFunctor'
TSpace | a model of CSpace, for instance SpaceND. |
TMatrix | a model of CMatrix, for instance SimpleMatrix. |
Definition at line 67 of file IIGeometricFunctors.h.
typedef Matrix DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::Argument |
Definition at line 76 of file IIGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::Component |
Definition at line 74 of file IIGeometricFunctors.h.
typedef TMatrix DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::Matrix |
Definition at line 75 of file IIGeometricFunctors.h.
typedef RealVector DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::Quantity |
Definition at line 77 of file IIGeometricFunctors.h.
typedef Space::RealVector DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::RealVector |
Definition at line 73 of file IIGeometricFunctors.h.
typedef IINormalDirectionFunctor<TSpace> DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::Self |
Definition at line 71 of file IIGeometricFunctors.h.
typedef TSpace DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::Space |
Definition at line 72 of file IIGeometricFunctors.h.
typedef Quantity DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::Value |
Definition at line 78 of file IIGeometricFunctors.h.
|
inline |
|
inline |
DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CMatrix< Matrix >) | ) |
DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CSpace< TSpace >) | ) |
|
inline |
Initializes the functor with the gridstep and the ball Euclidean radius. Not used for this estimator.
Definition at line 118 of file IIGeometricFunctors.h.
|
inline |
Apply operator.
arg | any symmetric positive matrix (covariance matrix |
Definition at line 98 of file IIGeometricFunctors.h.
References DGtal::SpaceND< dim, TInteger >::dimension, DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::eigenValues, and DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::eigenVectors.
|
inline |
Assignment. Nothing to do.
Definition at line 89 of file IIGeometricFunctors.h.
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 124 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::operator()().
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 122 of file IIGeometricFunctors.h.
Referenced by DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::operator()().