DGtal 1.4.0
|
Aim: Estimates Gaussian curvature using CGAL Jet Fitting and Monge Form. More...
#include <DGtal/geometry/surfaces/estimation/estimationFunctors/MongeJetFittingGaussianCurvatureEstimator.h>
Public Types | |
typedef TSurfel | Surfel |
typedef TEmbedder | SCellEmbedder |
typedef double | Quantity |
typedef SCellEmbedder::RealPoint | RealPoint |
typedef CGAL::Cartesian< double > | CGALKernel |
typedef CGALKernel::Point_3 | CGALPoint |
typedef CGAL::Monge_via_jet_fitting< CGALKernel > | CGALMongeViaJet |
typedef CGALMongeViaJet::Monge_form | CGALMongeForm |
Public Member Functions | |
MongeJetFittingGaussianCurvatureEstimator (ConstAlias< SCellEmbedder > anEmbedder, const double h, unsigned int d=4) | |
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. | |
unsigned int | myD |
Degree of the polynomial surface to fit. | |
Aim: Estimates Gaussian curvature using CGAL Jet Fitting and Monge Form.
Description of template class 'MongeJetFittingGaussianCurvatureEstimator'
model of concepts::CLocalEstimatorFromSurfelFunctor.
TSurfel | type of surfels |
TEmbedder | type of functors which embed surfel to \( \mathbb{R}^3\) |
Definition at line 77 of file MongeJetFittingGaussianCurvatureEstimator.h.
typedef CGAL::Cartesian<double> DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::CGALKernel |
Definition at line 86 of file MongeJetFittingGaussianCurvatureEstimator.h.
typedef CGALMongeViaJet::Monge_form DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::CGALMongeForm |
Definition at line 89 of file MongeJetFittingGaussianCurvatureEstimator.h.
typedef CGAL::Monge_via_jet_fitting<CGALKernel> DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::CGALMongeViaJet |
Definition at line 88 of file MongeJetFittingGaussianCurvatureEstimator.h.
typedef CGALKernel::Point_3 DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::CGALPoint |
Definition at line 87 of file MongeJetFittingGaussianCurvatureEstimator.h.
typedef double DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::Quantity |
Definition at line 83 of file MongeJetFittingGaussianCurvatureEstimator.h.
typedef SCellEmbedder::RealPoint DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::RealPoint |
Definition at line 84 of file MongeJetFittingGaussianCurvatureEstimator.h.
typedef TEmbedder DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::SCellEmbedder |
Definition at line 82 of file MongeJetFittingGaussianCurvatureEstimator.h.
typedef TSurfel DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::Surfel |
Definition at line 81 of file MongeJetFittingGaussianCurvatureEstimator.h.
|
inline |
Constructor.
anEmbedder | embedder to map surfel to R^n. |
h | gridstep |
d | degree of the polynomial surface to fit. |
Definition at line 98 of file MongeJetFittingGaussianCurvatureEstimator.h.
|
inline |
Evaluate the curvature from Monge form.
Definition at line 126 of file MongeJetFittingGaussianCurvatureEstimator.h.
References DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::myD, and DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::myPoints.
|
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 111 of file MongeJetFittingGaussianCurvatureEstimator.h.
References DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::myEmbedder, DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::myH, and DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::myPoints.
|
inline |
Reset the point list.
Definition at line 142 of file MongeJetFittingGaussianCurvatureEstimator.h.
References DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::myPoints.
|
private |
Degree of the polynomial surface to fit.
Definition at line 160 of file MongeJetFittingGaussianCurvatureEstimator.h.
Referenced by DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::eval().
|
private |
Alias of the geometrical embedder.
Definition at line 151 of file MongeJetFittingGaussianCurvatureEstimator.h.
Referenced by DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::pushSurfel().
|
private |
Grid Step.
Definition at line 157 of file MongeJetFittingGaussianCurvatureEstimator.h.
Referenced by DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::pushSurfel().
|
private |
Array of CGAL points.
Definition at line 154 of file MongeJetFittingGaussianCurvatureEstimator.h.
Referenced by DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::eval(), DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::pushSurfel(), and DGtal::functors::MongeJetFittingGaussianCurvatureEstimator< TSurfel, TEmbedder >::reset().