35 #if defined(DigitalSetBySTLVector_RECURSES)
36 #error Recursive header files inclusion detected in DigitalSetBySTLVector.h
39 #define DigitalSetBySTLVector_RECURSES
41 #if !defined DigitalSetBySTLVector_h
43 #define DigitalSetBySTLVector_h
50 #include "DGtal/base/Common.h"
51 #include "DGtal/base/CowPtr.h"
52 #include "DGtal/base/Clone.h"
53 #include "DGtal/base/Alias.h"
54 #include "DGtal/base/ConstAlias.h"
79 template <
typename TDomain>
89 typedef typename std::vector<Point>::iterator
Iterator;
161 template <
typename Po
intInputIterator>
162 void insert( PointInputIterator first, PointInputIterator last );
190 template <
typename Po
intInputIterator>
191 void insertNew( PointInputIterator first, PointInputIterator last );
288 template<
typename TOutputIterator >
375 template <
typename Domain>
385 #include "DGtal/kernel/sets/DigitalSetBySTLVector.ih"
392 #undef DigitalSetBySTLVector_RECURSES
Aim: This class encapsulates its parameter class to indicate that the given parameter is required to ...
Aim: Realizes the concept CDigitalSet by using the STL container std::vector.
Size erase(const Point &p)
void insert(PointInputIterator first, PointInputIterator last)
void insertNew(const Point &p)
std::vector< Point >::iterator MutableIterator
void computeBoundingBox(Point &lower, Point &upper) const
std::vector< Point >::const_iterator ConstIterator
const Container & container() const
std::string className() const
bool operator()(const Point &p) const
std::vector< Point >::iterator Iterator
std::vector< Point > myVector
DigitalSetBySTLVector & operator=(const DigitalSetBySTLVector &other)
DigitalSetBySTLVector< Domain > Self
DigitalSetBySTLVector(Clone< Domain > d)
std::vector< Point > Container
DigitalSetBySTLVector(const DigitalSetBySTLVector &other)
void insertNew(PointInputIterator first, PointInputIterator last)
const Domain & domain() const
Iterator find(const Point &p)
CowPtr< Domain > domainPointer() const
void computeComplement(TOutputIterator &ito) const
void erase(Iterator first, Iterator last)
void insert(const Point &p)
void selfDisplay(std::ostream &out) const
ConstIterator find(const Point &p) const
ConstIterator begin() const
void assignFromComplement(const DigitalSetBySTLVector< Domain > &other_set)
CowPtr< Domain > myDomain
ConstIterator end() const
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
Vector lower(const Vector &z, unsigned int k)
Vector upper(const Vector &z, unsigned int k)