31 #if defined(DigitalSurfaceEmbedderWithNormalVectorEstimator_RECURSES)
32 #error Recursive header files inclusion detected in DigitalSurfaceEmbedderWithNormalVectorEstimator.h
33 #else // defined(DigitalSurfaceEmbedderWithNormalVectorEstimator_RECURSES)
35 #define DigitalSurfaceEmbedderWithNormalVectorEstimator_RECURSES
37 #if !defined DigitalSurfaceEmbedderWithNormalVectorEstimator_h
39 #define DigitalSurfaceEmbedderWithNormalVectorEstimator_h
44 #include "DGtal/base/Common.h"
45 #include "DGtal/base/ConstAlias.h"
46 #include "DGtal/kernel/NumberTraits.h"
47 #include "DGtal/topology/CDigitalSurfaceEmbedder.h"
54 template <
typename TDigitalSurfaceEmbedder,
55 typename TNormalVectorEstimator >
56 class DigitalSurfaceEmbedderWithNormalVectorEstimatorGradientMap;
72 template <
typename TDigitalSurfaceEmbedder,
73 typename TNormalVectorEstimator >
78 < TDigitalSurfaceEmbedder, TNormalVectorEstimator >
Self;
85 typedef typename DigitalSurfaceEmbedder::Surface
Surface;
86 typedef typename DigitalSurfaceEmbedder::SCell
SCell;
88 typedef typename DigitalSurfaceEmbedder::Argument
Argument;
93 typedef typename NormalVectorEstimator::Quantity
Quantity;
94 typedef typename NormalVectorEstimator::DigitalSurface
NVESurface;
128 (
const Self & other );
215 template <
typename TDigitalSurfaceEmbedder,
216 typename TNormalVectorEstimator >
244 (
const Self & other );
274 template <
typename TDigitalSurfaceEmbedder,
typename TNormalVectorEstimator >
284 #include "DGtal/geometry/surfaces/estimation/DigitalSurfaceEmbedderWithNormalVectorEstimator.ih"
289 #endif // !defined DigitalSurfaceEmbedderWithNormalVectorEstimator_h
291 #undef DigitalSurfaceEmbedderWithNormalVectorEstimator_RECURSES
292 #endif // else defined(DigitalSurfaceEmbedderWithNormalVectorEstimator_RECURSES)
DigitalSurfaceEmbedder::RealPoint RealPoint
const Embedder * myEmbedder
The digital surface embedder with normal vector estimator.
DigitalSurfaceEmbedderWithNormalVectorEstimator(const Self &other)
DigitalSurfaceEmbedder::Surface Surface
DigitalSurfaceEmbedder::Argument Argument
RealPoint operator()(const SCell &scell) const
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: A digital surface embedder is a specialized mapping from signed cells to Euclidean points....
void selfDisplay(std::ostream &out) const
TDigitalSurfaceEmbedder DigitalSurfaceEmbedder
Value operator()(const Argument &arg) const
DigitalSurfaceEmbedderWithNormalVectorEstimator()
BOOST_STATIC_ASSERT((concepts::ConceptUtils::SameType< Surface, NVESurface >::value))
const DigitalSurfaceEmbedder * myDSEmbedder
A pointer on the digital surface.
DigitalSurfaceEmbedderWithNormalVectorEstimatorGradientMap()
Default constructor. The object is not valid.
Embedder::RealVector Value
DigitalSurfaceEmbedderWithNormalVectorEstimatorGradientMap< DigitalSurfaceEmbedder, NormalVectorEstimator > GradientMap
const KSpace & space() const
const NormalVectorEstimator * myEstimator
A pointer on the normal vector estimator.
TNormalVectorEstimator NormalVectorEstimator
DigitalSurfaceEmbedderWithNormalVectorEstimator< TDigitalSurfaceEmbedder, TNormalVectorEstimator > Self
NormalVectorEstimator::Quantity Quantity
DGtal is the top-level namespace which contains all DGtal functions and types.
TDigitalSurfaceEmbedder DigitalSurfaceEmbedder
Self & operator=(const Self &other)
Assignment.
DigitalSurfaceEmbedder::Value Value
Aim: Combines a digital surface embedder with a normal vector estimator to get a model of CDigitalSur...
DigitalSurfaceEmbedderWithNormalVectorEstimator< DigitalSurfaceEmbedder, NormalVectorEstimator > Embedder
DigitalSurfaceEmbedderWithNormalVectorEstimator(ConstAlias< DigitalSurfaceEmbedder > aDSEmbedder, ConstAlias< NormalVectorEstimator > anEstimator)
DigitalSurfaceEmbedderWithNormalVectorEstimatorGradientMap(const Self &other)
GradientMap gradientMap() const
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
Self & operator=(const Self &other)
RealVector gradient(const SCell &scell) const
TNormalVectorEstimator NormalVectorEstimator
NormalVectorEstimator::DigitalSurface NVESurface
Space::RealVector RealVector
DigitalSurfaceEmbedderWithNormalVectorEstimatorGradientMap(ConstAlias< Embedder > embedder)
DigitalSurfaceEmbedder::KSpace KSpace
~DigitalSurfaceEmbedderWithNormalVectorEstimator()
Aim: Implements basic operations that will be used in Point and Vector classes.
BOOST_CONCEPT_ASSERT((concepts::CDigitalSurfaceEmbedder< TDigitalSurfaceEmbedder >))
BOOST_STATIC_ASSERT((concepts::ConceptUtils::SameType< RealVector, Quantity >::value))
DigitalSurfaceEmbedder::SCell SCell
const Surface & surface() const
BOOST_CONCEPT_ASSERT((concepts::CDigitalSurfaceEmbedder< TDigitalSurfaceEmbedder >))
~DigitalSurfaceEmbedderWithNormalVectorEstimatorGradientMap()
Destructor. Does nothing.
DigitalSurfaceEmbedderWithNormalVectorEstimatorGradientMap< TDigitalSurfaceEmbedder, TNormalVectorEstimator > Self