DGtal 1.4.0
|
Aim: Combines a digital surface embedder with a normal vector estimator to get a model of CDigitalSurfaceEmbedder and CWithGradientMap. (also default constructible, copy constructible, assignable). More...
#include <DGtal/geometry/surfaces/estimation/DigitalSurfaceEmbedderWithNormalVectorEstimator.h>
Public Types | |
typedef DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator > | Self |
typedef TDigitalSurfaceEmbedder | DigitalSurfaceEmbedder |
typedef TNormalVectorEstimator | NormalVectorEstimator |
typedef DigitalSurfaceEmbedder::KSpace | KSpace |
typedef DigitalSurfaceEmbedder::Surface | Surface |
typedef DigitalSurfaceEmbedder::SCell | SCell |
typedef DigitalSurfaceEmbedder::RealPoint | RealPoint |
typedef DigitalSurfaceEmbedder::Argument | Argument |
typedef DigitalSurfaceEmbedder::Value | Value |
typedef KSpace::Space | Space |
typedef Space::RealVector | RealVector |
typedef NormalVectorEstimator::Quantity | Quantity |
typedef NormalVectorEstimator::DigitalSurface | NVESurface |
typedef DigitalSurfaceEmbedderWithNormalVectorEstimatorGradientMap< DigitalSurfaceEmbedder, NormalVectorEstimator > | GradientMap |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CDigitalSurfaceEmbedder< TDigitalSurfaceEmbedder >)) | |
BOOST_STATIC_ASSERT ((concepts::ConceptUtils::SameType< RealVector, Quantity >::value)) | |
BOOST_STATIC_ASSERT ((concepts::ConceptUtils::SameType< Surface, NVESurface >::value)) | |
DigitalSurfaceEmbedderWithNormalVectorEstimator () | |
Self & | operator= (const Self &other) |
DigitalSurfaceEmbedderWithNormalVectorEstimator (ConstAlias< DigitalSurfaceEmbedder > aDSEmbedder, ConstAlias< NormalVectorEstimator > anEstimator) | |
DigitalSurfaceEmbedderWithNormalVectorEstimator (const Self &other) | |
~DigitalSurfaceEmbedderWithNormalVectorEstimator () | |
RealPoint | operator() (const SCell &scell) const |
const Surface & | surface () const |
const KSpace & | space () const |
GradientMap | gradientMap () const |
RealVector | gradient (const SCell &scell) const |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Private Attributes | |
const DigitalSurfaceEmbedder * | myDSEmbedder |
A pointer on the digital surface. | |
const NormalVectorEstimator * | myEstimator |
A pointer on the normal vector estimator. | |
Aim: Combines a digital surface embedder with a normal vector estimator to get a model of CDigitalSurfaceEmbedder and CWithGradientMap. (also default constructible, copy constructible, assignable).
Description of template class 'DigitalSurfaceEmbedderWithNormalVectorEstimator'
TDigitalSurfaceEmbedder | a model of digital surface embedder. |
TNormalVectorEstimator | the type of normal vector estimator. |
Definition at line 74 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef DigitalSurfaceEmbedder::Argument DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::Argument |
Definition at line 88 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef TDigitalSurfaceEmbedder DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::DigitalSurfaceEmbedder |
Definition at line 81 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef DigitalSurfaceEmbedderWithNormalVectorEstimatorGradientMap<DigitalSurfaceEmbedder,NormalVectorEstimator> DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::GradientMap |
Definition at line 99 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef DigitalSurfaceEmbedder::KSpace DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::KSpace |
Definition at line 84 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef TNormalVectorEstimator DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::NormalVectorEstimator |
Definition at line 82 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef NormalVectorEstimator::DigitalSurface DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::NVESurface |
Definition at line 94 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef NormalVectorEstimator::Quantity DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::Quantity |
Definition at line 93 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef DigitalSurfaceEmbedder::RealPoint DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::RealPoint |
Definition at line 87 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef Space::RealVector DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::RealVector |
Definition at line 92 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef DigitalSurfaceEmbedder::SCell DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::SCell |
Definition at line 86 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator > DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::Self |
Definition at line 78 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef KSpace::Space DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::Space |
Definition at line 91 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef DigitalSurfaceEmbedder::Surface DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::Surface |
Definition at line 85 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
typedef DigitalSurfaceEmbedder::Value DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::Value |
Definition at line 89 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::DigitalSurfaceEmbedderWithNormalVectorEstimator | ( | ) |
Default constructor. The object is not valid.
DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::DigitalSurfaceEmbedderWithNormalVectorEstimator | ( | ConstAlias< DigitalSurfaceEmbedder > | aDSEmbedder, |
ConstAlias< NormalVectorEstimator > | anEstimator ) |
Constructor.
aDSEmbedder | any digital surface embedder. |
anEstimator | a normal vector estimator |
DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::DigitalSurfaceEmbedderWithNormalVectorEstimator | ( | const Self & | other | ) |
Copy Constructor.
other | the object to clone. |
DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::~DigitalSurfaceEmbedderWithNormalVectorEstimator | ( | ) |
Destructor.
DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalSurfaceEmbedder< TDigitalSurfaceEmbedder >) | ) |
DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::BOOST_STATIC_ASSERT | ( | (concepts::ConceptUtils::SameType< RealVector, Quantity >::value) | ) |
DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::BOOST_STATIC_ASSERT | ( | (concepts::ConceptUtils::SameType< Surface, NVESurface >::value) | ) |
RealVector DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::gradient | ( | const SCell & | scell | ) | const |
scell | any signed cell in the cellular grid space. |
GradientMap DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::gradientMap | ( | ) | const |
bool DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
RealPoint DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::operator() | ( | const SCell & | scell | ) | const |
Maps a signed cell to its corresponding point in the Euclidean space. Uses the given embedder.
scell | any signed cell in the cellular grid space. |
Self & DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::operator= | ( | const Self & | other | ) |
Assignment.
other | the object to clone. |
void DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
|
inline |
Definition at line 155 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
const Surface & DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::surface | ( | ) | const |
|
private |
A pointer on the digital surface.
Definition at line 195 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.
Referenced by DGtal::DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator >::space().
|
private |
A pointer on the normal vector estimator.
Definition at line 197 of file DigitalSurfaceEmbedderWithNormalVectorEstimator.h.