34 #if defined(GaussDigitizer_RECURSES)
35 #error Recursive header files inclusion detected in GaussDigitizer.h
36 #else // defined(GaussDigitizer_RECURSES)
38 #define GaussDigitizer_RECURSES
40 #if !defined GaussDigitizer_h
42 #define GaussDigitizer_h
47 #include "DGtal/base/Common.h"
48 #include "DGtal/base/ConstAlias.h"
49 #include "DGtal/base/CountedConstPtrOrConstPtr.h"
50 #include "DGtal/kernel/domains/HyperRectDomain.h"
51 #include "DGtal/kernel/RegularPointEmbedder.h"
52 #include "DGtal/shapes/CEuclideanOrientedShape.h"
53 #include "DGtal/shapes/CEuclideanBoundedShape.h"
78 template <
typename TSpace,
typename TEucl
ideanShape>
276 template <
typename TSpace,
typename TEucl
ideanShape>
286 #include "DGtal/shapes/GaussDigitizer.ih"
291 #endif // !defined GaussDigitizer_h
293 #undef GaussDigitizer_RECURSES
294 #endif // else defined(GaussDigitizer_RECURSES)
Aim: A class for computing the Gauss digitization of some Euclidean shape, i.e. its intersection with...
Space::RealPoint RealPoint
Orientation orientation(const Point &p) const
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
GaussDigitizer & operator=(const GaussDigitizer &other)
const Point & getUpperBound() const
Vector resolution() const
void selfDisplay(std::ostream &out) const
const PointEmbedder & pointEmbedder() const
void attach(ConstAlias< EuclideanShape > shape)
TEuclideanShape EuclideanShape
RegularPointEmbedder< Space > myPointEmbedder
The embedder.
Point ceil(const RealPoint &p) const
TEuclideanRing Component
Type for Vector elements.
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &object)
void init(const RealPoint &xLow, const RealPoint &xUp, typename RealVector::Component gridStep)
HyperRectDomain< Space > Domain
Aim: characterizes models of digital oriented shapes. For example, models should provide an orientati...
DGtal is the top-level namespace which contains all DGtal functions and types.
Point floor(const RealPoint &p) const
bool operator()(const Point &p) const
FreemanChain< int >::Vector Vector
CountedConstPtrOrConstPtr< EuclideanShape > myEShape
The referenced shape or 0 if not initialized.
Point round(const RealPoint &p) const
RegularPointEmbedder< Space > PointEmbedder
RealPoint embed(const Point &p) const
Point myUpperPoint
Digital uppest point.
TInteger Integer
Arithmetic ring induced by (+,-,*) and Integer numbers.
const Point & getLowerBound() const
Space::RealPoint RealVector
RealVector gridSteps() const
Point myLowerPoint
Digital lowest point.
BOOST_CONCEPT_ASSERT((concepts::CEuclideanOrientedShape< TEuclideanShape >))