DGtal 1.3.0
|
Aim: this output iterator class is designed to allow algorithms to insert points in the digital set. Using the assignment operator, even when dereferenced, causes the digital set to insert a point. More...
#include <DGtal/kernel/sets/DigitalSetInserter.h>
Public Member Functions | |
DigitalSetInserter (TDigitalSet &aSet) | |
DigitalSetInserter< TDigitalSet > & | operator= (typename TDigitalSet::Point aPoint) |
DigitalSetInserter< TDigitalSet > & | operator* () |
DigitalSetInserter< TDigitalSet > & | operator++ () |
DigitalSetInserter< TDigitalSet > | operator++ (int) |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CDigitalSet< TDigitalSet >)) | |
Private Attributes | |
TDigitalSet * | mySet |
Aim: this output iterator class is designed to allow algorithms to insert points in the digital set. Using the assignment operator, even when dereferenced, causes the digital set to insert a point.
Description of template class 'DigitalSetInserter'
TDigitalSet | any model of CDigitalSet |
Definition at line 65 of file DigitalSetInserter.h.
|
inlineexplicit |
Constructor.
aSet | any digital set |
Definition at line 77 of file DigitalSetInserter.h.
|
private |
|
inline |
Dereference operator
Definition at line 94 of file DigitalSetInserter.h.
|
inline |
Pre-increment operator
Definition at line 100 of file DigitalSetInserter.h.
|
inline |
Post-increment operator
Definition at line 106 of file DigitalSetInserter.h.
|
inline |
Assignment operator.
aPoint | the point to insert |
Definition at line 87 of file DigitalSetInserter.h.
References aPoint(), and DGtal::DigitalSetInserter< TDigitalSet >::mySet.
|
private |
Aliasing pointer on the underlying set
Definition at line 115 of file DigitalSetInserter.h.
Referenced by DGtal::DigitalSetInserter< TDigitalSet >::operator=().