DGtal 2.0.0
|
#include <DGtal/topology/CubicalComplex.h>
Public Types | |
typedef boost::iterator_facade< Iterator, Cell const, std::forward_iterator_tag > | Base |
typedef Iterator | Self |
typedef Base::value_type | Value |
typedef Base::pointer | Pointer |
typedef Base::reference | Reference |
typedef Base::difference_type | DifferenceType |
Public Member Functions | |
Iterator () | |
Default iterator. Invalid. | |
Iterator (Alias< CubicalComplex > cc, Dimension d) | |
Iterator (Alias< CubicalComplex > cc, Dimension d, CellMapIterator it) |
Private Member Functions | |
void | nextDimension () |
void | increment () |
bool | equal (const Iterator &other) const |
Cell const & | dereference () const |
Dimension | dimension () const |
Private Attributes | |
CubicalComplex * | myCC |
Dimension | myD |
CellMapIterator | myIt |
CellMapIterator | myItEnd |
Friends | |
class | CubicalComplex |
class | boost::iterator_core_access |
A mutable iterator class to visit all the cells (and not their datas) of the complex. A model of boost::ForwardIterator. Note that, as for associative container, values are not modifiable.
Definition at line 411 of file CubicalComplex.h.
typedef boost::iterator_facade< Iterator, Cell const, std::forward_iterator_tag > DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Base |
Definition at line 418 of file CubicalComplex.h.
typedef Base::difference_type DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::DifferenceType |
Definition at line 423 of file CubicalComplex.h.
typedef Base::pointer DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Pointer |
Definition at line 421 of file CubicalComplex.h.
typedef Base::reference DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Reference |
Definition at line 422 of file CubicalComplex.h.
typedef Iterator DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Self |
Definition at line 419 of file CubicalComplex.h.
typedef Base::value_type DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Value |
Definition at line 420 of file CubicalComplex.h.
|
inline |
Default iterator. Invalid.
Definition at line 426 of file CubicalComplex.h.
Referenced by CubicalComplex, and equal().
|
inline |
Constructor from complex cc and cell dimension d.
cc | any valid cubical complex that is aliased in the iterator. |
d | the dimension of the starting cell. |
Definition at line 435 of file CubicalComplex.h.
References dimension(), myCC, myD, myIt, myItEnd, and nextDimension().
|
inline |
Detailed constructor from complex cc, cell dimension d and iterators.
cc | any valid cubical complex that is aliased in the iterator. |
d | the dimension of the starting cell (0<=d<=dimension). |
it | an iterator pointing on a cell of the complex. |
Definition at line 459 of file CubicalComplex.h.
References dimension(), myCC, myD, myIt, myItEnd, and nextDimension().
|
inlineprivate |
Definition at line 493 of file CubicalComplex.h.
References myIt.
|
inlineprivate |
Definition at line 498 of file CubicalComplex.h.
References myD.
Referenced by Iterator(), and Iterator().
|
inlineprivate |
Definition at line 488 of file CubicalComplex.h.
References Iterator(), myD, and myIt.
|
inlineprivate |
Definition at line 481 of file CubicalComplex.h.
References myCC, myIt, and nextDimension().
|
inlineprivate |
Definition at line 471 of file CubicalComplex.h.
References myCC, myD, myIt, and myItEnd.
Referenced by increment(), Iterator(), and Iterator().
|
friend |
Definition at line 469 of file CubicalComplex.h.
References boost::iterator_core_access.
Referenced by boost::iterator_core_access.
|
friend |
Definition at line 415 of file CubicalComplex.h.
References CubicalComplex, and Iterator().
Referenced by CubicalComplex.
|
private |
Definition at line 504 of file CubicalComplex.h.
Referenced by increment(), Iterator(), Iterator(), Iterator(), and nextDimension().
|
private |
Definition at line 505 of file CubicalComplex.h.
Referenced by dimension(), equal(), Iterator(), Iterator(), Iterator(), and nextDimension().
|
private |
Definition at line 506 of file CubicalComplex.h.
Referenced by dereference(), equal(), increment(), Iterator(), Iterator(), and nextDimension().
|
private |
Definition at line 507 of file CubicalComplex.h.
Referenced by Iterator(), Iterator(), and nextDimension().