|
DGtal 2.0.0
|
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. | |
| RealPoint | myWeightedVector |
| Array of CGAL points. | |
| 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.
References myEmbedder, and myH.
|
inline |
Evaluate the normal vector from Monge form.
Definition at line 117 of file ElementaryConvolutionNormalVectorEstimator.h.
References 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 myEmbedder, and myWeightedVector.
|
inline |
Reset the point list.
Definition at line 126 of file ElementaryConvolutionNormalVectorEstimator.h.
References myWeightedVector.
|
private |
Alias of the geometrical embedder.
Definition at line 135 of file ElementaryConvolutionNormalVectorEstimator.h.
Referenced by ElementaryConvolutionNormalVectorEstimator(), and pushSurfel().
|
private |
Definition at line 141 of file ElementaryConvolutionNormalVectorEstimator.h.
Referenced by ElementaryConvolutionNormalVectorEstimator().
|
private |
Array of CGAL points.
Definition at line 138 of file ElementaryConvolutionNormalVectorEstimator.h.
Referenced by eval(), pushSurfel(), and reset().