DGtal
0.6.devel
|
#include <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 ((CCellularGridSpaceND< TKSpace >)) | |
~CanonicCellEmbedder () | |
CanonicCellEmbedder () | |
CanonicCellEmbedder (const 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 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 CCellularGridSpaceND. |
Definition at line 64 of file CanonicCellEmbedder.h.
typedef Cell DGtal::CanonicCellEmbedder< TKSpace >::Argument |
Definition at line 74 of file CanonicCellEmbedder.h.
typedef KSpace::Cell DGtal::CanonicCellEmbedder< TKSpace >::Cell |
Definition at line 71 of file CanonicCellEmbedder.h.
typedef Space::Integer DGtal::CanonicCellEmbedder< TKSpace >::Integer |
Definition at line 77 of file CanonicCellEmbedder.h.
typedef TKSpace DGtal::CanonicCellEmbedder< TKSpace >::KSpace |
Definition at line 70 of file CanonicCellEmbedder.h.
typedef Space::Point DGtal::CanonicCellEmbedder< TKSpace >::Point |
Definition at line 78 of file CanonicCellEmbedder.h.
typedef Space::RealPoint DGtal::CanonicCellEmbedder< TKSpace >::RealPoint |
Definition at line 73 of file CanonicCellEmbedder.h.
typedef CanonicCellEmbedder<TKSpace> DGtal::CanonicCellEmbedder< TKSpace >::Self |
Definition at line 67 of file CanonicCellEmbedder.h.
typedef KSpace::Space DGtal::CanonicCellEmbedder< TKSpace >::Space |
Definition at line 72 of file CanonicCellEmbedder.h.
typedef RealPoint DGtal::CanonicCellEmbedder< TKSpace >::Value |
Definition at line 75 of file CanonicCellEmbedder.h.
|
inline |
|
inline |
Default constructor. The object is not valid.
Definition at line 53 of file CanonicCellEmbedder.ih.
|
inline |
Constructor from space.
Definition at line 60 of file CanonicCellEmbedder.ih.
|
inline |
Copy constructor.
other | the object to clone. |
Definition at line 67 of file CanonicCellEmbedder.ih.
DGtal::CanonicCellEmbedder< TKSpace >::BOOST_CONCEPT_ASSERT | ( | (CCellularGridSpaceND< TKSpace >) | ) |
|
inline |
Map a unsigned cell to its corresponding point in the Euclidean space.
cell | any unsigned cell in the digital space. |
Definition at line 93 of file CanonicCellEmbedder.ih.
|
inline |
Checks the validity/consistency of the object.
Definition at line 114 of file CanonicCellEmbedder.ih.
|
inline |
Map a unsigned cell to its corresponding point in the Euclidean space.
cell | any unsigned cell in the digital space. |
Definition at line 101 of file CanonicCellEmbedder.ih.
|
inline |
Assignment.
other | the object to clone. |
Definition at line 75 of file CanonicCellEmbedder.ih.
References DGtal::CanonicCellEmbedder< TKSpace >::myKSpace.
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. |
|
inline |
Definition at line 84 of file CanonicCellEmbedder.ih.
|
protected |
Definition at line 150 of file CanonicCellEmbedder.h.
Referenced by DGtal::CanonicCellEmbedder< TKSpace >::operator=().