DGtal  0.9.4beta
Public Types | Public Member Functions | Protected Attributes
DGtal::CanonicSCellEmbedder< TKSpace > Struct Template Reference

#include <DGtal/topology/CanonicSCellEmbedder.h>

Inheritance diagram for DGtal::CanonicSCellEmbedder< TKSpace >:
[legend]

Public Types

typedef CanonicSCellEmbedder< TKSpace > Self
 
typedef TKSpace 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::CPreCellularGridSpaceND< TKSpace >))
 
 ~CanonicSCellEmbedder ()
 
 CanonicSCellEmbedder ()
 
 CanonicSCellEmbedder (ConstAlias< KSpace > aKSpace)
 
 CanonicSCellEmbedder (const Self &other)
 
Selfoperator= (const Self &other)
 
const KSpacespace () const
 
RealPoint embed (const SCell &cell) const
 
RealPoint operator() (const SCell &cell) const
 
bool isValid () const
 

Protected Attributes

const KSpacemyKSpace
 

Detailed Description

template<typename TKSpace>
struct DGtal::CanonicSCellEmbedder< TKSpace >

Aim: A trivial embedder for signed cell, which corresponds to the canonic injection of cell centroids into Rn.

Description of class 'CanonicSCellEmbedder'

Model of CSCellEmbedder.

Template Parameters
TKSpacethe type of cellular grid space where the embedder works, a model of CPreCellularGridSpaceND.

Definition at line 65 of file CanonicSCellEmbedder.h.

Member Typedef Documentation

template<typename TKSpace>
typedef SCell DGtal::CanonicSCellEmbedder< TKSpace >::Argument

Definition at line 75 of file CanonicSCellEmbedder.h.

template<typename TKSpace>
typedef Space::Integer DGtal::CanonicSCellEmbedder< TKSpace >::Integer

Definition at line 78 of file CanonicSCellEmbedder.h.

template<typename TKSpace>
typedef TKSpace DGtal::CanonicSCellEmbedder< TKSpace >::KSpace

Definition at line 71 of file CanonicSCellEmbedder.h.

template<typename TKSpace>
typedef Space::Point DGtal::CanonicSCellEmbedder< TKSpace >::Point

Definition at line 79 of file CanonicSCellEmbedder.h.

template<typename TKSpace>
typedef Space::RealPoint DGtal::CanonicSCellEmbedder< TKSpace >::RealPoint

Definition at line 74 of file CanonicSCellEmbedder.h.

template<typename TKSpace>
typedef KSpace::SCell DGtal::CanonicSCellEmbedder< TKSpace >::SCell

Definition at line 72 of file CanonicSCellEmbedder.h.

template<typename TKSpace>
typedef CanonicSCellEmbedder<TKSpace> DGtal::CanonicSCellEmbedder< TKSpace >::Self

Definition at line 68 of file CanonicSCellEmbedder.h.

template<typename TKSpace>
typedef KSpace::Space DGtal::CanonicSCellEmbedder< TKSpace >::Space

Definition at line 73 of file CanonicSCellEmbedder.h.

template<typename TKSpace>
typedef RealPoint DGtal::CanonicSCellEmbedder< TKSpace >::Value

Definition at line 76 of file CanonicSCellEmbedder.h.

Constructor & Destructor Documentation

template<typename TKSpace>
DGtal::CanonicSCellEmbedder< TKSpace >::~CanonicSCellEmbedder ( )

Destructor. Nothing special.

template<typename TKSpace>
DGtal::CanonicSCellEmbedder< TKSpace >::CanonicSCellEmbedder ( )

Default constructor. The object is not valid.

template<typename TKSpace>
DGtal::CanonicSCellEmbedder< TKSpace >::CanonicSCellEmbedder ( ConstAlias< KSpace aKSpace)

Constructor from space.

template<typename TKSpace>
DGtal::CanonicSCellEmbedder< TKSpace >::CanonicSCellEmbedder ( const Self other)

Copy constructor.

Parameters
otherthe object to clone.

Member Function Documentation

template<typename TKSpace>
DGtal::CanonicSCellEmbedder< TKSpace >::BOOST_CONCEPT_ASSERT ( (concepts::CPreCellularGridSpaceND< TKSpace >)  )
template<typename TKSpace>
RealPoint DGtal::CanonicSCellEmbedder< TKSpace >::embed ( const SCell cell) const

Map a signed cell to its corresponding point in the Euclidean space.

Parameters
cellany signed cell in the digital space.
Returns
its canonical embedding in the Euclidean space.
template<typename TKSpace>
bool DGtal::CanonicSCellEmbedder< TKSpace >::isValid ( ) const

Checks the validity/consistency of the object.

Returns
'true' if the object is valid, 'false' otherwise.
template<typename TKSpace>
RealPoint DGtal::CanonicSCellEmbedder< TKSpace >::operator() ( const SCell cell) const

Map a signed cell to its corresponding point in the Euclidean space.

Parameters
cellany signed cell in the digital space.
Returns
its canonical embedding in the Euclidean space.
template<typename TKSpace>
Self& DGtal::CanonicSCellEmbedder< TKSpace >::operator= ( const Self other)

Assignment.

Parameters
otherthe object to clone.
Returns
a reference to 'this'.
template<typename TKSpace>
const KSpace& DGtal::CanonicSCellEmbedder< TKSpace >::space ( ) const
Returns
the cellular grid space.

Field Documentation

template<typename TKSpace>
const KSpace* DGtal::CanonicSCellEmbedder< TKSpace >::myKSpace
protected

Definition at line 151 of file CanonicSCellEmbedder.h.


The documentation for this struct was generated from the following file: