DGtal 2.0.0
|
#include <DGtal/kernel/domains/HyperRectDomain_Iterator.h>
Public Types | |
using | Point = TPoint |
using | Self = HyperRectDomain_subIterator<TPoint> |
using | Dimension = typename Point::Dimension |
using | DifferenceType = typename std::iterator_traits<Self>::difference_type |
Type of the difference between two iterators (usually std::ptrdiff_t except for BigInteger). |
Public Member Functions | |
HyperRectDomain_subIterator (const TPoint &p, const TPoint &lower, const TPoint &upper, const std::vector< Dimension > &subDomain) |
Private Member Functions | |
const Point & | dereference () const |
Dereference. | |
bool | equal (const Self &other) const |
Compare iterators. | |
void | increment () |
Increments the iterator in order to scan the domain points dimension by dimension (by using the subDomain order given by the user). | |
void | decrement () |
Decrements the iterator in order to scan the domain points dimension by dimension (by using the subDomain order given by the user). | |
void | advance (DifferenceType const &n) |
Advances the iterator in order to scan the domain points dimension by dimension (by using the subDomain order given by the user). | |
DifferenceType | distance_to (const Self &other) const |
Distance between two iterators on the same domain (by using the subDomain order given by the user). |
Private Attributes | |
TPoint | myPoint |
Current Point in the domain. | |
TPoint | mylower |
Copies of the Domain limits. | |
TPoint | myupper |
std::vector< Dimension > | mySubDomain |
DifferenceType | pos |
Iterator position in the current sequence. |
Friends | |
class | boost::iterator_core_access |
Description of class 'HyperRectDomain_subIterator'
Aim:
Definition at line 312 of file HyperRectDomain_Iterator.h.
using DGtal::HyperRectDomain_subIterator< TPoint >::DifferenceType = typename std::iterator_traits<Self>::difference_type |
Type of the difference between two iterators (usually std::ptrdiff_t except for BigInteger).
Definition at line 325 of file HyperRectDomain_Iterator.h.
using DGtal::HyperRectDomain_subIterator< TPoint >::Dimension = typename Point::Dimension |
Definition at line 324 of file HyperRectDomain_Iterator.h.
using DGtal::HyperRectDomain_subIterator< TPoint >::Point = TPoint |
Definition at line 322 of file HyperRectDomain_Iterator.h.
using DGtal::HyperRectDomain_subIterator< TPoint >::Self = HyperRectDomain_subIterator<TPoint> |
Definition at line 323 of file HyperRectDomain_Iterator.h.
|
inline |
Definition at line 327 of file HyperRectDomain_Iterator.h.
|
inlineprivate |
Advances the iterator in order to scan the domain points dimension by dimension (by using the subDomain order given by the user).
Definition at line 433 of file HyperRectDomain_Iterator.h.
|
inlineprivate |
Decrements the iterator in order to scan the domain points dimension by dimension (by using the subDomain order given by the user).
Definition at line 418 of file HyperRectDomain_Iterator.h.
|
inlineprivate |
Dereference.
Definition at line 373 of file HyperRectDomain_Iterator.h.
|
inlineprivate |
Distance between two iterators on the same domain (by using the subDomain order given by the user).
Definition at line 466 of file HyperRectDomain_Iterator.h.
|
inlineprivate |
Compare iterators.
Definition at line 388 of file HyperRectDomain_Iterator.h.
|
inlineprivate |
Increments the iterator in order to scan the domain points dimension by dimension (by using the subDomain order given by the user).
Definition at line 403 of file HyperRectDomain_Iterator.h.
|
friend |
Definition at line 370 of file HyperRectDomain_Iterator.h.
|
private |
Copies of the Domain limits.
Definition at line 481 of file HyperRectDomain_Iterator.h.
Referenced by DGtal::HyperRectDomain_subIterator< Point >::distance_to(), and DGtal::HyperRectDomain_subIterator< Point >::equal().
|
private |
Current Point in the domain.
Definition at line 478 of file HyperRectDomain_Iterator.h.
|
private |
Vector of subDomain on dimension, to fix the order in which dimensions are considered.
Definition at line 486 of file HyperRectDomain_Iterator.h.
Referenced by DGtal::HyperRectDomain_subIterator< Point >::distance_to(), and DGtal::HyperRectDomain_subIterator< Point >::equal().
|
private |
Definition at line 481 of file HyperRectDomain_Iterator.h.
Referenced by DGtal::HyperRectDomain_subIterator< Point >::distance_to(), and DGtal::HyperRectDomain_subIterator< Point >::equal().
|
private |
Iterator position in the current sequence.
Definition at line 489 of file HyperRectDomain_Iterator.h.
Referenced by DGtal::HyperRectDomain_subIterator< Point >::distance_to(), and DGtal::HyperRectDomain_subIterator< Point >::equal().