34 #if defined(ElementaryConvolutionNormalVectorEstimator_RECURSES)
35 #error Recursive header files inclusion detected in ElementaryConvolutionNormalVectorEstimator.h
36 #else // defined(ElementaryConvolutionNormalVectorEstimator_RECURSES)
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>
103 const double aDistance)
107 elementary[ i ] =
myEmbedder->space().sDirect ( aSurf, i ) ? 1 : -1;
151 #endif // !defined ElementaryConvolutionNormalVectorEstimator_h
153 #undef ElementaryConvolutionNormalVectorEstimator_RECURSES
154 #endif // else defined(ElementaryConvolutionNormalVectorEstimator_RECURSES)
Aim: Estimates normal vector by convolution of elementary normal vector to adjacent surfel.
SCellEmbedder::RealPoint RealPoint
Aim: This class encapsulates its parameter class so that to indicate to the user that the object/poin...
DGtal::uint32_t Dimension
void pushSurfel(const Surfel &aSurf, const double aDistance)
RealPoint myWeightedVector
Array of CGAL points.
DGtal is the top-level namespace which contains all DGtal functions and types.
ElementaryConvolutionNormalVectorEstimator(ConstAlias< SCellEmbedder > anEmbedder, const double h)
const SCellEmbedder * myEmbedder
Alias of the geometrical embedder.