31 #if defined(DigitalSurface2DSlice_RECURSES)
32 #error Recursive header files inclusion detected in DigitalSurface2DSlice.h
35 #define DigitalSurface2DSlice_RECURSES
37 #if !defined DigitalSurface2DSlice_h
39 #define DigitalSurface2DSlice_h
45 #include "DGtal/base/Common.h"
46 #include "DGtal/base/Circulator.h"
47 #include "DGtal/topology/DigitalSurface.h"
48 #include "DGtal/topology/CDigitalSurfaceTracker.h"
92 template <
typename TDigitalSurfaceTracker>
294 template <
typename TDigitalSurfaceTracker>
303 #include "DGtal/topology/DigitalSurface2DSlice.ih"
310 #undef DigitalSurface2DSlice_RECURSES
Aim: Provides an adapter for classical iterators that can iterate through the underlying data structu...
Aim: Represents a 2-dimensional slice in a DigitalSurface. In a sense, it is a 4-connected contour,...
ConstCirculator cstart() const
ConstIterator begin() const
Size size() const
The number of surfels of this slice.
DigitalSurfaceContainer::KSpace KSpace
void selfDisplay(std::ostream &out) const
DigitalSurface2DSlice< DigitalSurfaceTracker > Self
ConstReverseIterator rbegin() const
DigitalSurfaceContainer::Size Size
std::deque< Surfel > Storage
TDigitalSurfaceTracker DigitalSurfaceTracker
ConstIterator start() const
Storage::const_reverse_iterator ConstReverseIterator
Circulator< ConstReverseIterator > ConstReverseCirculator
ConstReverseCirculator rc() const
ConstCirculator c() const
ConstIterator end() const
ConstReverseCirculator rcstart() const
Circulator< ConstIterator > ConstCirculator
DigitalSurfaceTracker::DigitalSurfaceContainer DigitalSurfaceContainer
DigitalSurface2DSlice & operator=(const DigitalSurface2DSlice &other)
bool init(DigitalSurfaceTracker *tracker, Dimension i)
BOOST_CONCEPT_ASSERT((concepts::CDigitalSurfaceTracker< DigitalSurfaceTracker >))
DigitalSurface< DigitalSurfaceContainer > TheDigitalSurface
std::deque< Surfel > mySurfels
The container that stores the surfels of this slice.
DigitalSurfaceContainer::Surfel Surfel
bool myIsClosed
Tells if the slice is closed (true) or open (false).
ConstReverseIterator rend() const
Storage::const_iterator ConstIterator
DigitalSurface2DSlice(const DigitalSurface2DSlice &other)
DigitalSurface2DSlice(DigitalSurfaceTracker *tracker, Dimension i)
ConstReverseIterator rstart() const
Aim: Represents a set of n-1-cells in a nD space, together with adjacency relation between these cell...
DGtal is the top-level namespace which contains all DGtal functions and types.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
DGtal::uint32_t Dimension
HalfEdgeDataStructure::Size Size