DGtal
1.4.2
|
Aim: Estimates normal vector by convolution of elementary normal vector to adjacent surfel. More...
#include <DGtal/geometry/surfaces/estimation/estimationFunctors/ElementaryConvolutionNormalVectorEstimator.h>
Public Types | |
typedef TSurfel | Surfel |
typedef TEmbedder | SCellEmbedder |
typedef SCellEmbedder::RealPoint | RealPoint |
typedef RealPoint | Quantity |
Public Member Functions | |
ElementaryConvolutionNormalVectorEstimator (ConstAlias< SCellEmbedder > anEmbedder, const double h) | |
void | pushSurfel (const Surfel &aSurf, const double aDistance) |
Quantity | eval () |
void | reset () |
Private Attributes | |
const SCellEmbedder * | myEmbedder |
Alias of the geometrical embedder. More... | |
RealPoint | myWeightedVector |
Array of CGAL points. More... | |
double | myH |
Aim: Estimates normal vector by convolution of elementary normal vector to adjacent surfel.
Description of template class 'ElementaryConvolutionNormalVectorEstimator'
To each \(n-1\) signed surfel, an elementary inward normal vector can be defined. At a given surfel, this functor will compute the weighted average of elementary normal vectors in the neighborihood.
Model of CLocalEstimatorFromSurfelFunctor.
TSurfel | type of surfels |
TEmbedder | type of functors which embed surfel to \( \mathbb{R}^3\) |
Definition at line 75 of file ElementaryConvolutionNormalVectorEstimator.h.
typedef RealPoint DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::Quantity |
Definition at line 82 of file ElementaryConvolutionNormalVectorEstimator.h.
typedef SCellEmbedder::RealPoint DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::RealPoint |
Definition at line 81 of file ElementaryConvolutionNormalVectorEstimator.h.
typedef TEmbedder DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::SCellEmbedder |
Definition at line 80 of file ElementaryConvolutionNormalVectorEstimator.h.
typedef TSurfel DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::Surfel |
Definition at line 79 of file ElementaryConvolutionNormalVectorEstimator.h.
|
inline |
Constructor.
anEmbedder | embedder to map surfel to R^n. |
h | grid step |
Definition at line 90 of file ElementaryConvolutionNormalVectorEstimator.h.
|
inline |
Evaluate the normal vector from Monge form.
Definition at line 117 of file ElementaryConvolutionNormalVectorEstimator.h.
References DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::myWeightedVector.
|
inline |
Add the geometrical embedding of a surfel to the point list
aSurf | a surfel to add |
aDistance | distance of aSurf to the neighborhood boundary |
Definition at line 102 of file ElementaryConvolutionNormalVectorEstimator.h.
References DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::myEmbedder, and DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::myWeightedVector.
|
inline |
Reset the point list.
Definition at line 126 of file ElementaryConvolutionNormalVectorEstimator.h.
References DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::myWeightedVector.
|
private |
Alias of the geometrical embedder.
Definition at line 135 of file ElementaryConvolutionNormalVectorEstimator.h.
Referenced by DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::pushSurfel().
|
private |
Definition at line 141 of file ElementaryConvolutionNormalVectorEstimator.h.
|
private |
Array of CGAL points.
Definition at line 138 of file ElementaryConvolutionNormalVectorEstimator.h.
Referenced by DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::eval(), DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::pushSurfel(), and DGtal::functors::ElementaryConvolutionNormalVectorEstimator< TSurfel, TEmbedder >::reset().