DGtal
0.9.3
|
#include <DGtal/geometry/surfaces/estimation/IIGeometricFunctors.h>
Public Types | |
typedef IITangentDirectionFunctor< 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::CSpace< TSpace >)) | |
BOOST_STATIC_ASSERT ((Space::dimension==2)) | |
IITangentDirectionFunctor () | |
IITangentDirectionFunctor (const Self &) | |
Self & | operator= (const Self &) |
Value | operator() (const Argument &arg) const |
Private Attributes | |
Matrix | eigenVectors |
RealVector | eigenValues |
Aim: A functor Matrix -> RealVector that returns the tangent direction by diagonalizing the given covariance matrix. This functor is valid only in 2D space.
Description of template class 'IITangentDirectionFunctor'
TSpace | a model of CSpace, for instance SpaceND. |
TMatrix | a model of CMatrix, for instance SimpleMatrix. |
Definition at line 139 of file IIGeometricFunctors.h.
typedef Matrix DGtal::functors::IITangentDirectionFunctor< TSpace, TMatrix >::Argument |
Definition at line 148 of file IIGeometricFunctors.h.
typedef RealVector::Component DGtal::functors::IITangentDirectionFunctor< TSpace, TMatrix >::Component |
Definition at line 146 of file IIGeometricFunctors.h.
typedef TMatrix DGtal::functors::IITangentDirectionFunctor< TSpace, TMatrix >::Matrix |
Definition at line 147 of file IIGeometricFunctors.h.
typedef RealVector DGtal::functors::IITangentDirectionFunctor< TSpace, TMatrix >::Quantity |
Definition at line 149 of file IIGeometricFunctors.h.
typedef Space::RealVector DGtal::functors::IITangentDirectionFunctor< TSpace, TMatrix >::RealVector |
Definition at line 145 of file IIGeometricFunctors.h.
typedef IITangentDirectionFunctor<TSpace> DGtal::functors::IITangentDirectionFunctor< TSpace, TMatrix >::Self |
Definition at line 143 of file IIGeometricFunctors.h.
typedef TSpace DGtal::functors::IITangentDirectionFunctor< TSpace, TMatrix >::Space |
Definition at line 144 of file IIGeometricFunctors.h.
typedef Quantity DGtal::functors::IITangentDirectionFunctor< TSpace, TMatrix >::Value |
Definition at line 150 of file IIGeometricFunctors.h.
|
inline |
|
inline |
DGtal::functors::IITangentDirectionFunctor< TSpace, TMatrix >::BOOST_CONCEPT_ASSERT | ( | (concepts::CSpace< TSpace >) | ) |
DGtal::functors::IITangentDirectionFunctor< TSpace, TMatrix >::BOOST_STATIC_ASSERT | ( | (Space::dimension==2) | ) |
|
inline |
Apply operator.
arg | any symmetric positive matrix (covariance matrix |
Definition at line 171 of file IIGeometricFunctors.h.
References DGtal::SpaceND< dim, TInteger >::dimension, DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::eigenValues, DGtal::functors::IINormalDirectionFunctor< TSpace, TMatrix >::eigenVectors, and DGtal::EigenDecomposition< TN, TComponent, TMatrix >::getEigenDecomposition().
|
inline |
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 191 of file IIGeometricFunctors.h.
|
mutableprivate |
A data member only used for temporary calculations.
Definition at line 189 of file IIGeometricFunctors.h.