DGtal 2.0.0
|
Aim: model of CBidirectionalRangeFromPoint that adapts any range of elements bounded by two iterators [itb, ite) and provides services to (circularly)iterate over it (in a read-only manner). More...
#include <DGtal/base/SimpleRandomAccessRangeFromPoint.h>
Public Types | |
typedef DistanceFunctor::Point | Point |
typedef TIterator | Iterator |
typedef TConstIterator | ConstIterator |
typedef boost::reverse_iterator< Iterator > | ReverseIterator |
typedef boost::reverse_iterator< ConstIterator > | ConstReverseIterator |
typedef TIterator | OutputIterator |
typedef boost::reverse_iterator< Iterator > | ReverseOutputIterator |
typedef DGtal::Circulator< Iterator > | Circulator |
typedef boost::reverse_iterator< Circulator > | ReverseCirculator |
typedef DGtal::Circulator< ConstIterator > | ConstCirculator |
typedef boost::reverse_iterator< ConstCirculator > | ConstReverseCirculator |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((boost::RandomAccessIterator< TIterator >)) | |
BOOST_CONCEPT_ASSERT ((boost::RandomAccessIterator< TConstIterator >)) | |
BOOST_CONCEPT_ASSERT ((boost::UnaryFunction< DistanceFunctor, typename DistanceFunctor::Difference, typename DistanceFunctor::Point >)) |
Private Attributes | |
TIterator | myBegin |
TIterator | myEnd |
DistanceFunctor | myDistance |
Aim: model of CBidirectionalRangeFromPoint that adapts any range of elements bounded by two iterators [itb, ite) and provides services to (circularly)iterate over it (in a read-only manner).
TIterator | the type of the iterator to adapt (at least bidirectional) |
DistanceFunctor | type of distance from point functor for random access container models. Models must have a Point and a Difference inner types. operator() returns a number of type Difference on instances of Point) |
Definition at line 74 of file SimpleRandomAccessRangeFromPoint.h.
typedef DGtal::Circulator<Iterator> DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::Circulator |
Definition at line 96 of file SimpleRandomAccessRangeFromPoint.h.
typedef DGtal::Circulator<ConstIterator> DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::ConstCirculator |
Definition at line 99 of file SimpleRandomAccessRangeFromPoint.h.
typedef TConstIterator DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::ConstIterator |
Definition at line 88 of file SimpleRandomAccessRangeFromPoint.h.
typedef boost::reverse_iterator<ConstCirculator> DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::ConstReverseCirculator |
Definition at line 100 of file SimpleRandomAccessRangeFromPoint.h.
typedef boost::reverse_iterator<ConstIterator> DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::ConstReverseIterator |
Definition at line 91 of file SimpleRandomAccessRangeFromPoint.h.
typedef TIterator DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::Iterator |
Definition at line 87 of file SimpleRandomAccessRangeFromPoint.h.
typedef TIterator DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::OutputIterator |
Definition at line 93 of file SimpleRandomAccessRangeFromPoint.h.
typedef DistanceFunctor::Point DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::Point |
Definition at line 85 of file SimpleRandomAccessRangeFromPoint.h.
typedef boost::reverse_iterator<Circulator> DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::ReverseCirculator |
Definition at line 97 of file SimpleRandomAccessRangeFromPoint.h.
typedef boost::reverse_iterator<Iterator> DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::ReverseIterator |
Definition at line 90 of file SimpleRandomAccessRangeFromPoint.h.
typedef boost::reverse_iterator<Iterator> DGtal::SimpleRandomAccessRangeFromPoint< TConstIterator, TIterator, DistanceFunctor >::ReverseOutputIterator |
Definition at line 94 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Standard constructor from two iterators and one functor.
itb | begin iterator. |
ite | end iterator. |
aDistance | functor used to adapt on-the-fly the elements of the range |
Definition at line 112 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Copy constructor.
other | the iterator to clone. |
Definition at line 121 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
|
inline |
Iterator service.
Definition at line 204 of file SimpleRandomAccessRangeFromPoint.h.
Referenced by DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::c(), DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::c(), drawingTestStabbingCircleComputer(), drawingTestStabbingLineComputer(), estimatorOnShapeDigitization(), main(), testCodesIterators(), testCompareEstimator(), testEval(), testFP(), testRecognition(), testSegmentation(), testSegmentation(), testSegmentationLarger(), testStabbingCircleComputer(), testStabbingLineComputer(), testTrueLocalEstimator(), and testTrueLocalEstimatorOnShapeDigitization().
|
inline |
Iterator service.
Definition at line 224 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Iterator service.
aPoint | a Point |
Definition at line 215 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Iterator service.
aPoint | a Point |
Definition at line 235 of file SimpleRandomAccessRangeFromPoint.h.
|
private |
|
private |
|
private |
|
inline |
Mutable circulator service.
Definition at line 359 of file SimpleRandomAccessRangeFromPoint.h.
Referenced by estimatorOnShapeDigitization(), main(), main(), DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::rc(), DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::rc(), testEval(), and testFP().
|
inline |
Constant circulator service.
Definition at line 377 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Definition at line 173 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Iterator service.
Definition at line 244 of file SimpleRandomAccessRangeFromPoint.h.
Referenced by DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::c(), DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::c(), drawingTestStabbingCircleComputer(), drawingTestStabbingLineComputer(), estimatorOnShapeDigitization(), main(), DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::rbegin(), DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::rbegin(), DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::routputIterator(), testCodesIterators(), testCompareEstimator(), testEval(), testFP(), testRecognition(), testSegmentation(), testSegmentation(), testSegmentationLarger(), testStabbingCircleComputer(), testStabbingLineComputer(), and testTrueLocalEstimatorOnShapeDigitization().
|
inline |
Iterator service.
Definition at line 253 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Checks the validity/consistency of the object.
Definition at line 151 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Assignment.
other | the iterator to copy. |
Definition at line 130 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
OutputIterator service.
Definition at line 262 of file SimpleRandomAccessRangeFromPoint.h.
Referenced by main(), and testImage().
|
inline |
OutputIterator service.
aPoint | a point |
Definition at line 272 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Iterator service.
Definition at line 300 of file SimpleRandomAccessRangeFromPoint.h.
Referenced by drawingTestStabbingCircleComputer(), main(), and testCodesIterators().
|
inline |
Iterator service.
Definition at line 330 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Iterator service.
aPoint | a Point |
Definition at line 310 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Iterator service.
aPoint | a Point |
Definition at line 340 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Reverse mutable circulator service.
Definition at line 368 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Reverse constant circulator service.
Definition at line 386 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Iterator service.
Definition at line 320 of file SimpleRandomAccessRangeFromPoint.h.
Referenced by drawingTestStabbingCircleComputer(), main(), testCodesIterators(), and testStabbingLineComputer().
|
inline |
Iterator service.
Definition at line 350 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
ReverseOutputIterator service.
Definition at line 281 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
ReverseOutputIterator service.
aPoint | a point |
Definition at line 291 of file SimpleRandomAccessRangeFromPoint.h.
|
inline |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
Definition at line 161 of file SimpleRandomAccessRangeFromPoint.h.
|
private |
Begin underlying iterator
Definition at line 185 of file SimpleRandomAccessRangeFromPoint.h.
Referenced by DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::operator=().
|
private |
Underlying distance function
Definition at line 194 of file SimpleRandomAccessRangeFromPoint.h.
Referenced by DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::begin(), DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::begin(), DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::operator=(), and DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::outputIterator().
|
private |
End underlying iterator
Definition at line 189 of file SimpleRandomAccessRangeFromPoint.h.
Referenced by DGtal::SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor >::operator=().