35 #if defined(DigitalSetBySTLSet_RECURSES)
36 #error Recursive header files inclusion detected in DigitalSetBySTLSet.h
39 #define DigitalSetBySTLSet_RECURSES
41 #if !defined DigitalSetBySTLSet_h
43 #define DigitalSetBySTLSet_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"
55 #include "DGtal/kernel/domains/CDomain.h"
83 template <
typename TDomain,
typename TCompare = std::less<
typename TDomain::Po
int> >
94 typedef typename std::set<Point>::iterator
Iterator;
169 template <
typename Po
intInputIterator>
170 void insert( PointInputIterator first, PointInputIterator last );
193 template <
typename Po
intInputIterator>
194 void insertNew( PointInputIterator first, PointInputIterator last );
293 template<
typename TOutputIterator >
383 template <
typename Domain,
typename Compare>
392 #include "DGtal/kernel/sets/DigitalSetBySTLSet.ih"
399 #undef DigitalSetBySTLSet_RECURSES
Aim: This class encapsulates its parameter class to indicate that the given parameter is required to ...
Aim: A container class for storing sets of digital points within some given domain.
void selfDisplay(std::ostream &out) const
std::set< Point >::const_iterator ConstIterator
std::set< Point, Compare > mySet
void insert(const Point &p)
DigitalSetBySTLSet(Clone< Domain > d, const Compare &c=Compare())
CowPtr< Domain > domainPointer() const
void computeComplement(TOutputIterator &ito) const
std::set< Point > Container
ConstIterator end() const
bool operator()(const Point &p) const
CowPtr< Domain > myDomain
void insertNew(const Point &p)
const Container & container() const
void assignFromComplement(const DigitalSetBySTLSet< Domain, Compare > &other_set)
ConstIterator find(const Point &p) const
void insertNew(PointInputIterator first, PointInputIterator last)
Size erase(const Point &p)
void computeBoundingBox(Point &lower, Point &upper) const
void insert(PointInputIterator first, PointInputIterator last)
std::set< Point >::iterator Iterator
Iterator find(const Point &p)
DigitalSetBySTLSet< Domain, Compare > Self
BOOST_CONCEPT_ASSERT((concepts::CDomain< TDomain >))
Concept checks.
std::string className() const
const Domain & domain() const
DigitalSetBySTLSet(const DigitalSetBySTLSet &other)
DigitalSetBySTLSet & operator=(const DigitalSetBySTLSet &other)
void erase(Iterator first, Iterator last)
ConstIterator begin() 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)
Aim: This concept represents a digital domain, i.e. a non mutable subset of points of the given digit...
Vector lower(const Vector &z, unsigned int k)
Vector upper(const Vector &z, unsigned int k)