DGtal 1.4.0
|
Aim: A trivial embedder for digital surfaces, which corresponds to the canonic injection of cell centroids into Rn. More...
#include <DGtal/topology/CanonicDigitalSurfaceEmbedder.h>
Public Types | |
typedef CanonicDigitalSurfaceEmbedder< TDigitalSurface > | Self |
typedef TDigitalSurface | Surface |
typedef Surface::KSpace | KSpace |
typedef KSpace::SCell | SCell |
typedef KSpace::Space | Space |
typedef Space::RealPoint | RealPoint |
typedef SCell | Argument |
typedef RealPoint | Value |
typedef Space::Integer | Integer |
typedef Space::Point | Point |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CCellularGridSpaceND< KSpace >)) | |
~CanonicDigitalSurfaceEmbedder () | |
CanonicDigitalSurfaceEmbedder () | |
CanonicDigitalSurfaceEmbedder (ConstAlias< Surface > aSurface) | |
CanonicDigitalSurfaceEmbedder (const Self &other) | |
Self & | operator= (const Self &other) |
const KSpace & | space () const |
const Surface & | surface () const |
RealPoint | embed (const SCell &cell) const |
RealPoint | operator() (const SCell &cell) const |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Protected Attributes | |
const Surface * | mySurface |
Aim: A trivial embedder for digital surfaces, which corresponds to the canonic injection of cell centroids into Rn.
Description of class 'CanonicDigitalSurfaceEmbedder'
Model of CCanonicDigitalSurfaceEmbedder (and thus of CSCellEmbedder).
TDigitalSurface | the type of digital surface where the embedder works. |
Definition at line 65 of file CanonicDigitalSurfaceEmbedder.h.
typedef SCell DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::Argument |
Definition at line 76 of file CanonicDigitalSurfaceEmbedder.h.
typedef Space::Integer DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::Integer |
Definition at line 79 of file CanonicDigitalSurfaceEmbedder.h.
typedef Surface::KSpace DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::KSpace |
Definition at line 71 of file CanonicDigitalSurfaceEmbedder.h.
typedef Space::Point DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::Point |
Definition at line 80 of file CanonicDigitalSurfaceEmbedder.h.
typedef Space::RealPoint DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::RealPoint |
Definition at line 75 of file CanonicDigitalSurfaceEmbedder.h.
typedef KSpace::SCell DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::SCell |
Definition at line 73 of file CanonicDigitalSurfaceEmbedder.h.
typedef CanonicDigitalSurfaceEmbedder<TDigitalSurface> DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::Self |
Definition at line 68 of file CanonicDigitalSurfaceEmbedder.h.
typedef KSpace::Space DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::Space |
Definition at line 74 of file CanonicDigitalSurfaceEmbedder.h.
typedef TDigitalSurface DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::Surface |
Definition at line 70 of file CanonicDigitalSurfaceEmbedder.h.
typedef RealPoint DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::Value |
Definition at line 77 of file CanonicDigitalSurfaceEmbedder.h.
DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::~CanonicDigitalSurfaceEmbedder | ( | ) |
Destructor. Nothing special.
DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::CanonicDigitalSurfaceEmbedder | ( | ) |
Default constructor. The object is not valid.
DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::CanonicDigitalSurfaceEmbedder | ( | ConstAlias< Surface > | aSurface | ) |
Constructor from surface.
DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::CanonicDigitalSurfaceEmbedder | ( | const Self & | other | ) |
Copy constructor.
other | the object to clone. |
DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::BOOST_CONCEPT_ASSERT | ( | (concepts::CCellularGridSpaceND< KSpace >) | ) |
RealPoint DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::embed | ( | const SCell & | cell | ) | const |
Map a signed cell to its corresponding point in the Euclidean space.
cell | any signed cell in the digital space. |
bool DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
RealPoint DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::operator() | ( | const SCell & | cell | ) | const |
Map a signed cell to its corresponding point in the Euclidean space.
cell | any signed cell in the digital space. |
Self & DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::operator= | ( | const Self & | other | ) |
Assignment.
other | the object to clone. |
void DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::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 115 of file CanonicDigitalSurfaceEmbedder.h.
References DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::mySurface.
const Surface & DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::surface | ( | ) | const |
|
protected |
Definition at line 162 of file CanonicDigitalSurfaceEmbedder.h.
Referenced by DGtal::CanonicDigitalSurfaceEmbedder< TDigitalSurface >::space().