DGtal  0.9.4beta
Public Types | Public Member Functions | Private Attributes
DGtal::functors::IIMeanCurvature3DFunctor< TSpace > Struct Template Reference

#include <DGtal/geometry/surfaces/estimation/IIGeometricFunctors.h>

Public Types

typedef IIMeanCurvature3DFunctor< TSpace > Self
 
typedef TSpace Space
 
typedef Space::RealVector RealVector
 
typedef RealVector::Component Component
 
typedef Component Argument
 
typedef Component Quantity
 
typedef Quantity Value
 

Public Member Functions

 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 dh3
 
Quantity d8_3r
 
Quantity d_4_PIr4
 

Detailed Description

template<typename TSpace>
struct DGtal::functors::IIMeanCurvature3DFunctor< TSpace >

Aim: A functor Real -> Real that returns the 3d mean curvature by transforming the given volume. This functor is valid only in 3D space.

Description of template class 'IIMeanCurvature3DFunctor'

Template Parameters
TSpacea model of CSpace, for instance SpaceND.
See also
IntegralInvariantVolumeEstimator

Definition at line 509 of file IIGeometricFunctors.h.

Member Typedef Documentation

template<typename TSpace >
typedef Component DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::Argument

Definition at line 517 of file IIGeometricFunctors.h.

template<typename TSpace >
typedef RealVector::Component DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::Component

Definition at line 516 of file IIGeometricFunctors.h.

template<typename TSpace >
typedef Component DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::Quantity

Definition at line 518 of file IIGeometricFunctors.h.

template<typename TSpace >
typedef Space::RealVector DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::RealVector

Definition at line 515 of file IIGeometricFunctors.h.

template<typename TSpace >
typedef IIMeanCurvature3DFunctor<TSpace> DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::Self

Definition at line 513 of file IIGeometricFunctors.h.

template<typename TSpace >
typedef TSpace DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::Space

Definition at line 514 of file IIGeometricFunctors.h.

template<typename TSpace >
typedef Quantity DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::Value

Definition at line 519 of file IIGeometricFunctors.h.

Member Function Documentation

template<typename TSpace >
DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::BOOST_CONCEPT_ASSERT ( (concepts::CSpace< TSpace >)  )
template<typename TSpace >
DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::BOOST_STATIC_ASSERT ( (Space::dimension==3)  )
template<typename TSpace >
void DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::init ( Component  h,
Component  r 
)
inline

Initializes the functor with the gridstep and the ball Euclidean radius.

Parameters
hthe gridstep
rthe ball radius

Definition at line 543 of file IIGeometricFunctors.h.

References DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::d8_3r, DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::d_4_PIr4, and DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::dh3.

544  {
545  d8_3r = 8.0 / ( 3.0 * r );
546  double r2 = r * r;
547  d_4_PIr4 = 4.0 / ( M_PI * r2 * r2 );
548  dh3 = h * h * h;
549  }
template<typename TSpace >
Value DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::operator() ( const Argument arg) const
inline

Apply operator.

Parameters
argany symmetric positive matrix (covariance matrix
Returns
the curvature associated with the II area measurement.

Definition at line 530 of file IIGeometricFunctors.h.

References DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::d8_3r, DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::d_4_PIr4, and DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::dh3.

Field Documentation

template<typename TSpace >
Quantity DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::d8_3r
private
template<typename TSpace >
Quantity DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::d_4_PIr4
private
template<typename TSpace >
Quantity DGtal::functors::IIMeanCurvature3DFunctor< TSpace >::dh3
private

The documentation for this struct was generated from the following file: