DGtal 1.4.0
|
Aim: model of cellular embedder for normal vector estimators on digital surface, (default constructible, copy constructible, assignable). More...
#include <DGtal/geometry/surfaces/estimation/NormalVectorEstimatorLinearCellEmbedder.h>
Public Types | |
typedef TDigitalSurface | DigitalSurface |
typedef TNormalVectorEstimator | NormalVectorEstimator |
typedef TEmbedder | Embedder |
typedef DigitalSurface::ConstIterator | ConstIterator |
typedef DigitalSurface::KSpace::Point | Point |
typedef DigitalSurface::KSpace::Space::RealPoint | RealPoint |
typedef DigitalSurface::KSpace::Space::RealVector | RealVector |
typedef NormalVectorEstimator::Quantity | Quantity |
Public Member Functions | |
NormalVectorEstimatorLinearCellEmbedder (ConstAlias< DigitalSurface > digSurf, ConstAlias< NormalVectorEstimator > estimator, ConstAlias< Embedder > e) | |
~NormalVectorEstimatorLinearCellEmbedder () | |
RealPoint | embed (const Point &p) const |
RealPoint | embedSurfel (const ConstIterator &it) const |
void | embedSurfel (const ConstIterator &surfelIt, RealPoint &x, RealVector &grad) const |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Protected Member Functions | |
NormalVectorEstimatorLinearCellEmbedder () | |
Private Attributes | |
const DigitalSurface & | mySurface |
A pointer on the digital surface. | |
const NormalVectorEstimator & | myPtrFct |
A pointer on the normal vector estimator. | |
const Embedder & | myPtrEmbedder |
A pointer on the digital embedder. | |
Aim: model of cellular embedder for normal vector estimators on digital surface, (default constructible, copy constructible, assignable).
Description of template class 'NormalVectorEstimatorLinearCellEmbedder'
TDigitalSurface | the digital surface definition |
TNormalVectorEstimator | the type of normal vector estimator. |
TEmbedder | the type of digital embedder. |
Definition at line 70 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef DigitalSurface::ConstIterator DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::ConstIterator |
Definition at line 77 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef TDigitalSurface DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::DigitalSurface |
Definition at line 74 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef TEmbedder DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::Embedder |
Definition at line 76 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef TNormalVectorEstimator DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::NormalVectorEstimator |
Definition at line 75 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef DigitalSurface::KSpace::Point DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::Point |
Definition at line 78 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef NormalVectorEstimator::Quantity DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::Quantity |
Definition at line 81 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef DigitalSurface::KSpace::Space::RealPoint DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::RealPoint |
Definition at line 79 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef DigitalSurface::KSpace::Space::RealVector DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::RealVector |
Definition at line 80 of file NormalVectorEstimatorLinearCellEmbedder.h.
DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::NormalVectorEstimatorLinearCellEmbedder | ( | ConstAlias< DigitalSurface > | digSurf, |
ConstAlias< NormalVectorEstimator > | estimator, | ||
ConstAlias< Embedder > | e ) |
Constructor.
digSurf | any digital surface. |
estimator | an normal vector estimator |
e | a digital embedder (like a GaussDigitizer). |
DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::~NormalVectorEstimatorLinearCellEmbedder | ( | ) |
Destructor.
|
protected |
RealPoint DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::embed | ( | const Point & | p | ) | const |
Maps a digital point to its corresponding point in the Euclidean space.
p | any digital point in the digital space. |
RealPoint DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::embedSurfel | ( | const ConstIterator & | it | ) | const |
Maps a digital surface surfel defined by an iterator into its corresponding point in the Euclidean space.
it | any iterator on surface surfel. |
void DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::embedSurfel | ( | const ConstIterator & | surfelIt, |
RealPoint & | x, | ||
RealVector & | grad ) const |
Maps a digital point to its corresponding embedding position and gradient vector in the Euclidean space.
surfelIt | any digital surface surfel given by a ConstIterator. |
x | its embedding in the Euclidean space. |
grad | (returns) its gradient vector at the point given by the current embedder in the Euclidean space. |
bool DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
void DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
|
private |
A pointer on the digital embedder.
Definition at line 158 of file NormalVectorEstimatorLinearCellEmbedder.h.
|
private |
A pointer on the normal vector estimator.
Definition at line 156 of file NormalVectorEstimatorLinearCellEmbedder.h.
|
private |
A pointer on the digital surface.
Definition at line 154 of file NormalVectorEstimatorLinearCellEmbedder.h.