|
Ponca
4d2a58fa5c6375adef5c4b208f4d47e016cecd6d
Point Cloud Analysis library
|
Quadratic height field defined as \(h(u,v)=h_{uu}u^2 + h_{vv}v^2 + h_{uv}uv + h_u u + h_v v + h_c \). More...
#include <heightField.h>
Inheritance diagram for Ponca::QuadraticHeightField< DataPoint, _NFilter, T >:
Collaboration diagram for Ponca::QuadraticHeightField< 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 | HeightFieldCoefficients = Eigen::Matrix< Scalar, 6, 1 > |
Public Member Functions | |
| QuadraticHeightField () | |
| Default constructor. | |
| QuadraticHeightField< DataPoint, _NFilter, T > & | heightField () |
| Explicit conversion to QuadraticHeightField , to access methods potentially hidden by heritage. | |
| const QuadraticHeightField< DataPoint, _NFilter, T > & | heightField () const |
| Explicit conversion to QuadraticHeightField , to access methods potentially hidden by heritage. | |
| QuadraticHeightField< DataPoint, _NFilter, T > & | quadraticHeightField () |
| Explicit conversion to QuadraticHeightField , to access methods potentially hidden by heritage. | |
| const QuadraticHeightField< DataPoint, _NFilter, T > & | quadraticHeightField () const |
| Explicit conversion to QuadraticHeightField , to access methods potentially hidden by heritage. | |
| void | setQuadric (const HeightFieldCoefficients &coeffs) |
| Set the scalar field values. | |
| const HeightFieldCoefficients & | coeffs () const |
| void | init () |
| Set the scalar field values to 0. | |
| bool | isValid () const |
| Tell if the plane as been correctly set. Used to set CONFLICT_ERROR_FOUND during fitting. | |
| bool | operator== (const QuadraticHeightField< DataPoint, _NFilter, T > &other) const |
| bool | operator!= (const QuadraticHeightField< DataPoint, _NFilter, T > &other) const |
| Comparison operator, convenience function. | |
| Scalar | height (Scalar u, Scalar v) const |
| Height value at local uv. | |
| 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 |
| Scalar | dh_du (Scalar u=Scalar(0), Scalar v=Scalar(0)) const |
| Partial derivative \( \frac{\delta h }{\delta u} (u,v) = 2h_{uu} u + h_{uv} v + h_u \). | |
| Scalar | dh_dv (Scalar u=Scalar(0), Scalar v=Scalar(0)) const |
| Partial derivative \( \frac{\delta h }{\delta v} (u,v) = 2h_{vv} v + h_{uv} u + h_v \). | |
| Scalar | d2h_duu (Scalar u=Scalar(0), Scalar v=Scalar(0)) const |
| Second order partial derivative \( \frac{\delta h }{\delta u^2} (u,v) = 2h_{uu} \). | |
| Scalar | d2h_dvv (Scalar u=Scalar(0), Scalar v=Scalar(0)) const |
| Second order partial derivative \( \frac{\delta h }{\delta v} (u,v) = 2h_{vv} \). | |
Protected Types | |
| using | Base = T |
| Base class of the procedure. | |
Protected Attributes | |
| HeightFieldCoefficients | m_coeffs {HeightFieldCoefficients::Zero()} |
| Quadric parameters, stored as \([h_uu, h_vv, h_uv, h_u, h_v, h_c]\). | |
Quadratic height field defined as \(h(u,v)=h_{uu}u^2 + h_{vv}v^2 + h_{uv}uv + h_u u + h_v v + h_c \).
This primitive provides:
PROVIDES_QUADRIC_HEIGHTFIELD
Definition at line 82 of file heightField.h.
|
protected |
Base class of the procedure.
Definition at line 84 of file heightField.h.
| using Ponca::QuadraticHeightField< DataPoint, _NFilter, T >::HeightFieldCoefficients = Eigen::Matrix<Scalar, 6, 1> |
Definition at line 85 of file heightField.h.
| using Ponca::QuadraticHeightField< DataPoint, _NFilter, T >::NeighborFilter = typename Base::NeighborFilter |
Alias to the filter applied on the neighbors.
Definition at line 84 of file heightField.h.
| using Ponca::QuadraticHeightField< DataPoint, _NFilter, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 84 of file heightField.h.
| using Ponca::QuadraticHeightField< DataPoint, _NFilter, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 84 of file heightField.h.
|
inline |
Default constructor.
Definition at line 94 of file heightField.h.
|
inline |
Definition at line 102 of file heightField.h.
|
inline |
Second order partial derivative \( \frac{\delta h }{\delta u^2} (u,v) = 2h_{uu} \).
Definition at line 158 of file heightField.h.
|
inline |
Second order partial derivative \( \frac{\delta h }{\delta v} (u,v) = 2h_{vv} \).
Definition at line 164 of file heightField.h.
|
inline |
Partial derivative \( \frac{\delta h }{\delta u} (u,v) = 2h_{uu} u + h_{uv} v + h_u \).
Definition at line 146 of file heightField.h.
|
inline |
Partial derivative \( \frac{\delta h }{\delta v} (u,v) = 2h_{vv} v + h_{uv} u + h_v \).
Definition at line 152 of file heightField.h.
|
inline |
Definition at line 143 of file heightField.h.
|
inline |
Definition at line 141 of file heightField.h.
|
inline |
Definition at line 138 of file heightField.h.
|
inline |
Definition at line 140 of file heightField.h.
|
inline |
Definition at line 142 of file heightField.h.
|
inline |
Definition at line 139 of file heightField.h.
|
inline |
Height value at local uv.
Definition at line 133 of file heightField.h.
|
inline |
Explicit conversion to QuadraticHeightField , to access methods potentially hidden by heritage.
Definition at line 96 of file heightField.h.
|
inline |
Explicit conversion to QuadraticHeightField , to access methods potentially hidden by heritage.
Definition at line 96 of file heightField.h.
|
inline |
Set the scalar field values to 0.
Definition at line 105 of file heightField.h.
|
inline |
Tell if the plane as been correctly set. Used to set CONFLICT_ERROR_FOUND during fitting.
Definition at line 114 of file heightField.h.
|
inline |
Comparison operator, convenience function.
Definition at line 126 of file heightField.h.
|
inline |
Definition at line 119 of file heightField.h.
|
inline |
Explicit conversion to QuadraticHeightField , to access methods potentially hidden by heritage.
Definition at line 97 of file heightField.h.
|
inline |
Explicit conversion to QuadraticHeightField , to access methods potentially hidden by heritage.
Definition at line 97 of file heightField.h.
|
inline |
Set the scalar field values.
Definition at line 100 of file heightField.h.
|
protected |
Quadric parameters, stored as \([h_uu, h_vv, h_uv, h_u, h_v, h_c]\).
Definition at line 90 of file heightField.h.