DGtal 2.0.0
|
#include <DGtal/topology/CubicalComplex.h>
Public Types | |
typedef boost::iterator_facade< ConstIterator, Cell const, std::forward_iterator_tag > | Base |
typedef ConstIterator | Self |
typedef Base::value_type | Value |
typedef Base::pointer | Pointer |
typedef Base::reference | Reference |
typedef Base::difference_type | DifferenceType |
Public Member Functions | |
ConstIterator () | |
Default iterator. Invalid. | |
ConstIterator (ConstAlias< CubicalComplex > cc, Dimension d) | |
ConstIterator (ConstAlias< CubicalComplex > cc, Dimension d, CellMapConstIterator it) |
Private Member Functions | |
void | nextDimension () |
void | increment () |
bool | equal (const ConstIterator &other) const |
Cell const & | dereference () const |
Dimension | dimension () const |
Private Attributes | |
const CubicalComplex * | myCC |
Dimension | myD |
CellMapConstIterator | myIt |
CellMapConstIterator | myItEnd |
Friends | |
class | CubicalComplex |
class | boost::iterator_core_access |
An non-mutable iterator class to visit all the cells (and not their datas) of the complex. A model of boost::ForwardIterator.
Definition at line 306 of file CubicalComplex.h.
typedef boost::iterator_facade< ConstIterator, Cell const, std::forward_iterator_tag > DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::Base |
Definition at line 313 of file CubicalComplex.h.
typedef Base::difference_type DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::DifferenceType |
Definition at line 318 of file CubicalComplex.h.
typedef Base::pointer DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::Pointer |
Definition at line 316 of file CubicalComplex.h.
typedef Base::reference DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::Reference |
Definition at line 317 of file CubicalComplex.h.
typedef ConstIterator DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::Self |
Definition at line 314 of file CubicalComplex.h.
typedef Base::value_type DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::Value |
Definition at line 315 of file CubicalComplex.h.
|
inline |
Default iterator. Invalid.
Definition at line 321 of file CubicalComplex.h.
Referenced by CubicalComplex, and equal().
|
inline |
Constructor from complex cc and cell dimension d. If the dimension is lower or equal to the dimension of the complex,
cc | any valid cubical complex that is aliased in the iterator. |
d | the dimension of the starting cell. |
Definition at line 331 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 355 of file CubicalComplex.h.
References dimension(), myCC, myD, myIt, myItEnd, and nextDimension().
|
inlineprivate |
Definition at line 389 of file CubicalComplex.h.
References myIt.
|
inlineprivate |
Definition at line 394 of file CubicalComplex.h.
References myD.
Referenced by ConstIterator(), and ConstIterator().
|
inlineprivate |
Definition at line 384 of file CubicalComplex.h.
References ConstIterator(), myD, and myIt.
|
inlineprivate |
Definition at line 377 of file CubicalComplex.h.
References myCC, myIt, and nextDimension().
|
inlineprivate |
Definition at line 367 of file CubicalComplex.h.
References myCC, myD, myIt, and myItEnd.
Referenced by ConstIterator(), ConstIterator(), and increment().
|
friend |
Definition at line 365 of file CubicalComplex.h.
References boost::iterator_core_access.
Referenced by boost::iterator_core_access.
|
friend |
Definition at line 310 of file CubicalComplex.h.
References ConstIterator(), and CubicalComplex.
Referenced by CubicalComplex.
|
private |
Definition at line 400 of file CubicalComplex.h.
Referenced by ConstIterator(), ConstIterator(), ConstIterator(), increment(), and nextDimension().
|
private |
Definition at line 401 of file CubicalComplex.h.
Referenced by ConstIterator(), ConstIterator(), ConstIterator(), dimension(), equal(), and nextDimension().
|
private |
Definition at line 402 of file CubicalComplex.h.
Referenced by ConstIterator(), ConstIterator(), dereference(), equal(), increment(), and nextDimension().
|
private |
Definition at line 403 of file CubicalComplex.h.
Referenced by ConstIterator(), ConstIterator(), and nextDimension().