|
DGtal
0.6.devel
|
#include <SetValueIterator.h>
Public Types | |
| typedef TImage | Image |
Public Member Functions | |
| BOOST_CONCEPT_ASSERT ((CTrivialImage< Image >)) | |
| SetValueIterator (const TIteratorOnPts &aItOnPts, Image &aImg) | |
| SetValueIterator (Image &aImg) | |
| SetValueIterator (const SetValueIterator &other) | |
| ~SetValueIterator () | |
| SetValueIterator & | operator= (const typename Image::Value &aValue) |
| SetValueIterator & | operator* () |
| SetValueIterator & | operator++ () |
| SetValueIterator | operator++ (int) |
Private Attributes | |
| Image * | myImg |
| TIteratorOnPts | myItOnPts |
Aim: implements an output iterator, which is able to write values in an underlying image, by calling its setValue method.
Description of template class 'SetValueIterator'
| TImage | a model of CSetValueImage |
Definition at line 67 of file SetValueIterator.h.
| typedef TImage DGtal::SetValueIterator< TImage, TIteratorOnPts >::Image |
Definition at line 73 of file SetValueIterator.h.
|
inline |
Constructor.
| aItOnPts | an iterator on points |
| aImg | any image passed by reference |
Definition at line 84 of file SetValueIterator.h.
|
inline |
Overloaded constructor, which can be used with the default template argument.
| aImg | any image passed by reference |
Definition at line 92 of file SetValueIterator.h.
|
inline |
|
inline |
| DGtal::SetValueIterator< TImage, TIteratorOnPts >::BOOST_CONCEPT_ASSERT | ( | (CTrivialImage< Image >) | ) |
|
inline |
Dereference operator
Definition at line 125 of file SetValueIterator.h.
|
inline |
Pre-increment operator
Definition at line 131 of file SetValueIterator.h.
References DGtal::SetValueIterator< TImage, TIteratorOnPts >::myItOnPts.
|
inline |
Post-increment operator
Definition at line 137 of file SetValueIterator.h.
References DGtal::SetValueIterator< TImage, TIteratorOnPts >::myItOnPts.
|
inline |
Assignment
| aValue | any value |
Definition at line 115 of file SetValueIterator.h.
References DGtal::SetValueIterator< TImage, TIteratorOnPts >::myImg, and DGtal::SetValueIterator< TImage, TIteratorOnPts >::myItOnPts.
|
private |
Aliasing pointer on the underlying image
Definition at line 161 of file SetValueIterator.h.
Referenced by DGtal::SetValueIterator< TImage, TIteratorOnPts >::operator=().
|
private |
Iterator on points that scan the domain of the underlying image
Definition at line 166 of file SetValueIterator.h.
Referenced by DGtal::SetValueIterator< TImage, TIteratorOnPts >::operator++(), and DGtal::SetValueIterator< TImage, TIteratorOnPts >::operator=().
1.8.1.1