34#if defined(ElementaryConvolutionNormalVectorEstimator_RECURSES)
35#error Recursive header files inclusion detected in ElementaryConvolutionNormalVectorEstimator.h
38#define ElementaryConvolutionNormalVectorEstimator_RECURSES
40#if !defined ElementaryConvolutionNormalVectorEstimator_h
42#define ElementaryConvolutionNormalVectorEstimator_h
47#include <DGtal/base/Common.h>
48#include <DGtal/topology/SCellsFunctors.h>
74 template <
typename TSurfel,
typename TEmbedder>
81 typedef typename SCellEmbedder::RealPoint
RealPoint;
103 const double aDistance)
107 elementary[ i ] =
myEmbedder->space().sDirect ( aSurf, i ) ? 1 : -1;
153#undef ElementaryConvolutionNormalVectorEstimator_RECURSES
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
Aim: Estimates normal vector by convolution of elementary normal vector to adjacent surfel.
SCellEmbedder::RealPoint RealPoint
RealPoint myWeightedVector
Array of CGAL points.
const SCellEmbedder * myEmbedder
Alias of the geometrical embedder.
void pushSurfel(const Surfel &aSurf, const double aDistance)
ElementaryConvolutionNormalVectorEstimator(ConstAlias< SCellEmbedder > anEmbedder, const double h)
DGtal is the top-level namespace which contains all DGtal functions and types.
DGtal::uint32_t Dimension