DGtal 1.3.0
|
Aim: A trivial embedder for signed and unsigned cell, which corresponds to the canonic injection of cell centroids into Rn. More...
#include <DGtal/topology/CanonicCellEmbedder.h>
Public Types | |
typedef CanonicCellEmbedder< TKSpace > | Self |
typedef TKSpace | KSpace |
typedef KSpace::Cell | Cell |
typedef KSpace::Space | Space |
typedef Space::RealPoint | RealPoint |
typedef Cell | Argument |
typedef RealPoint | Value |
typedef Space::Integer | Integer |
typedef Space::Point | Point |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CPreCellularGridSpaceND< TKSpace >)) | |
~CanonicCellEmbedder () | |
CanonicCellEmbedder () | |
CanonicCellEmbedder (ConstAlias< KSpace > aKSpace) | |
CanonicCellEmbedder (const Self &other) | |
Self & | operator= (const Self &other) |
const KSpace & | space () const |
RealPoint | embed (const Cell &cell) const |
RealPoint | operator() (const Cell &cell) const |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Protected Attributes | |
const KSpace * | myKSpace |
Aim: A trivial embedder for signed and unsigned cell, which corresponds to the canonic injection of cell centroids into Rn.
Description of class 'CanonicCellEmbedder'
Model of CCellEmbedder.
TKSpace | the type of cellular grid space where the embedder works, a model of CPreCellularGridSpaceND. |
Definition at line 65 of file CanonicCellEmbedder.h.
typedef Cell DGtal::CanonicCellEmbedder< TKSpace >::Argument |
Definition at line 75 of file CanonicCellEmbedder.h.
typedef KSpace::Cell DGtal::CanonicCellEmbedder< TKSpace >::Cell |
Definition at line 72 of file CanonicCellEmbedder.h.
typedef Space::Integer DGtal::CanonicCellEmbedder< TKSpace >::Integer |
Definition at line 78 of file CanonicCellEmbedder.h.
typedef TKSpace DGtal::CanonicCellEmbedder< TKSpace >::KSpace |
Definition at line 71 of file CanonicCellEmbedder.h.
typedef Space::Point DGtal::CanonicCellEmbedder< TKSpace >::Point |
Definition at line 79 of file CanonicCellEmbedder.h.
typedef Space::RealPoint DGtal::CanonicCellEmbedder< TKSpace >::RealPoint |
Definition at line 74 of file CanonicCellEmbedder.h.
typedef CanonicCellEmbedder<TKSpace> DGtal::CanonicCellEmbedder< TKSpace >::Self |
Definition at line 68 of file CanonicCellEmbedder.h.
typedef KSpace::Space DGtal::CanonicCellEmbedder< TKSpace >::Space |
Definition at line 73 of file CanonicCellEmbedder.h.
typedef RealPoint DGtal::CanonicCellEmbedder< TKSpace >::Value |
Definition at line 76 of file CanonicCellEmbedder.h.
DGtal::CanonicCellEmbedder< TKSpace >::~CanonicCellEmbedder | ( | ) |
Destructor. Nothing special.
DGtal::CanonicCellEmbedder< TKSpace >::CanonicCellEmbedder | ( | ) |
Default constructor. The object is not valid.
DGtal::CanonicCellEmbedder< TKSpace >::CanonicCellEmbedder | ( | ConstAlias< KSpace > | aKSpace | ) |
Constructor from space.
DGtal::CanonicCellEmbedder< TKSpace >::CanonicCellEmbedder | ( | const Self & | other | ) |
Copy constructor.
other | the object to clone. |
DGtal::CanonicCellEmbedder< TKSpace >::BOOST_CONCEPT_ASSERT | ( | (concepts::CPreCellularGridSpaceND< TKSpace >) | ) |
RealPoint DGtal::CanonicCellEmbedder< TKSpace >::embed | ( | const Cell & | cell | ) | const |
Map a unsigned cell to its corresponding point in the Euclidean space.
cell | any unsigned cell in the digital space. |
bool DGtal::CanonicCellEmbedder< TKSpace >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
RealPoint DGtal::CanonicCellEmbedder< TKSpace >::operator() | ( | const Cell & | cell | ) | const |
Map a unsigned cell to its corresponding point in the Euclidean space.
cell | any unsigned cell in the digital space. |
Self & DGtal::CanonicCellEmbedder< TKSpace >::operator= | ( | const Self & | other | ) |
Assignment.
other | the object to clone. |
void DGtal::CanonicCellEmbedder< TKSpace >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
const KSpace & DGtal::CanonicCellEmbedder< TKSpace >::space | ( | ) | const |
|
protected |
Definition at line 151 of file CanonicCellEmbedder.h.