|
Ponca
8e4373a7fc557bbfb1afb9210d70f03872388d04
Point Cloud Analysis library
|
Extension to compute the best fit quadric on 3d points expressed as \(f(u,v)=h\). More...
#include <mongePatch.h>
Inheritance diagram for Ponca::MongePatch< DataPoint, _NFilter, T >:
Collaboration diagram for Ponca::MongePatch< DataPoint, _NFilter, T >:Public Types | |
| using | Scalar = typename DataPoint::Scalar |
| Alias to scalar type. | |
| using | VectorType = typename Base::VectorType |
| Alias to vector type. | |
| using | NeighborFilter = typename Base::NeighborFilter |
| Alias to the filter applied on the neighbors. | |
| using | SampleMatrix = Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > |
| using | Vector6 = Eigen::Matrix< Scalar, 6, 1 > |
Public Member Functions | |
| MongePatch< DataPoint, _NFilter, T > & | mongePatch () |
| Explicit conversion to MongePatch , to access methods potentially hidden by heritage. | |
| const MongePatch< DataPoint, _NFilter, T > & | mongePatch () const |
| Explicit conversion to MongePatch , to access methods potentially hidden by heritage. | |
| void | init () |
| Set the evaluation position and reset the internal states. | |
| bool | addLocalNeighbor (Scalar w, const VectorType &localQ, const DataPoint &attributes) |
| Add a neighbor to perform the fit. | |
| FIT_RESULT | finalize () |
| Finalize the procedure. | |
| Scalar | kMean () const |
| Returns an estimate of the mean curvature. | |
| Scalar | GaussianCurvature () const |
| Returns an estimate of the Gaussian curvature. | |
| Scalar | evalUV (Scalar u, Scalar v) const |
| Scalar | potential (const VectorType &_q, const bool=true) const |
| Value of the scalar field at the evaluation point. | |
| VectorType | project (const VectorType &_q) const |
| Orthogonal projecting on the patch, such that h = f(u,v) | |
| const Scalar & | h_uu () const |
| const Scalar & | h_vv () const |
| const Scalar & | h_uv () const |
| const Scalar & | h_u () const |
| const Scalar & | h_v () const |
| const Scalar & | h_c () const |
Protected Types | |
| enum | { Check = Base::PROVIDES_PLANE && Base::PROVIDES_TANGENT_PLANE_BASIS } |
| using | Base = T |
| Base class of the procedure. | |
Protected Attributes | |
| SampleMatrix | m_A |
| Quadric input samples. | |
| Vector6 | m_x {Vector6::Zero()} |
| Quadric parameters. | |
| Vector6 | m_b {Vector6::Zero()} |
| Observations. | |
| bool | m_planeIsReady {false} |
Extension to compute the best fit quadric on 3d points expressed as \(f(u,v)=h\).
Definition at line 27 of file mongePatch.h.
|
protected |
Base class of the procedure.
Definition at line 29 of file mongePatch.h.
| using Ponca::MongePatch< DataPoint, _NFilter, T >::NeighborFilter = typename Base::NeighborFilter |
Alias to the filter applied on the neighbors.
Definition at line 29 of file mongePatch.h.
| using Ponca::MongePatch< DataPoint, _NFilter, T >::SampleMatrix = Eigen::Matrix<Scalar,Eigen::Dynamic,Eigen::Dynamic> |
Definition at line 35 of file mongePatch.h.
| using Ponca::MongePatch< DataPoint, _NFilter, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 29 of file mongePatch.h.
| using Ponca::MongePatch< DataPoint, _NFilter, T >::Vector6 = Eigen::Matrix<Scalar,6,1> |
Definition at line 36 of file mongePatch.h.
| using Ponca::MongePatch< DataPoint, _NFilter, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 29 of file mongePatch.h.
|
protected |
Definition at line 32 of file mongePatch.h.
|
inline |
Add a neighbor to perform the fit.
Definition at line 19 of file mongePatch.hpp.
|
inline |
Definition at line 54 of file mongePatch.h.
|
inline |
Finalize the procedure.
Definition at line 47 of file mongePatch.hpp.
|
inline |
Returns an estimate of the Gaussian curvature.
Definition at line 85 of file mongePatch.hpp.
|
inline |
Definition at line 78 of file mongePatch.h.
|
inline |
Definition at line 76 of file mongePatch.h.
|
inline |
Definition at line 73 of file mongePatch.h.
|
inline |
Definition at line 75 of file mongePatch.h.
|
inline |
Definition at line 77 of file mongePatch.h.
|
inline |
Definition at line 74 of file mongePatch.h.
|
inline |
Set the evaluation position and reset the internal states.
Definition at line 8 of file mongePatch.hpp.
|
inline |
Returns an estimate of the mean curvature.
Definition at line 74 of file mongePatch.hpp.
|
inline |
Explicit conversion to MongePatch , to access methods potentially hidden by heritage.
Definition at line 45 of file mongePatch.h.
|
inline |
Explicit conversion to MongePatch , to access methods potentially hidden by heritage.
Definition at line 45 of file mongePatch.h.
|
inline |
Value of the scalar field at the evaluation point.
#isSigned of the plane fit to check if the sign is reliable Definition at line 60 of file mongePatch.h.
|
inline |
Orthogonal projecting on the patch, such that h = f(u,v)
Definition at line 66 of file mongePatch.h.
|
protected |
Quadric input samples.
Definition at line 39 of file mongePatch.h.
|
protected |
Observations.
Definition at line 41 of file mongePatch.h.
|
protected |
Definition at line 43 of file mongePatch.h.
|
protected |
Quadric parameters.
Definition at line 40 of file mongePatch.h.