DGtal 1.3.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. More... | |
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 |
|
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 DGtal::CubicalComplex< TKSpace, TCellContainer >::begin(), DGtal::CubicalComplex< TKSpace, TCellContainer >::dimension, DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::dimension(), DGtal::CubicalComplex< TKSpace, TCellContainer >::end(), DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myCC, DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myD, DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myIt, DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myItEnd, and DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::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 DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::dimension(), DGtal::CubicalComplex< TKSpace, TCellContainer >::end(), DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myCC, DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myItEnd, and DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::nextDimension().
|
inlineprivate |
Definition at line 493 of file CubicalComplex.h.
References DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myIt.
|
inlineprivate |
Definition at line 498 of file CubicalComplex.h.
References DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myD.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Iterator().
|
inlineprivate |
Definition at line 488 of file CubicalComplex.h.
References DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myD, and DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myIt.
|
inlineprivate |
|
inlineprivate |
Definition at line 471 of file CubicalComplex.h.
References DGtal::CubicalComplex< TKSpace, TCellContainer >::begin(), DGtal::CubicalComplex< TKSpace, TCellContainer >::dimension, DGtal::CubicalComplex< TKSpace, TCellContainer >::end(), DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myCC, DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myD, DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myIt, and DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myItEnd.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::increment(), and DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Iterator().
|
friend |
Definition at line 469 of file CubicalComplex.h.
|
friend |
Definition at line 415 of file CubicalComplex.h.
|
private |
|
private |
Definition at line 505 of file CubicalComplex.h.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::dimension(), DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::equal(), DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Iterator(), and DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::nextDimension().
|
private |
Definition at line 506 of file CubicalComplex.h.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::dereference(), DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::equal(), DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::increment(), DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Iterator(), and DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::nextDimension().
|
private |
Definition at line 507 of file CubicalComplex.h.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Iterator(), and DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::nextDimension().