33 #if defined(DefaultImageRange_RECURSES)
34 #error Recursive header files inclusion detected in DefaultImageRange.h
37 #define DefaultImageRange_RECURSES
39 #if !defined DefaultImageRange_h
41 #define DefaultImageRange_h
45 #include "DGtal/base/ConstIteratorAdapter.h"
46 #include "DGtal/kernel/domains/CDomain.h"
47 #include "DGtal/images/CTrivialImage.h"
48 #include "DGtal/images/SetValueIterator.h"
49 #include "boost/concept_check.hpp"
75 template <
typename TImage>
121 if (
this != &other )
195 if ( itOnPts != d.end() ) ++itOnPts;
257 #undef DefaultImageRange_RECURSES
This class adapts any iterator so that operator* returns another element than the one pointed to by t...
Aim: model of CConstBidirectionalRangeFromPoint and CBidirectionalRangeWithWritableIteratorFromPoint ...
std::reverse_iterator< ConstIterator > ConstReverseIterator
ReverseOutputIterator routputIterator() const
DefaultImageRange(TImage &aImage)
OutputIterator outputIterator() const
SetValueIterator< TImage > OutputIterator
output iterator types
ConstReverseIterator rend() const
SetValueIterator< TImage, typename Domain::ConstReverseIterator > ReverseOutputIterator
BOOST_CONCEPT_ASSERT((concepts::CDomain< Domain >))
constant iterator types
ConstReverseIterator rbegin() const
ConstIterator begin() const
ReverseOutputIterator routputIterator(const Point &aPoint) const
DefaultImageRange(const DefaultImageRange &other)
ConstReverseIterator rbegin(const Point &aPoint) const
OutputIterator outputIterator(const Point &aPoint) const
ConstIterator end() const
ConstIterator begin(const Point &aPoint) const
ConstIteratorAdapter< typename Domain::ConstIterator, TImage, Value > ConstIterator
DefaultImageRange & operator=(const DefaultImageRange &other)
BOOST_CONCEPT_ASSERT((concepts::CTrivialImage< TImage >))
Iterator for HyperRectDomain.
Aim: implements an output iterator, which is able to write values in an underlying image,...
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: This concept represents a digital domain, i.e. a non mutable subset of points of the given digit...
Aim: Defines the concept describing an image without extra ranges, which is a refinement of CTrivialC...
HyperRectDomain< Space > Domain