Ponca
aa50bfdf187919869239c5b44b748842569114c1
Point Cloud Analysis library
|
Base class for any 3d curvature estimator: holds \(k_{\min}\), \(k_{\max}\) and associated vectors, such that \( k_{\min} <= k_{\max} \). More...
#include <curvature.h>
Public Types | |
using | Scalar = typename DataPoint::Scalar |
Alias to scalar type. | |
using | VectorType = typename Base::VectorType |
Alias to vector type. | |
using | WFunctor = typename Base::WFunctor |
Alias to weight function. | |
using | MatrixType = typename DataPoint::MatrixType |
Alias to matrix type. | |
Public Member Functions | |
CurvatureEstimatorBase< DataPoint, _WFunctor, DiffType, T > & | curvatureEstimatorBase () |
Explicit conversion to CurvatureEstimatorBase , to access methods potentially hidden by heritage. | |
const CurvatureEstimatorBase< DataPoint, _WFunctor, DiffType, T > & | curvatureEstimatorBase () const |
Explicit conversion to CurvatureEstimatorBase , to access methods potentially hidden by heritage. | |
void | init (const VectorType &_evalPos) |
Set the evaluation position and reset the internal states. | |
bool | isValid () const |
Returns true if contains valid curvature values (and not default ones) | |
Scalar | kmin () const |
Returns an estimate of the minimal principal curvature value. | |
Scalar | kmax () const |
Returns an estimate of the maximal principal curvature value. | |
VectorType | kminDirection () const |
Returns an estimate of the minimal principal curvature direction. | |
VectorType | kmaxDirection () const |
Returns an estimate of the maximal principal curvature direction. | |
Scalar | kMean () const |
Returns an estimate of the mean curvature. | |
Scalar | GaussianCurvature () const |
Returns an estimate of the Gaussian curvature. | |
Protected Types | |
enum | { PROVIDES_PRINCIPAL_CURVATURES } |
using | Base = T |
Base class of the procedure. | |
Protected Member Functions | |
void | setCurvatureValues (Scalar kmin, Scalar kmax, const VectorType &vmin, const VectorType &vmax) |
Set curvature values. To be called in finalize() by child classes. | |
Base class for any 3d curvature estimator: holds \(k_{\min}\), \(k_{\max}\) and associated vectors, such that \( k_{\min} <= k_{\max} \).
Definition at line 22 of file curvature.h.
|
protected |
Base class of the procedure.
Definition at line 24 of file curvature.h.
using Ponca::CurvatureEstimatorBase< DataPoint, _WFunctor, DiffType, T >::MatrixType = typename DataPoint::MatrixType |
Alias to matrix type.
Definition at line 25 of file curvature.h.
using Ponca::CurvatureEstimatorBase< DataPoint, _WFunctor, DiffType, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 24 of file curvature.h.
using Ponca::CurvatureEstimatorBase< DataPoint, _WFunctor, DiffType, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 24 of file curvature.h.
using Ponca::CurvatureEstimatorBase< DataPoint, _WFunctor, DiffType, T >::WFunctor = typename Base::WFunctor |
Alias to weight function.
Definition at line 24 of file curvature.h.
|
protected |
Definition at line 28 of file curvature.h.
|
inline |
Explicit conversion to CurvatureEstimatorBase , to access methods potentially hidden by heritage.
Definition at line 49 of file curvature.h.
|
inline |
Explicit conversion to CurvatureEstimatorBase , to access methods potentially hidden by heritage.
Definition at line 49 of file curvature.h.
|
inline |
Returns an estimate of the Gaussian curvature.
Definition at line 74 of file curvature.h.
|
inline |
Set the evaluation position and reset the internal states.
Definition at line 5 of file curvature.hpp.
|
inline |
Returns true if contains valid curvature values (and not default ones)
Definition at line 53 of file curvature.h.
|
inline |
Returns an estimate of the maximal principal curvature value.
Definition at line 62 of file curvature.h.
|
inline |
Returns an estimate of the maximal principal curvature direction.
Definition at line 68 of file curvature.h.
|
inline |
Returns an estimate of the mean curvature.
Definition at line 71 of file curvature.h.
|
inline |
Returns an estimate of the minimal principal curvature value.
Definition at line 59 of file curvature.h.
|
inline |
Returns an estimate of the minimal principal curvature direction.
Definition at line 65 of file curvature.h.
|
inlineprotected |
Set curvature values. To be called in finalize() by child classes.
If the given parameters are such that \( k_{\min} > k_{\max} \), then this method swap the two curvature values and directions and store them such that \( k_{\min} <= k_{\max} \).
Definition at line 17 of file curvature.hpp.