DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Private Attributes
DGtal::CCellularGridSpaceND< T > Struct Template Reference

#include <CCellularGridSpaceND.h>

Collaboration diagram for DGtal::CCellularGridSpaceND< T >:
Collaboration graph
[legend]

Public Types

typedef T::Integer Integer
typedef T::Size Size
typedef T::Space Space
typedef T::Cell Cell
typedef T::SCell SCell
typedef T::Surfel Surfel
typedef T::Sign Sign
typedef T::DirIterator DirIterator
typedef T::Point Point
typedef T::Vector Vector
typedef T::Cells Cells
typedef T::SCells SCells
typedef T::CellSet CellSet
typedef T::SCellSet SCellSet
typedef T::SurfelSet SurfelSet
typedef int Dummy
typedef T::template CellMap
< Dummy >::Type 
CellMap
typedef T::template SCellMap
< Dummy >::Type 
SCellMap
typedef T::template SurfelMap
< Dummy >::Type 
SurfelMap

Public Member Functions

 BOOST_CONCEPT_ASSERT ((CInteger< Integer >))
 BOOST_CONCEPT_ASSERT ((CUnsignedInteger< Size >))
 BOOST_STATIC_ASSERT ((ConceptUtils::SameType< Integer, typename Space::Integer >::value))
 BOOST_STATIC_ASSERT ((ConceptUtils::SameType< Point, typename Space::Point >::value))
 BOOST_STATIC_ASSERT ((ConceptUtils::SameType< Vector, typename Space::Vector >::value))
 BOOST_CONCEPT_ASSERT ((CConstSinglePassRange< Cells >))
 BOOST_CONCEPT_ASSERT ((CConstSinglePassRange< SCells >))
 BOOST_CONCEPT_ASSERT ((boost::UniqueAssociativeContainer< CellSet >))
 BOOST_CONCEPT_ASSERT ((boost::UniqueAssociativeContainer< SCellSet >))
 BOOST_CONCEPT_ASSERT ((boost::UniqueAssociativeContainer< SurfelSet >))
 BOOST_CONCEPT_ASSERT ((boost::SimpleAssociativeContainer< CellSet >))
 BOOST_CONCEPT_ASSERT ((boost::SimpleAssociativeContainer< SCellSet >))
 BOOST_CONCEPT_ASSERT ((boost::SimpleAssociativeContainer< SurfelSet >))
 BOOST_CONCEPT_ASSERT ((boost::UniqueAssociativeContainer< CellMap >))
 BOOST_CONCEPT_ASSERT ((boost::UniqueAssociativeContainer< SCellMap >))
 BOOST_CONCEPT_ASSERT ((boost::UniqueAssociativeContainer< SurfelMap >))
 BOOST_CONCEPT_ASSERT ((boost::PairAssociativeContainer< CellMap >))
 BOOST_CONCEPT_ASSERT ((boost::PairAssociativeContainer< SCellMap >))
 BOOST_CONCEPT_ASSERT ((boost::PairAssociativeContainer< SurfelMap >))
 BOOST_CONCEPT_USAGE (CCellularGridSpaceND)
void checkConstConstraints () const

Private Attributes

myX
Integer myInteger
Size mySize
Dimension myDim
Point myP1
Point myP2
Vector myV
Cell myCell
SCell mySCell
Cell myMutableCell
SCell myMutableSCell
bool myBool
Sign mySign
DirIterator myDirIt
Cells myCells
SCells mySCells

Detailed Description

template<typename T>
struct DGtal::CCellularGridSpaceND< T >

Aim: This concept describes a cellular grid space in nD. In these spaces obtained by cartesian product, cells have a cubic shape that depends on the dimension: 0-cells are points, 1-cells are unit segments, 2-cells are squares, 3-cells are cubes, and so on.

Description of concept 'CCellularGridSpaceND'

This concept is rather complex since it gathers all possible operations on cells. The idea is that only the space knows what are the cells, how to compute their adjacent or incident cells, how to extract their coordinates, where are the bounds, what is the topology and dimension of a cell, etc. Worse (!), you have two kinds of cells, normal cells (unsigned), and oriented cells (signed). The latter are used to define orientation and boundary operators.

Note:
Another way of defining orientation and boundary operators is to define chains on cells and chain complexes. However, this is unnecessary here.

Models of CCellularGridSpaceND are used whenever you need to define a topology on your subsets of the digital space, especially boundaries of objects, curves and digital surfaces.

The space is generally finite (except for arbitrary size integers). The user should choose between a closed (default) cell space or an open cell space.

We refer the reader to Cellular grid space and topology, unoriented and oriented cells, incidence for further details.

Refinement of

Associated types :

Note:
DirIterator should be use as follows:
KSpace x;
Cell c;
for ( KSpace::DirIterator q = x.uDirs( c ); q != 0; ++q )
{
Dimension dir = *q;
...
}

Notation

Definitions

Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
dimension X::dimension Dimension the dimension of the space
DIM X::dimension Dimension the dimension of the space
POS X::POS Sign the positive sign for cells
NEG X::NEG Sign the negative sign for cells
initializationx.init(p1, p2, b) b is bool bool initializes the space so that cells are within the bounds p1 and p2, returns true iff the initialization was valid (ie, such bounds are representable with these integers).
Size or width x.size( k ) Integer returns the size/width of the space along the axis k
Minimal coordinate x.min( k )Integer returns the minimal possible digital coordinate along the axis k
Maximal coordinate x.max( k )Integer returns the maximal possible digital coordinate along the axis k
Lower bound x.lowerBound() Point returns the lowest point in the space, i.e. p1
Upper bound x.upperBound() Point returns the uppermost point in the space, i.e. p1
Lower cell x.lowerCell() Cell returns the lowest cell in the space
Upper cell x.upperCell() Cell returns the uppermost cell in the space
Closedness x.isSpaceClosed() bool returns 'true' iff the cellular space is closed
Make unsigned cell x.uCell(p)Cell returns the unsigned cell with Khalimsky coordinates equal to p
Make unsigned cell x.uCell(p, c)Cell returns the unsigned cell with digital coordinates equal to p and topology equal to c
Make signed cell x.sCell(p, sign = POS)SCell returns the signed cell with Khalimsky coordinates equal to p and sign sign
Make signed cell x.sCell(p, sc)SCell returns the signed cell with digital coordinates equal to p and sign and topology equal to sc
Make unsigned spel x.uSpel(p)Cell returns the unsigned spel with digital coordinates equal to p
Make signed spel x.sSpel(p, sign = POS)SCell returns the signed spel with digital coordinates equal to p and sign sign
Make unsigned pointel x.uPointel(p)Cell returns the unsigned pointel with digital coordinates equal to p
Make signed pointel x.sPointel(p, sign = POS)SCell returns the signed pointel with digital coordinates equal to p and sign sign
Get Khalimsky coordinatex.uKCoord(c, k)Integer returns the Khalimsky coordinate of cell c along axis k
Get digital coordinatex.uCoord(c, k)Integer returns the digital coordinate of cell c along axis k
Get Khalimsky coordinatesx.uKCoords(c)Point returns the Khalimsky coordinates of cell c
Get digital coordinatesx.uCoords(c)Point returns the digital coordinates of cell c
Get Khalimsky coordinatex.sKCoord(sc, k)Integer returns the Khalimsky coordinate of signed cell sc along axis k
Get digital coordinatex.sCoord(sc, k)Integer returns the digital coordinate of signed cell sc along axis k
Get Khalimsky coordinatesx.sKCoords(sc, k)Point returns the Khalimsky coordinates of signed cell sc
Get digital coordinatesx.sCoords(sc, k)Point returns the digital coordinates of signed cell sc
Set Khalimsky coordinate x.uSetKCoord(c,k,i)Sets the k-th Khalimsky coordinate of c to i
Set digital coordinate x.uSetCoord(c,k,i)Sets the k-th digital coordinate of c to i
Set Khalimsky coordinates x.uSetKCoords(c,p)Sets the Khalimsky coordinates of c to p
Set digital coordinates x.uSetCoords(c,p)Sets the digital coordinates of c to p
Set Khalimsky coordinate x.sSetKCoord(sc,k,i)Sets the k-th Khalimsky coordinate of sc to i
Set digital coordinate x.sSetCoord(sc,k,i)Sets the k-th digital coordinate of sc to i
Set Khalimsky coordinates x.sSetKCoords(sc,p)Sets the Khalimsky coordinates of sc to p
Set digital coordinates x.sSetCoords(sc,p)Sets the digital coordinates of sc to p
Sign/orient cell x.signs(c,sign)returns the signed cell with same topology as c and sign sign
Change sign x.sSetSign(sc, sign)Sets the sign of the signed cell sc to sign
Get sign x.sSign(sc)Sign returns the sign of cell sc
Unsign/unorient signed cell x.unsigns(sc)returns the unsigned cell with same topology as sc
Flip sign x.sOpp(sc) returns the signed cell with opposite sign to sc
Get topology word x.uTopology(c) Integer returns the topology word of unsigned cell c
Get topology word x.sTopology(sc) Integer returns the topology word of signed cell sc
Get cell dimension x.uDim(c) Dimension returns the dimension of the unsigned cell c
Get cell dimension x.sDim(sc) Dimension returns the dimension of the signed cell sc
Surfel test x.uIsSurfel(s) bool returns 'true' iff the unsigned cell c has dimension n-1
Surfel test x.sIsSurfel(sc) bool returns 'true' iff the signed cell sc has dimension n-1
Open test x.uIsOpen(c,k) bool returns 'true' iff the unsigned cell c is open along the k-th axis
Open test x.sIsOpen(sc,k) bool returns 'true' iff the signed cell sc is open along the k-th axis
Get open directions x.uDirs(c)DirIterator returns a kind of iterator that enumerates the open directions of c
Get open directions x.sDirs(sc)DirIterator returns a kind of iterator that enumerates the open directions of sc
Get closed directions x.uOrthDirs(c)DirIterator returns a kind of iterator that enumerates the closed directions of c
Get closed directions x.sOrthDirs(sc)DirIterator returns a kind of iterator that enumerates the closed directions of sc
Get closed direction of surfel x.uOrthDir(c)x.uIsSurfel(c)Dimension returns the closed direction of the n-1-cell c
Get closed direction of surfel x.sOrthDir(sc)x.sIsSurfel(sc)Dimension returns the closed direction of the signed n-1-cell sc
Get first cellx.uFirst(c) Cell returns the first cell of the space with same topology as c
Get last cell x.uLast(c) Cell returns the last cell of the space with same topology as c
Get next cell along some axisx.uGetIncr(c,k)Cell returns the same cell as c except the k-th coordinate that is incremented
Get previous cell along some axisx.uGetDecr(c,k)Cell returns the same cell as c except the k-th coordinate that is decremented
Maximal coordinate testx.uIsMax(c,k)bool returns 'true' iff the cell has the maximal possible k-th coordinate
Minimal coordinate testx.uIsMin(c,k)bool returns 'true' iff the cell has the minimal possible k-th coordinate
Get maximal cell along some axisx.uGetMax(c,k)Cell returns the same cell as c except the k-th coordinate that is the maximal possible
Get minimal cell along some axisx.uGetMin(c,k)Cell returns the same cell as c except the k-th coordinate that is the minimal possible
Inside test along some axisx.uIsInside(c,k)bool returns 'true' iff the cell c has a valid k-th coordinate
Get cell further along some axisx.uGetAdd(c,k,i)Cell returns the same cell as c except the k-th coordinate that is increased by i
Get cell before along some axisx.uGetSub(c,k,i)Cell returns the same cell as c except the k-th coordinate that is decreased by i
Distance to upper bound x.uDistanceToMax(c,k)Integer returns the number of increments to do along the k-th axis to reach the upper bound
Distance to lower bound x.uDistanceToMin(c,k)Integer returns the number of decrements to do along the k-th axis to reach the lower bound
Get the translation of a cell x.uTranslation(c,v)Cell returns the cell that is the translation of c by the vector v
Get the projection of a cell x.uProjection(c,bc,k)bc is a Cell Cell returns the same cell as c except for the k-th coordinate that is equal to the one of bc
Projection of a cell x.uProject(c,bc,k)bc is a Cell modifies cell c such that its k-th coordinate that is equal to the one of bc
Next cell within bounds x.uNext(c,lc,uc)lc, uc are Cell bool cell c becomes the next cell with same topology within lower and upper bounds lc and uc, returns 'true' iff c is still within bounds
Get first cellx.sFirst(sc) SCell returns the first cell of the space with same topology as sc
Get last cell x.sLast(sc) SCell returns the last cell of the space with same topology as sc
Get next cell along some axisx.sGetIncr(sc,k)SCell returns the same cell as sc except the k-th coordinate that is incremented
Get previous cell along some axisx.sGetDecr(sc,k)SCell returns the same cell as sc except the k-th coordinate that is decremented
Maximal coordinate testx.sIsMax(sc,k)bool returns 'true' iff the cell has the maximal possible k-th coordinate
Minimal coordinate testx.sIsMin(sc,k)bool returns 'true' iff the cell has the minimal possible k-th coordinate
Get maximal cell along some axisx.sGetMax(sc,k)SCell returns the same cell as sc except the k-th coordinate that is the maximal possible
Get minimal cell along some axisx.sGetMin(sc,k)SCell returns the same cell as sc except the k-th coordinate that is the minimal possible
Inside test along some axisx.sIsInside(sc,k)bool returns 'true' iff the cell sc has a valid k-th coordinate
Get cell further along some axisx.sGetAdd(sc,k,i)SCell returns the same cell as sc except the k-th coordinate that is increased by i
Get cell before along some axisx.sGetSub(sc,k,i)SCell returns the same cell as sc except the k-th coordinate that is decreased by i
Distance to upper bound x.sDistanceToMax(sc,k)Integer returns the number of increments to do along the k-th axis to reach the upper bound
Distance to lower bound x.sDistanceToMin(sc,k)Integer returns the number of decrements to do along the k-th axis to reach the lower bound
Get the translation of a cell x.sTranslation(sc,v)SCell returns the cell that is the translation of sc by the vector v
Get the projection of a cell x.sProjection(sc,bc,k)bc is a SCell SCell returns the same cell as sc except for the k-th coordinate that is equal to the one of bc
Projection of a cell x.sProject(sc,bc,k)bc is a SCell modifies cell sc such that its k-th coordinate that is equal to the one of bc
Next cell within bounds x.sNext(sc,lc,uc)lc, uc are SCell bool cell sc becomes the next cell with same topology within lower and upper bounds lc and uc, returns 'true' iff sc is still within bounds
Neighborhood x.uNeighborhood(c) Cells returns the range of cells that forms the 1-neighborhood of c
Neighborhood x.sNeighborhood(sc)SCells returns the range of signed cells that forms the 1-neighborhood of sc
Proper neighborhood x.uProperNeighborhood(c) Cells returns the range of cells that forms the proper 1-neighborhood of c, hence without c itself
Proper neighborhood x.sProperNeighborhood(sc)SCells returns the range of signed cells that forms the proper 1-neighborhood of sc, hence without sc itself
Adjacent cellx.uAdjacent(c,k,b)b is a bool Cell return the cell adjacent to c along axis k either with greater coordinate (b is true) or lesser
Adjacent cellx.sAdjacent(sc,k,b)b is a bool SCell return the signed cell adjacent to sc along axis k either with greater coordinate (b is true) or lesser
Incident cellx.uIncident(c,k,b)b is a bool Cell return the cell incident to c along axis k either with greater coordinate (b is true) or lesser
Incident cellx.sIncident(sc,k,b)b is a bool SCell return the signed cell incident to sc along axis k either with greater coordinate (b is true) or lesser
Lower incident cellsx.uLowerIncident(c)Cells return all the cells just lower incident to c (1-dim less)
Lower incident cellsx.sLowerIncident(sc)SCells return all the signed cells just lower incident to sc (1-dim less)
Upper incident cellsx.uUpperIncident(c)Cells return all the cells just upper incident to c (1-dim more)
Upper incident cellsx.sUpperIncident(sc)SCells return all the signed cells just upper incident to c (1-dim more)
Faces of a cellx.uFaces(c)Cells return all the faces of the cell c
Co-Faces of a cellx.uCoFaces(c)Cells return all the co-faces of the cell c
Direct orientationx.sDirect(sc,k)bool return the direct orientation of cell sc along axis k
Direct incident cellx.sDirectIncident(sc,k)SCell return the signed cell that is the direct incident cell to sc along axis k
Indirect incident cellx.sIndirectIncident(sc,k)SCell return the signed cell that is the indirect incident cell to sc along axis k

Invariants

Models

Notes

Template Parameters:
Tthe type that should be a model of CCellularGridSpaceND.

Definition at line 316 of file CCellularGridSpaceND.h.


Member Typedef Documentation

template<typename T >
typedef T::Cell DGtal::CCellularGridSpaceND< T >::Cell

Definition at line 324 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::template CellMap<Dummy>::Type DGtal::CCellularGridSpaceND< T >::CellMap

Definition at line 337 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::Cells DGtal::CCellularGridSpaceND< T >::Cells

Definition at line 331 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::CellSet DGtal::CCellularGridSpaceND< T >::CellSet

Definition at line 333 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::DirIterator DGtal::CCellularGridSpaceND< T >::DirIterator

Definition at line 328 of file CCellularGridSpaceND.h.

template<typename T >
typedef int DGtal::CCellularGridSpaceND< T >::Dummy

Definition at line 336 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::Integer DGtal::CCellularGridSpaceND< T >::Integer

Definition at line 321 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::Point DGtal::CCellularGridSpaceND< T >::Point

Definition at line 329 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::SCell DGtal::CCellularGridSpaceND< T >::SCell

Definition at line 325 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::template SCellMap<Dummy>::Type DGtal::CCellularGridSpaceND< T >::SCellMap

Definition at line 338 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::SCells DGtal::CCellularGridSpaceND< T >::SCells

Definition at line 332 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::SCellSet DGtal::CCellularGridSpaceND< T >::SCellSet

Definition at line 334 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::Sign DGtal::CCellularGridSpaceND< T >::Sign

Definition at line 327 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::Size DGtal::CCellularGridSpaceND< T >::Size

Definition at line 322 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::Space DGtal::CCellularGridSpaceND< T >::Space

Definition at line 323 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::Surfel DGtal::CCellularGridSpaceND< T >::Surfel

Definition at line 326 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::template SurfelMap<Dummy>::Type DGtal::CCellularGridSpaceND< T >::SurfelMap

Definition at line 339 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::SurfelSet DGtal::CCellularGridSpaceND< T >::SurfelSet

Definition at line 335 of file CCellularGridSpaceND.h.

template<typename T >
typedef T::Vector DGtal::CCellularGridSpaceND< T >::Vector

Definition at line 330 of file CCellularGridSpaceND.h.


Member Function Documentation

template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (CInteger< Integer >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (CUnsignedInteger< Size >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (CConstSinglePassRange< Cells >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (CConstSinglePassRange< SCells >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::UniqueAssociativeContainer< CellSet >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::UniqueAssociativeContainer< SCellSet >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::UniqueAssociativeContainer< SurfelSet >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::SimpleAssociativeContainer< CellSet >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::SimpleAssociativeContainer< SCellSet >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::SimpleAssociativeContainer< SurfelSet >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::UniqueAssociativeContainer< CellMap >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::UniqueAssociativeContainer< SCellMap >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::UniqueAssociativeContainer< SurfelMap >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::PairAssociativeContainer< CellMap >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::PairAssociativeContainer< SCellMap >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_ASSERT ( (boost::PairAssociativeContainer< SurfelMap >)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_USAGE ( CCellularGridSpaceND< T >  )
inline
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_STATIC_ASSERT ( (ConceptUtils::SameType< Integer, typename Space::Integer >::value)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_STATIC_ASSERT ( (ConceptUtils::SameType< Point, typename Space::Point >::value)  )
template<typename T >
DGtal::CCellularGridSpaceND< T >::BOOST_STATIC_ASSERT ( (ConceptUtils::SameType< Vector, typename Space::Vector >::value)  )
template<typename T >
void DGtal::CCellularGridSpaceND< T >::checkConstConstraints ( ) const
inline

Definition at line 370 of file CCellularGridSpaceND.h.

References DGtal::CCellularGridSpaceND< T >::myBool, DGtal::CCellularGridSpaceND< T >::myCell, DGtal::CCellularGridSpaceND< T >::myCells, DGtal::CCellularGridSpaceND< T >::myDim, DGtal::CCellularGridSpaceND< T >::myDirIt, DGtal::CCellularGridSpaceND< T >::myInteger, DGtal::CCellularGridSpaceND< T >::myMutableCell, DGtal::CCellularGridSpaceND< T >::myMutableSCell, DGtal::CCellularGridSpaceND< T >::myP1, DGtal::CCellularGridSpaceND< T >::myP2, DGtal::CCellularGridSpaceND< T >::mySCell, DGtal::CCellularGridSpaceND< T >::mySCells, DGtal::CCellularGridSpaceND< T >::mySign, DGtal::CCellularGridSpaceND< T >::mySize, DGtal::CCellularGridSpaceND< T >::myV, DGtal::CCellularGridSpaceND< T >::myX, and DGtal::ConceptUtils::sameType().

Referenced by DGtal::CCellularGridSpaceND< T >::BOOST_CONCEPT_USAGE().

{
ConceptUtils::sameType( myP1, myX.lowerBound() );
ConceptUtils::sameType( myP2, myX.upperBound() );
ConceptUtils::sameType( myBool, myX.isSpaceClosed() );
myX.uSetKCoord( myMutableCell, myDim, myInteger );
myX.uSetCoord( myMutableCell, myDim, myInteger );
myX.uSetKCoords( myMutableCell, myP1 );
myX.uSetCoords( myMutableCell, myP1 );
myX.sSetKCoord( myMutableSCell, myDim, myInteger );
myX.sSetKCoords( myMutableSCell, myP1 );
myX.sSetCoords( myMutableSCell, myP1 );
myX.sSetSign( myMutableSCell, mySign );
// -------------------- Unsigned cell geometry services --------------------
ConceptUtils::sameType( myCell, myX.uTranslation( myCell, myV ) );
myX.uProject( myMutableCell, myCell, myDim );
// -------------------- Signed cell geometry services --------------------
// ----------------------- Neighborhood services --------------------------
ConceptUtils::sameType( myCells, myX.uNeighborhood( myCell ) );
ConceptUtils::sameType( myCells, myX.uProperNeighborhood( myCell ) );
ConceptUtils::sameType( mySCells, myX.sProperNeighborhood( mySCell ) );
// ----------------------- Incidence services --------------------------
ConceptUtils::sameType( myCells, myX.uLowerIncident( myCell ) );
ConceptUtils::sameType( myCells, myX.uUpperIncident( myCell ) );
ConceptUtils::sameType( mySCells, myX.sLowerIncident( mySCell ) );
ConceptUtils::sameType( mySCells, myX.sUpperIncident( mySCell ) );
ConceptUtils::sameType( mySCell, myX.sDirectIncident( mySCell, myDim ) );
ConceptUtils::sameType( mySCell, myX.sIndirectIncident( mySCell, myDim ) );
}

Field Documentation

template<typename T >
bool DGtal::CCellularGridSpaceND< T >::myBool
private
template<typename T >
Cell DGtal::CCellularGridSpaceND< T >::myCell
private
template<typename T >
Cells DGtal::CCellularGridSpaceND< T >::myCells
private
template<typename T >
Dimension DGtal::CCellularGridSpaceND< T >::myDim
private
template<typename T >
DirIterator DGtal::CCellularGridSpaceND< T >::myDirIt
private
template<typename T >
Integer DGtal::CCellularGridSpaceND< T >::myInteger
private
template<typename T >
Cell DGtal::CCellularGridSpaceND< T >::myMutableCell
mutableprivate
template<typename T >
SCell DGtal::CCellularGridSpaceND< T >::myMutableSCell
mutableprivate
template<typename T >
Point DGtal::CCellularGridSpaceND< T >::myP1
private
template<typename T >
Point DGtal::CCellularGridSpaceND< T >::myP2
private
template<typename T >
SCell DGtal::CCellularGridSpaceND< T >::mySCell
private
template<typename T >
SCells DGtal::CCellularGridSpaceND< T >::mySCells
private
template<typename T >
Sign DGtal::CCellularGridSpaceND< T >::mySign
private
template<typename T >
Size DGtal::CCellularGridSpaceND< T >::mySize
private
template<typename T >
Vector DGtal::CCellularGridSpaceND< T >::myV
private
template<typename T >
T DGtal::CCellularGridSpaceND< T >::myX
private

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