DGtal
0.6.devel
|
#include <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 (const DigitalSurface &digSurf, const NormalVectorEstimator &estimator, const 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 |
const NormalVectorEstimator & | myPtrFct |
const Embedder & | myPtrEmbedder |
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 69 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef DigitalSurface::ConstIterator DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::ConstIterator |
Definition at line 76 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef TDigitalSurface DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::DigitalSurface |
Definition at line 73 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef TEmbedder DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::Embedder |
Definition at line 75 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef TNormalVectorEstimator DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::NormalVectorEstimator |
Definition at line 74 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef DigitalSurface::KSpace::Point DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::Point |
Definition at line 77 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef NormalVectorEstimator::Quantity DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::Quantity |
Definition at line 80 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef DigitalSurface::KSpace::Space::RealPoint DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::RealPoint |
Definition at line 78 of file NormalVectorEstimatorLinearCellEmbedder.h.
typedef DigitalSurface::KSpace::Space::RealVector DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::RealVector |
Definition at line 79 of file NormalVectorEstimatorLinearCellEmbedder.h.
|
inline |
Constructor.
digSurf | any digital surface. |
estimator | an normal vector estimator |
e | a digital embedder (like a GaussDigitizer). |
Definition at line 52 of file NormalVectorEstimatorLinearCellEmbedder.ih.
|
inline |
|
protected |
|
inline |
Maps a digital point to its corresponding point in the Euclidean space.
p | any digital point in the digital space. |
Definition at line 64 of file NormalVectorEstimatorLinearCellEmbedder.ih.
Referenced by DGtal::NormalVectorEstimatorLinearCellEmbedder< TDigitalSurface, TNormalVectorEstimator, TEmbedder >::embed().
|
inline |
Maps a digital surface surfel defined by an iterator into its corresponding point in the Euclidean space.
it | any iterator on surface surfel. |
Definition at line 74 of file NormalVectorEstimatorLinearCellEmbedder.ih.
|
inline |
Maps a digital point to its corresponding embedding position and gradient vector in the Euclidean space.
p | 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. |
Definition at line 89 of file NormalVectorEstimatorLinearCellEmbedder.ih.
|
inline |
Checks the validity/consistency of the object.
Definition at line 122 of file NormalVectorEstimatorLinearCellEmbedder.ih.
|
inline |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
Definition at line 109 of file NormalVectorEstimatorLinearCellEmbedder.ih.
|
private |
A pointer on the digital embedder.
Definition at line 157 of file NormalVectorEstimatorLinearCellEmbedder.h.
|
private |
A pointer on the normal vector estimator.
Definition at line 155 of file NormalVectorEstimatorLinearCellEmbedder.h.
|
private |
A pointer on the digital surface.
Definition at line 153 of file NormalVectorEstimatorLinearCellEmbedder.h.