DGtal 1.4.0
|
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. More...
#include <DGtal/kernel/domains/HyperRectDomain.h>
Public Types | |
typedef HyperRectDomain_subIterator< Point > | ConstIterator |
typedef HyperRectDomain_ReverseIterator< ConstIterator > | ConstReverseIterator |
Public Member Functions | |
ConstSubRange (const HyperRectDomain< TSpace > &domain, const std::vector< Dimension > &permutation, const Point &startingPoint) | |
ConstSubRange (const HyperRectDomain< TSpace > &domain, std::initializer_list< 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 |
Lower bound of the subrange. | |
Point | myUpperBound |
Upper bound of the subrange. | |
Point | myStartingPoint |
Starting point of the subrange. | |
std::vector< Dimension > | myPermutation |
Permutation on dimensions used in the subrange. | |
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 249 of file HyperRectDomain.h.
typedef HyperRectDomain_subIterator<Point> DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstIterator |
Definition at line 251 of file HyperRectDomain.h.
typedef HyperRectDomain_ReverseIterator<ConstIterator> DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstReverseIterator |
Definition at line 252 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 262 of file HyperRectDomain.h.
References domain, 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, TContainer >::partialCopyInv().
|
inline |
ConstSubRange constructor from a given domain.
domain | the domain. |
permutation | an initializer_list containing the dimensions used for the subrange. Dimensions are iterated in the given order. |
startingPoint | the initial point. |
Definition at line 288 of file HyperRectDomain.h.
References domain, 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, TContainer >::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 316 of file HyperRectDomain.h.
References domain, 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, TContainer >::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 341 of file HyperRectDomain.h.
References domain, 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, TContainer >::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 368 of file HyperRectDomain.h.
References domain, 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, TContainer >::partialCopyInv().
|
inline |
begin method.
Definition at line 391 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::myLowerBound, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myPermutation, and DGtal::HyperRectDomain< TSpace >::ConstSubRange::myUpperBound.
Referenced by DGtal::ImageFactoryFromHDF5< TImageContainer >::flushImage(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::rbegin(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::rend().
|
inline |
begin method from a given point.
aPoint | the initial point. |
Definition at line 402 of file HyperRectDomain.h.
References aPoint(), DGtal::PointVector< dim, TEuclideanRing, TContainer >::isLower(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::myLowerBound, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myPermutation, and DGtal::HyperRectDomain< TSpace >::ConstSubRange::myUpperBound.
|
inline |
end method.
Definition at line 417 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::myLowerBound, DGtal::HyperRectDomain< TSpace >::ConstSubRange::myPermutation, and DGtal::HyperRectDomain< TSpace >::ConstSubRange::myUpperBound.
Referenced by DGtal::ImageFactoryFromHDF5< TImageContainer >::flushImage(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::rbegin().
|
inline |
reverse begin method.
Definition at line 428 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::end().
|
inline |
reverse begin method from a given point.
aPoint | the initial point. |
Definition at line 439 of file HyperRectDomain.h.
References aPoint(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin().
|
inline |
reverse end method.
Definition at line 450 of file HyperRectDomain.h.
References DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin().
|
private |
Lower bound of the subrange.
Definition at line 457 of file HyperRectDomain.h.
Referenced by DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::end().
|
private |
Permutation on dimensions used in the subrange.
Definition at line 463 of file HyperRectDomain.h.
Referenced by DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::end().
|
private |
Starting point of the subrange.
Definition at line 461 of file HyperRectDomain.h.
Referenced by DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange().
|
private |
Upper bound of the subrange.
Definition at line 459 of file HyperRectDomain.h.
Referenced by DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::begin(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), DGtal::HyperRectDomain< TSpace >::ConstSubRange::ConstSubRange(), and DGtal::HyperRectDomain< TSpace >::ConstSubRange::end().