DGtal
1.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. 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 382 of file CubicalComplex.h.
typedef boost::iterator_facade< Iterator, Cell const, std::forward_iterator_tag > DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Base |
Definition at line 389 of file CubicalComplex.h.
typedef Base::difference_type DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::DifferenceType |
Definition at line 394 of file CubicalComplex.h.
typedef Base::pointer DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Pointer |
Definition at line 392 of file CubicalComplex.h.
typedef Base::reference DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Reference |
Definition at line 393 of file CubicalComplex.h.
typedef Iterator DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Self |
Definition at line 390 of file CubicalComplex.h.
typedef Base::value_type DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Value |
Definition at line 391 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 406 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 430 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 464 of file CubicalComplex.h.
References DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myIt.
|
inlineprivate |
Definition at line 469 of file CubicalComplex.h.
References DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myD.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Iterator().
|
inlineprivate |
Definition at line 459 of file CubicalComplex.h.
References DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myD, and DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::myIt.
|
inlineprivate |
|
inlineprivate |
Definition at line 442 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 440 of file CubicalComplex.h.
|
friend |
Definition at line 386 of file CubicalComplex.h.
|
private |
|
private |
Definition at line 476 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 477 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 478 of file CubicalComplex.h.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::Iterator(), and DGtal::CubicalComplex< TKSpace, TCellContainer >::Iterator::nextDimension().