|
DGtal 2.0.0
|
Aim: Estimates normal vector using CGAL linear least squares plane fitting. More...
Public Types | |
| typedef TSurfel | Surfel |
| typedef TEmbedder | SCellEmbedder |
| typedef SCellEmbedder::RealPoint | RealPoint |
| typedef RealPoint | Quantity |
| typedef CGAL::Cartesian< double > | CGALKernel |
| typedef CGALKernel::Point_3 | CGALPoint |
| typedef CGALKernel::Plane_3 | CGALPlane |
| typedef CGALKernel::Vector_3 | CGALVector |
Public Member Functions | |
| LinearLeastSquareFittingNormalVectorEstimator (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. | |
| std::vector< CGALPoint > | myPoints |
| Array of CGAL points. | |
| double | myH |
| Grid Step. | |
Aim: Estimates normal vector using CGAL linear least squares plane fitting.
Description of template class 'LinearLeastSquareFittingNormalVectorEstimator'
model of concepts::CLocalEstimatorFromSurfelFunctor
| TSurfel | type of surfels |
| TEmbedder | type of functors which embed surfel to R^3 |
Definition at line 79 of file LinearLeastSquareFittingNormalVectorEstimator.h.
| typedef CGAL::Cartesian<double> DGtal::functors::LinearLeastSquareFittingNormalVectorEstimator< TSurfel, TEmbedder >::CGALKernel |
Definition at line 88 of file LinearLeastSquareFittingNormalVectorEstimator.h.
| typedef CGALKernel::Plane_3 DGtal::functors::LinearLeastSquareFittingNormalVectorEstimator< TSurfel, TEmbedder >::CGALPlane |
Definition at line 90 of file LinearLeastSquareFittingNormalVectorEstimator.h.
| typedef CGALKernel::Point_3 DGtal::functors::LinearLeastSquareFittingNormalVectorEstimator< TSurfel, TEmbedder >::CGALPoint |
Definition at line 89 of file LinearLeastSquareFittingNormalVectorEstimator.h.
| typedef CGALKernel::Vector_3 DGtal::functors::LinearLeastSquareFittingNormalVectorEstimator< TSurfel, TEmbedder >::CGALVector |
Definition at line 91 of file LinearLeastSquareFittingNormalVectorEstimator.h.
| typedef RealPoint DGtal::functors::LinearLeastSquareFittingNormalVectorEstimator< TSurfel, TEmbedder >::Quantity |
Definition at line 86 of file LinearLeastSquareFittingNormalVectorEstimator.h.
| typedef SCellEmbedder::RealPoint DGtal::functors::LinearLeastSquareFittingNormalVectorEstimator< TSurfel, TEmbedder >::RealPoint |
Definition at line 85 of file LinearLeastSquareFittingNormalVectorEstimator.h.
| typedef TEmbedder DGtal::functors::LinearLeastSquareFittingNormalVectorEstimator< TSurfel, TEmbedder >::SCellEmbedder |
Definition at line 84 of file LinearLeastSquareFittingNormalVectorEstimator.h.
| typedef TSurfel DGtal::functors::LinearLeastSquareFittingNormalVectorEstimator< TSurfel, TEmbedder >::Surfel |
Definition at line 83 of file LinearLeastSquareFittingNormalVectorEstimator.h.
|
inline |
Constructor.
| anEmbedder | embedder to map surfel to R^n. |
| h | gridstep. |
Definition at line 99 of file LinearLeastSquareFittingNormalVectorEstimator.h.
References myEmbedder, and myH.
|
inline |
Evaluate the normal vector from linear least squares fitting.
Definition at line 124 of file LinearLeastSquareFittingNormalVectorEstimator.h.
References myPoints.
|
inline |
Add the geometrical embedding of a surfel to the point list
| aSurf | a surfel to add |
| aDistance | distance to the origin surfel |
Definition at line 110 of file LinearLeastSquareFittingNormalVectorEstimator.h.
References myEmbedder, and myPoints.
|
inline |
Reset the point list.
Definition at line 137 of file LinearLeastSquareFittingNormalVectorEstimator.h.
References myPoints.
|
private |
Alias of the geometrical embedder.
Definition at line 146 of file LinearLeastSquareFittingNormalVectorEstimator.h.
Referenced by LinearLeastSquareFittingNormalVectorEstimator(), and pushSurfel().
|
private |
Grid Step.
Definition at line 152 of file LinearLeastSquareFittingNormalVectorEstimator.h.
Referenced by LinearLeastSquareFittingNormalVectorEstimator().
|
private |
Array of CGAL points.
Definition at line 149 of file LinearLeastSquareFittingNormalVectorEstimator.h.
Referenced by eval(), pushSurfel(), and reset().