31 #if defined(LocalConvolutionNormalVectorEstimator_RECURSES)
32 #error Recursive header files inclusion detected in LocalConvolutionNormalVectorEstimator.h
35 #define LocalConvolutionNormalVectorEstimator_RECURSES
37 #if !defined LocalConvolutionNormalVectorEstimator_h
39 #define LocalConvolutionNormalVectorEstimator_h
44 #include "DGtal/base/ConstAlias.h"
45 #include "DGtal/kernel/PointVector.h"
46 #include "DGtal/base/CountedPtr.h"
47 #include "DGtal/graph/BreadthFirstVisitor.h"
48 #include "DGtal/topology/DigitalSurface.h"
49 #include "DGtal/geometry/surfaces/estimation/CConvolutionWeights.h"
83 template <
typename TDigitalSurface,
typename TKernelFunctor>
128 const unsigned int radius);
145 template <
typename OutputIterator>
148 OutputIterator result)
const;
155 template <
typename OutputIterator>
156 OutputIterator
evalAll( OutputIterator result )
const;
220 #include "DGtal/geometry/surfaces/estimation/LocalConvolutionNormalVectorEstimator.ih"
227 #undef LocalConvolutionNormalVectorEstimator_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
DigitalSurfaceContainer::SurfelConstIterator ConstIterator
DigitalSurfaceContainer::SCell SCell
Aim: Computes the normal vector at a surface element by convolution of elementary normal vector to ad...
bool myFlagIsInit
True if the init() has been called.
~LocalConvolutionNormalVectorEstimator()
const DigitalSurface & mySurface
Reference to the digital surface.
LocalConvolutionNormalVectorEstimator(const LocalConvolutionNormalVectorEstimator &other)
const KernelFunctor & myKernelFunctor
Reference of the kernel convolution functor.
LocalConvolutionNormalVectorEstimator()
LocalConvolutionNormalVectorEstimator(ConstAlias< DigitalSurface > aSurface, ConstAlias< KernelFunctor > aFunctor)
void init(const double h, const unsigned int radius)
OutputIterator eval(const ConstIterator &itb, const ConstIterator &ite, OutputIterator result) const
BOOST_CONCEPT_ASSERT((concepts::CConvolutionWeights< TKernelFunctor >))
Quantity eval(const SCell &scell) const
Surface::KSpace::Space::RealVector Quantity
OutputIterator evalAll(OutputIterator result) const
TKernelFunctor KernelFunctor
Quantity eval(const ConstIterator &it) const
unsigned int myRadius
Radius of the convolution.
TDigitalSurface DigitalSurface
LocalConvolutionNormalVectorEstimator & operator=(const LocalConvolutionNormalVectorEstimator &other)
Surface::ConstIterator ConstIterator
const Surface & surface() const
Space::RealVector RealVector
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: defines models of centered convolution kernel used for normal vector integration for instance.