|
Ponca
5b0151ad2869758185d699615c3cca5855cc2cee
Point Cloud Analysis library
|
Corrected Normal Current Fit type. More...
#include <cnc.h>
Inheritance diagram for Ponca::CNC< P, _method >:
Collaboration diagram for Ponca::CNC< P, _method >:Public Types | |
| using | DataPoint = P |
| using | MatrixType = typename DataPoint::MatrixType |
| using | Scalar = typename DataPoint::Scalar |
| using | VectorType = typename DataPoint::VectorType |
| typedef Eigen::VectorXd | DenseVector |
| typedef Eigen::MatrixXd | DenseMatrix |
| using | NeighborFilter = NeighborFilterStoreNormal< DataPoint, NoWeightFunc< DataPoint > > |
Public Member Functions | |
| FIT_RESULT | finalize () |
| Finalize the procedure. | |
| void | init () |
| Set the scalar field values to 0 and reset the isNormalized() status. | |
| template<typename PointContainer > | |
| FIT_RESULT | compute (const PointContainer &points) |
| Compute function for STL-like containers. | |
| template<typename IndexRange , typename PointContainer > | |
| FIT_RESULT | computeWithIds (const IndexRange &ids, const PointContainer &points) |
| Compute function that iterates over a subset of sampled points from an STL-Like container. | |
| size_t | getNumTriangles () const |
| Get the number of triangles that were generated with the compute method. | |
| void | setNeighborFilter (const NeighborFilter &_nFilter) |
| Init the WeightFunc, without changing the other internal states. | |
| std::vector< internal::Triangle< DataPoint > > & | getTriangles () |
| Returns the triangles. | |
| bool | operator== (const CNC &other) const |
| Comparison operator. | |
| bool | operator!= (const CNC &other) const |
| Comparison operator, convenience function. | |
| bool | isApprox (const CNC &other, const Scalar &epsilon=Eigen::NumTraits< Scalar >::dummy_precision()) const |
| Approximate operator. | |
| bool | isStable () const |
| Is the fitted primitive ready to use (finalize has been called and the result is stable) | |
| 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 } |
Protected Attributes | |
| NeighborFilter | m_nFilter |
| int | m_nb_vt {0} |
| std::vector< internal::Triangle< DataPoint > > | m_triangles |
| Scalar | m_A {0} |
| Scalar | m_H {0} |
| Scalar | m_G {0} |
| Scalar | m_T11 {0} |
| Scalar | m_T12 {0} |
| Scalar | m_T13 {0} |
| Scalar | m_T22 {0} |
| Scalar | m_T23 {0} |
| Scalar | m_T33 {0} |
| Scalar | m_k1 {0} |
| Scalar | m_k2 {0} |
| VectorType | m_v1 |
| VectorType | m_v2 |
| FIT_RESULT | m_eCurrentState {UNDEFINED} |
| Represent the current state of the fit (finalize function update the state) | |
Corrected Normal Current Fit type.
This fitting method generates triangles from a set a points cloud and use a statistical formula to compute :
| using Ponca::CNC< P, _method >::DataPoint = P |
| typedef Eigen::MatrixXd Ponca::CNC< P, _method >::DenseMatrix |
| typedef Eigen::VectorXd Ponca::CNC< P, _method >::DenseVector |
| using Ponca::CNC< P, _method >::MatrixType = typename DataPoint::MatrixType |
| using Ponca::CNC< P, _method >::NeighborFilter = NeighborFilterStoreNormal<DataPoint, NoWeightFunc<DataPoint> > |
| using Ponca::CNC< P, _method >::Scalar = typename DataPoint::Scalar |
| using Ponca::CNC< P, _method >::VectorType = typename DataPoint::VectorType |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get the number of triangles that were generated with the compute method.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |