31#if defined(Expander_RECURSES)
32#error Recursive header files inclusion detected in Expander.h
35#define Expander_RECURSES
37#if !defined Expander_h
44#include "DGtal/base/Common.h"
45#include "DGtal/base/ConstAlias.h"
46#include "DGtal/kernel/sets/DigitalSetSelector.h"
47#include "DGtal/kernel/sets/DigitalSetDomain.h"
48#include "DGtal/topology/DomainAdjacency.h"
49#include "DGtal/topology/Object.h"
96 template <
typename TObject>
143 template <
typename Po
intInputIterator>
145 PointInputIterator b, PointInputIterator e );
311 template <
typename T>
320#include "DGtal/graph/Expander.ih"
327#undef Expander_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: A wrapper class around a STL associative container for storing sets of digital points within som...
Container::const_iterator ConstIterator
ConstIterator type of the container;.
Aim: Constructs a domain limited to the given digital set.
Aim: Given a domain and an adjacency, limits the given adjacency to the specified domain for all adja...
Aim: This class is useful to visit an object by adjacencies, layer by layer.
ObjectAdjacency myObjectAdjacency
CoreDomain::Predicate InCoreDomainPredicate
ConstIterator end() const
ObjectDomain myObjectDomain
DigitalSetDomain< DigitalSet > CoreDomain
Expander(const Expander &other)
DomainAdjacency< ObjectDomain, ForegroundAdjacency > ObjectAdjacency
Object::DigitalSet DigitalSet
DigitalSetDomain< DigitalSet > ObjectDomain
void computeNextLayer(const DigitalSet &src)
const Domain & myEmbeddingDomain
const DigitalSet & core() const
ConstIterator begin() const
Expander(ConstAlias< Object > object, PointInputIterator b, PointInputIterator e)
DigitalSet::ConstIterator ConstIterator
Expander(ConstAlias< Object > object, const Point &p)
Object::ForegroundAdjacency ForegroundAdjacency
functors::NotPointPredicate< InCoreDomainPredicate > NotInCoreDomainPredicate
const DigitalSet & layer() const
Expander & operator=(const Expander &other)
void selfDisplay(std::ostream &out) const
NotInCoreDomainPredicate myNotInCorePred
DigitalSet::Domain Domain
DigitalTopology::ForegroundAdjacency ForegroundAdjacency
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)