DGtal
1.5.beta
|
Aim: Estimates Gaussian curvature using CGAL Jet Fitting and Monge Form. More...
#include <DGtal/geometry/surfaces/estimation/estimationFunctors/MongeJetFittingPrincipalCurvaturesEstimator.h>
Public Types | |
typedef TSurfel | Surfel |
typedef TEmbedder | SCellEmbedder |
typedef std::pair< double, 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 | |
MongeJetFittingPrincipalCurvaturesEstimator (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. More... | |
std::vector< CGALPoint > | myPoints |
Array of CGAL points. More... | |
double | myH |
Grid Step. More... | |
unsigned int | myD |
Degree of the polynomial surface to fit. More... | |
Aim: Estimates Gaussian curvature using CGAL Jet Fitting and Monge Form.
Description of template class 'MongeJetFittingPrincipalCurvaturesEstimator'
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 MongeJetFittingPrincipalCurvaturesEstimator.h.
typedef CGAL::Cartesian<double> DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::CGALKernel |
Definition at line 86 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
typedef CGALMongeViaJet::Monge_form DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::CGALMongeForm |
Definition at line 89 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
typedef CGAL::Monge_via_jet_fitting<CGALKernel> DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::CGALMongeViaJet |
Definition at line 88 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
typedef CGALKernel::Point_3 DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::CGALPoint |
Definition at line 87 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
typedef std::pair<double, double> DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::Quantity |
Definition at line 83 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
typedef SCellEmbedder::RealPoint DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::RealPoint |
Definition at line 84 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
typedef TEmbedder DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::SCellEmbedder |
Definition at line 82 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
typedef TSurfel DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::Surfel |
Definition at line 81 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
|
inline |
Constructor.
anEmbedder | embedder to map surfel to R^n. |
h | gridstep |
d | degree of the polynomial surface to fit. |
Definition at line 99 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
|
inline |
Evaluate the curvature from Monge form.
Definition at line 126 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
References DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::myD, and DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< 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 MongeJetFittingPrincipalCurvaturesEstimator.h.
References DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::myEmbedder, DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::myH, and DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::myPoints.
|
inline |
Reset the point list.
Definition at line 145 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
References DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::myPoints.
|
private |
Degree of the polynomial surface to fit.
Definition at line 163 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
Referenced by DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::eval().
|
private |
Alias of the geometrical embedder.
Definition at line 154 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
Referenced by DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::pushSurfel().
|
private |
Grid Step.
Definition at line 160 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
Referenced by DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::pushSurfel().
|
private |
Array of CGAL points.
Definition at line 157 of file MongeJetFittingPrincipalCurvaturesEstimator.h.
Referenced by DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::eval(), DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::pushSurfel(), and DGtal::functors::MongeJetFittingPrincipalCurvaturesEstimator< TSurfel, TEmbedder >::reset().