DGtal 2.1.0
|
[includes] More...
Public Types | |
typedef MyImage< T, N > | Self |
typedef DGtal::IteratorCompletionTraits< Self >::Iterator | Iterator |
typedef DGtal::IteratorCompletionTraits< Self >::ConstIterator | ConstIterator |
typedef T | Value |
typedef DGtal::SpaceND< N > | Space |
typedef DGtal::HyperRectDomain< Space > | Domain |
typedef Space::Point | Point |
typedef DGtal::Linearizer< Domain, DGtal::ColMajorStorage > | Linearizer |
Linearization of the points. | |
![]() | |
typedef IteratorCompletionTraits< MyImage< T, N > >::Iterator | Iterator |
Mutable iterator type. | |
typedef IteratorCompletionTraits< MyImage< T, N > >::ConstIterator | ConstIterator |
Constant iterator type. | |
typedef IteratorCompletionTraits< MyImage< T, N > >::DistanceFunctor | DistanceFunctor |
Type of the functor calculating the distance between iterators. | |
typedef boost::reverse_iterator< Iterator > | ReverseIterator |
Mutable reverse iterator type. | |
typedef boost::reverse_iterator< ConstIterator > | ConstReverseIterator |
Constant reverse iterator type. | |
typedef SimpleRandomAccessRangeFromPoint< ConstIterator, Iterator, DistanceFunctor > | Range |
Mutable range type. | |
typedef SimpleRandomAccessConstRangeFromPoint< ConstIterator, DistanceFunctor > | ConstRange |
Constant range type. | |
typedef std::ptrdiff_t | Difference |
Type of the distance between two iterators. | |
Public Member Functions | |
MyImage (Domain const &aDomain=Domain()) | |
~MyImage () | |
Value | operator() (Point const &aPoint) const |
[MyImageHeader] | |
Value | getValue (Point const &aPoint) const |
void | setValue (Point const &aPoint, Value const &aValue) |
Domain const & | domain () const |
Self & | operator= (Self const &other) |
Iterator | begin () |
[CImageBasicInterface] | |
ConstIterator | begin () const |
Iterator | end () |
ConstIterator | end () const |
![]() | |
ReverseIterator | rbegin () |
ConstReverseIterator | rbegin () const |
ConstReverseIterator | crbegin () const |
ReverseIterator | rend () |
ConstReverseIterator | rend () const |
ConstReverseIterator | crend () const |
Range | range () |
ConstRange | constRange () const |
Private Attributes | |
Domain | myDomain |
[BasicIteratorInterface] | |
T * | myData |
Additional Inherited Members | |
![]() | |
~IteratorCompletion () | |
Protected destructor to avoid memory leak. | |
[includes]
[includes] [MyImageHeader]
Definition at line 48 of file exampleIteratorCompletion.cpp.
typedef DGtal::IteratorCompletionTraits<Self>::ConstIterator MyImage< T, N >::ConstIterator |
Definition at line 56 of file exampleIteratorCompletion.cpp.
typedef DGtal::HyperRectDomain<Space> MyImage< T, N >::Domain |
Definition at line 60 of file exampleIteratorCompletion.cpp.
typedef DGtal::IteratorCompletionTraits<Self>::Iterator MyImage< T, N >::Iterator |
Definition at line 55 of file exampleIteratorCompletion.cpp.
typedef DGtal::Linearizer<Domain, DGtal::ColMajorStorage> MyImage< T, N >::Linearizer |
Linearization of the points.
Definition at line 62 of file exampleIteratorCompletion.cpp.
typedef Space::Point MyImage< T, N >::Point |
Definition at line 61 of file exampleIteratorCompletion.cpp.
typedef MyImage<T, N> MyImage< T, N >::Self |
Definition at line 54 of file exampleIteratorCompletion.cpp.
typedef DGtal::SpaceND<N> MyImage< T, N >::Space |
Definition at line 59 of file exampleIteratorCompletion.cpp.
typedef T MyImage< T, N >::Value |
Definition at line 58 of file exampleIteratorCompletion.cpp.
|
inline |
Definition at line 65 of file exampleIteratorCompletion.cpp.
|
inline |
Definition at line 70 of file exampleIteratorCompletion.cpp.
References MyImage< T, N >::myData.
|
inline |
[CImageBasicInterface]
[BasicIteratorInterface]
Definition at line 122 of file exampleIteratorCompletion.cpp.
References MyImage< T, N >::myData.
Referenced by MyImage< T, N >::operator=().
|
inline |
Definition at line 128 of file exampleIteratorCompletion.cpp.
References MyImage< T, N >::myData.
|
inline |
Definition at line 98 of file exampleIteratorCompletion.cpp.
References MyImage< T, N >::myDomain.
Referenced by MyImage< T, N >::operator=().
|
inline |
Definition at line 134 of file exampleIteratorCompletion.cpp.
References MyImage< T, N >::myData, MyImage< T, N >::myDomain, and DGtal::HyperRectDomain< TSpace >::size().
Referenced by MyImage< T, N >::operator=().
|
inline |
Definition at line 140 of file exampleIteratorCompletion.cpp.
References MyImage< T, N >::myData, MyImage< T, N >::myDomain, and DGtal::HyperRectDomain< TSpace >::size().
|
inline |
Definition at line 86 of file exampleIteratorCompletion.cpp.
References aPoint, and MyImage< T, N >::operator()().
|
inline |
[MyImageHeader]
[CImageBasicInterface]
Definition at line 80 of file exampleIteratorCompletion.cpp.
References aPoint, MyImage< T, N >::myData, and MyImage< T, N >::myDomain.
Referenced by MyImage< T, N >::getValue().
|
inline |
Definition at line 104 of file exampleIteratorCompletion.cpp.
References MyImage< T, N >::begin(), MyImage< T, N >::domain(), MyImage< T, N >::end(), MyImage< T, N >::myData, MyImage< T, N >::myDomain, and DGtal::HyperRectDomain< TSpace >::size().
|
inline |
Definition at line 92 of file exampleIteratorCompletion.cpp.
References aPoint, MyImage< T, N >::myData, and MyImage< T, N >::myDomain.
Referenced by testImageCopyShort().
|
private |
Definition at line 150 of file exampleIteratorCompletion.cpp.
Referenced by MyImage< T, N >::begin(), MyImage< T, N >::begin(), MyImage< T, N >::end(), MyImage< T, N >::end(), MyImage< T, N >::operator()(), MyImage< T, N >::operator=(), MyImage< T, N >::setValue(), and MyImage< T, N >::~MyImage().
|
private |
[BasicIteratorInterface]
[PrivateMembers]
Definition at line 149 of file exampleIteratorCompletion.cpp.
Referenced by MyImage< T, N >::domain(), MyImage< T, N >::end(), MyImage< T, N >::end(), MyImage< T, N >::operator()(), MyImage< T, N >::operator=(), and MyImage< T, N >::setValue().