DGtal
0.6.devel
|
#include <HyperRectDomain.h>
Public Types | |
typedef HyperRectDomain_subIterator < Point > | ConstIterator |
typedef myreverse_iterator < ConstIterator > | ConstReverseIterator |
Public Member Functions | |
ConstSubRange (const HyperRectDomain< TSpace > &domain, const std::vector< Dimension > &permutation, const Point &startingPoint) | |
ConstSubRange (const HyperRectDomain< TSpace > &domain, Dimension adim, const Point &startingPoint) | |
ConstSubRange (const HyperRectDomain< TSpace > &domain, Dimension adim1, Dimension adim2, const Point &startingPoint) | |
ConstSubRange (const HyperRectDomain< TSpace > &domain, Dimension adim1, Dimension adim2, Dimension adim3, const Point &startingPoint) | |
ConstIterator | begin () const |
ConstIterator | begin (const Point &aPoint) const |
ConstIterator | end () const |
ConstReverseIterator | rbegin () const |
ConstReverseIterator | rbegin (const Point &aPoint) const |
ConstReverseIterator | rend () const |
Private Attributes | |
Point | myLowerBound |
Point | myUpperBound |
Point | myStartingPoint |
std::vector< Dimension > | myPermutation |
Aim: range through some subdomain of all the points in the domain. Defines a constructor taking a domain in parameter plus some additional parameters to specify the subdomain, begin and end methods returning ConstIterator, and rbegin and rend methods returning ConstReverseIterator.
Description of class 'ConstSubRange'
Definition at line 216 of file HyperRectDomain.h.
typedef HyperRectDomain_subIterator<Point> DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstIterator |
Definition at line 218 of file HyperRectDomain.h.
typedef myreverse_iterator<ConstIterator> DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstReverseIterator |
Definition at line 219 of file HyperRectDomain.h.
|
inline |
ConstSubRange constructor from a given domain.
domain | the domain. |
permutation | a vector containing the dimensions used for the subrange. Dimensions are iterated in the given order. |
startingPoint | the initial point. |
Definition at line 229 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::myLowerBound, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myPermutation, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myStartingPoint, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myUpperBound, and DGtal::PointVector< dim, TEuclideanRing >::partialCopyInv().
|
inline |
ConstSubRange constructor from a given domain for one dimension.
domain | the domain. |
adim | the dimension used for the subrange. |
startingPoint | the initial point. |
Definition at line 277 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::myLowerBound, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myPermutation, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myStartingPoint, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myUpperBound, and DGtal::PointVector< dim, TEuclideanRing >::partialCopyInv().
|
inline |
ConstSubRange constructor from a given domain for two dimensions.
domain | the domain. |
adim1 | the first dimension used for the subrange. |
adim2 | the second dimension used for the subrange. |
startingPoint | the initial point. |
Definition at line 297 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::myLowerBound, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myPermutation, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myStartingPoint, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myUpperBound, and DGtal::PointVector< dim, TEuclideanRing >::partialCopyInv().
|
inline |
ConstSubRange constructor from a given domain for two dimensions.
domain | the domain. |
adim1 | the first dimension used for the subrange. |
adim2 | the second dimension used for the subrange. |
adim3 | the third dimension used for the subrange. |
startingPoint | the initial point. |
Definition at line 319 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::myLowerBound, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myPermutation, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myStartingPoint, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myUpperBound, and DGtal::PointVector< dim, TEuclideanRing >::partialCopyInv().
|
inline |
Definition at line 337 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::myLowerBound, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myPermutation, and DGtal::HyperRectDomain< TSpace >::ConstSubRange::myUpperBound.
Referenced by DGtal::DistanceTransformation< TSpace, TPointPredicate, p, IntegerLong >::computeFirstStep(), DGtal::VoronoiMap< TSpace, TPointPredicate, p >::computeOtherSteps(), DGtal::DistanceTransformation< TSpace, TPointPredicate, p, IntegerLong >::computeOtherSteps(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::rbegin(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::rend().
|
inline |
Definition at line 347 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::myLowerBound, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myPermutation, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myUpperBound, and DGtal::PointVector< dim, TEuclideanRing >::partialEqualInv().
|
inline |
Definition at line 359 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::myLowerBound, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myPermutation, and DGtal::HyperRectDomain< TSpace >::ConstSubRange::myUpperBound.
Referenced by DGtal::DistanceTransformation< TSpace, TPointPredicate, p, IntegerLong >::computeFirstStep(), DGtal::VoronoiMap< TSpace, TPointPredicate, p >::computeOtherSteps(), DGtal::DistanceTransformation< TSpace, TPointPredicate, p, IntegerLong >::computeOtherSteps(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::rbegin().
|
inline |
Definition at line 371 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::end().
|
inline |
Definition at line 380 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin().
|
inline |
Definition at line 388 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin().
|
private |
Lower bound of the subrange.
Definition at line 393 of file HyperRectDomain.h.
Referenced by DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::end().
|
private |
Permutation on dimensions used in the subrange.
Definition at line 399 of file HyperRectDomain.h.
Referenced by DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::end().
|
private |
Starting point of the subrange.
Definition at line 397 of file HyperRectDomain.h.
Referenced by DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange().
|
private |
Upper bound of the subrange.
Definition at line 395 of file HyperRectDomain.h.
Referenced by DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::end().