DGtal 1.4.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.
|
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 DGtal::CubicalComplex< TKSpace, TCellContainer >::begin(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::dimension(), DGtal::CubicalComplex< TKSpace, TCellContainer >::dimension, DGtal::CubicalComplex< TKSpace, TCellContainer >::end(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myCC, DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myD, DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myIt, DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myItEnd, and DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::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 DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::dimension(), DGtal::CubicalComplex< TKSpace, TCellContainer >::end(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myCC, DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myItEnd, and DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::nextDimension().
|
inlineprivate |
Definition at line 389 of file CubicalComplex.h.
References DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myIt.
|
inlineprivate |
Definition at line 394 of file CubicalComplex.h.
References DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myD.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::ConstIterator(), and DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::ConstIterator().
|
inlineprivate |
Definition at line 384 of file CubicalComplex.h.
References DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myD, and DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myIt.
|
inlineprivate |
|
inlineprivate |
Definition at line 367 of file CubicalComplex.h.
References DGtal::CubicalComplex< TKSpace, TCellContainer >::begin(), DGtal::CubicalComplex< TKSpace, TCellContainer >::dimension, DGtal::CubicalComplex< TKSpace, TCellContainer >::end(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myCC, DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myD, DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myIt, and DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::myItEnd.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::ConstIterator(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::ConstIterator(), and DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::increment().
|
friend |
Definition at line 365 of file CubicalComplex.h.
|
friend |
Definition at line 310 of file CubicalComplex.h.
|
private |
Definition at line 400 of file CubicalComplex.h.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::ConstIterator(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::ConstIterator(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::increment(), and DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::nextDimension().
|
private |
Definition at line 401 of file CubicalComplex.h.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::ConstIterator(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::dimension(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::equal(), and DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::nextDimension().
|
private |
Definition at line 402 of file CubicalComplex.h.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::ConstIterator(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::dereference(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::equal(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::increment(), and DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::nextDimension().
|
private |
Definition at line 403 of file CubicalComplex.h.
Referenced by DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::ConstIterator(), DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::ConstIterator(), and DGtal::CubicalComplex< TKSpace, TCellContainer >::ConstIterator::nextDimension().