|
DGtal 1.4.0
|
Aim: implements an output iterator, which is able to write values in an underlying image, by calling its setValue method. More...
#include <DGtal/images/SetValueIterator.h>
Public Types | |
| using | iterator_category = std::output_iterator_tag |
| using | value_type = void |
| using | difference_type = void |
| using | pointer = void |
| using | reference = void |
| typedef TImage | Image |
Public Member Functions | |
| BOOST_CONCEPT_ASSERT ((concepts::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.
| using DGtal::SetValueIterator< TImage, TIteratorOnPts >::difference_type = void |
Definition at line 74 of file SetValueIterator.h.
| typedef TImage DGtal::SetValueIterator< TImage, TIteratorOnPts >::Image |
Definition at line 78 of file SetValueIterator.h.
| using DGtal::SetValueIterator< TImage, TIteratorOnPts >::iterator_category = std::output_iterator_tag |
Definition at line 72 of file SetValueIterator.h.
| using DGtal::SetValueIterator< TImage, TIteratorOnPts >::pointer = void |
Definition at line 75 of file SetValueIterator.h.
| using DGtal::SetValueIterator< TImage, TIteratorOnPts >::reference = void |
Definition at line 76 of file SetValueIterator.h.
| using DGtal::SetValueIterator< TImage, TIteratorOnPts >::value_type = void |
Definition at line 73 of file SetValueIterator.h.
|
inline |
Constructor.
| aItOnPts | an iterator on points |
| aImg | any image passed by reference |
Definition at line 89 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 97 of file SetValueIterator.h.
|
inline |
Copy constructor.
| other | the object to clone. |
Definition at line 104 of file SetValueIterator.h.
|
inline |
| DGtal::SetValueIterator< TImage, TIteratorOnPts >::BOOST_CONCEPT_ASSERT | ( | (concepts::CTrivialImage< Image >) | ) |
|
inline |
Dereference operator
Definition at line 130 of file SetValueIterator.h.
|
inline |
Pre-increment operator
Definition at line 136 of file SetValueIterator.h.
References DGtal::SetValueIterator< TImage, TIteratorOnPts >::myItOnPts.
|
inline |
Post-increment operator
Definition at line 142 of file SetValueIterator.h.
References DGtal::SetValueIterator< TImage, TIteratorOnPts >::myItOnPts.
|
inline |
Assignment
| aValue | any value |
Definition at line 120 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 166 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 171 of file SetValueIterator.h.
Referenced by DGtal::SetValueIterator< TImage, TIteratorOnPts >::operator++(), DGtal::SetValueIterator< TImage, TIteratorOnPts >::operator++(), and DGtal::SetValueIterator< TImage, TIteratorOnPts >::operator=().