20 #pragma GCC diagnostic ignored "-Wunused-parameter"
36 #if defined(CDigitalSetArchetype_RECURSES)
37 #error Recursive header files inclusion detected in CDigitalSetArchetype.h
40 #define CDigitalSetArchetype_RECURSES
42 #if !defined CDigitalSetArchetype_h
44 #define CDigitalSetArchetype_h
51 #include "DGtal/base/Common.h"
52 #include "DGtal/base/CountedPtr.h"
53 #include "DGtal/kernel/sets/CDigitalSet.h"
71 template <
typename TDomain>
151 template <
typename Po
intInputIterator>
152 void insert( PointInputIterator first, PointInputIterator last ) {}
175 template <
typename Po
intInputIterator>
176 void insertNew( PointInputIterator first, PointInputIterator last ) {}
272 template<
typename TOutputIterator >
321 #undef CDigitalSetArchetype_RECURSES
Aim: The archetype of a container class for storing sets of digital points within some given domain.
void insert(PointInputIterator first, PointInputIterator last)
ConstIterator begin() const
void insert(const Point &p)
ConstIterator find(const Point &p) const
CDigitalSetArchetype(const Domain &d)
void selfDisplay(std::ostream &out) const
bool operator()(const Point &p) const
void insertNew(const Point &p)
void erase(Iterator first, Iterator last)
CDigitalSetArchetype & operator=(const CDigitalSetArchetype &other)
CowPtr< Domain > domainPointer() const
CDigitalSetArchetype(const CDigitalSetArchetype &other)
void insertNew(PointInputIterator first, PointInputIterator last)
ConstIterator end() const
void computeComplement(TOutputIterator &ito) const
void assignFromComplement(const CDigitalSetArchetype< Domain > &other_set)
const Domain & domain() const
Size erase(const Point &p)
void computeBoundingBox(Point &lower, Point &upper) const
CSinglePassIteratorArchetype< Point > Iterator
Iterator find(const Point &p)
DGtal is the top-level namespace which contains all DGtal functions and types.
An archetype of SingePassIterator.
Vector lower(const Vector &z, unsigned int k)
Vector upper(const Vector &z, unsigned int k)