The Original CHomP Software
|
The iterator of the set of cubes within a bitmap. More...
#include <bincube.h>
Public Types | |
typedef int | CoordType |
The type of coordinates. More... | |
Public Member Functions | |
iterator (bincube< Dim, twoPower > *bcub=0, int num=-1) | |
The default constructor. More... | |
iterator & | operator++ () |
The preincrement operator. More... | |
iterator & | operator++ (int) |
The postincrement operator. More... | |
operator int () const | |
Conversion of an iterator to int (temporarily). More... | |
const int * | coord () const |
The coordinates of the cube. More... | |
template<class intType > | |
intType * | coord (intType *tab) const |
The coordinates of the cube. More... | |
Static Public Member Functions | |
static int | dim () |
The dimension of the cube. More... | |
Public Attributes | |
bincube< Dim, twoPower > * | b |
The binary cube in which the cube is contained. More... | |
int | n |
The number of the current bit in the set. More... | |
Static Public Attributes | |
static const int | MaxDim = Dim |
The maximal possible dimension of the cube. More... | |
Friends | |
class | bincube< Dim, twoPower > |
The iterator of the set of cubes within a bitmap.
typedef int chomp::homology::bincube< Dim, twoPower >::iterator::CoordType |
|
inline |
The default constructor.
Definition at line 614 of file bincube.h.
|
inline |
|
inline |
The coordinates of the cube.
Definition at line 659 of file bincube.h.
References chomp::homology::bincube< Dim, twoPower >::num2coord().
|
inlinestatic |
|
inline |
|
inline |
The preincrement operator.
Searches for the next cube in the set.
Definition at line 622 of file bincube.h.
References chomp::homology::bincube< Dim, twoPower >::findcube().
|
inline |
The postincrement operator.
Definition at line 632 of file bincube.h.
|
friend |
bincube<Dim,twoPower>* chomp::homology::bincube< Dim, twoPower >::iterator::b |
|
static |
int chomp::homology::bincube< Dim, twoPower >::iterator::n |