|
Ponca
94e4a36411c3364f6192f97adfa8ceee67834d6e
Point Cloud Analysis library
|
Quadratic height field defined as \(h(u,v)=h_{uu}u^2 + h_{vv}v^2 + h_{uv}uv + h_c \). More...
#include <heightField.h>
Inheritance diagram for Ponca::RestrictedQuadraticHeightField< DataPoint, _NFilter, T >:
Collaboration diagram for Ponca::RestrictedQuadraticHeightField< 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, 4, 1 > |
Public Member Functions | |
| RestrictedQuadraticHeightField () | |
| Default constructor. | |
| RestrictedQuadraticHeightField< DataPoint, _NFilter, T > & | quadraticHeightField () |
| Explicit conversion to RestrictedQuadraticHeightField , to access methods potentially hidden by heritage. | |
| const RestrictedQuadraticHeightField< DataPoint, _NFilter, T > & | quadraticHeightField () const |
| Explicit conversion to RestrictedQuadraticHeightField , 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 RestrictedQuadraticHeightField< DataPoint, _NFilter, T > &other) const |
| bool | operator!= (const RestrictedQuadraticHeightField< 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_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\). | |
| 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\). | |
| 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} \). | |
| Scalar | d2h_duv (Scalar u=Scalar(0), Scalar v=Scalar(0)) const |
| Second order partial derivative \( \frac{\delta }{\delta v} (\frac{\delta h }{\delta u}) (u,v) = h_{uv} \). | |
| VectorType | heightTangentULocal (const VectorType &_localQ) const |
| Local tangent vector in the direction of \(u\). | |
| VectorType | heightTangentVLocal (const VectorType &_localQ) const |
| Local tangent vector in the direction of \(v\). | |
Protected Types | |
| enum | { Check = Base::PROVIDES_HEIGHTFIELD , PROVIDES_RESTRICTED_QUADRIC_HEIGHTFIELD } |
| 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]\). | |
Quadratic height field defined as \(h(u,v)=h_{uu}u^2 + h_{vv}v^2 + h_{uv}uv + h_c \).
In contrast to QuadraticHeightField, this version does not hold the linear and constant terms are they are expected to be obtained from the support plane
This primitive provides:
PROVIDES_QUADRIC_HEIGHTFIELD
Definition at line 172 of file heightField.h.
|
protected |
Base class of the procedure.
Definition at line 174 of file heightField.h.
| using Ponca::RestrictedQuadraticHeightField< DataPoint, _NFilter, T >::HeightFieldCoefficients = Eigen::Matrix<Scalar,4,1> |
Definition at line 175 of file heightField.h.
| using Ponca::RestrictedQuadraticHeightField< DataPoint, _NFilter, T >::NeighborFilter = typename Base::NeighborFilter |
Alias to the filter applied on the neighbors.
Definition at line 174 of file heightField.h.
| using Ponca::RestrictedQuadraticHeightField< DataPoint, _NFilter, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 174 of file heightField.h.
| using Ponca::RestrictedQuadraticHeightField< DataPoint, _NFilter, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 174 of file heightField.h.
|
protected |
| Enumerator | |
|---|---|
| PROVIDES_RESTRICTED_QUADRIC_HEIGHTFIELD | Provides quadric heightfield API. |
Definition at line 179 of file heightField.h.
|
inline |
Default constructor.
Definition at line 189 of file heightField.h.
|
inline |
Definition at line 196 of file heightField.h.
|
inline |
Second order partial derivative \( \frac{\delta h }{\delta u^2} (u,v) = 2h_{uu} \).
Definition at line 240 of file heightField.h.
|
inline |
Second order partial derivative \( \frac{\delta }{\delta v} (\frac{\delta h }{\delta u}) (u,v) = h_{uv} \).
Definition at line 248 of file heightField.h.
|
inline |
Second order partial derivative \( \frac{\delta h }{\delta v} (u,v) = 2h_{vv} \).
Definition at line 244 of file heightField.h.
|
inline |
Partial derivative \( \frac{\delta h }{\delta u} (u,v) = 2h_{uu} u + h_{uv} v\).
Definition at line 232 of file heightField.h.
|
inline |
Partial derivative \( \frac{\delta h }{\delta v} (u,v) = 2h_{vv} v + h_{uv} u\).
Definition at line 236 of file heightField.h.
|
inline |
Definition at line 229 of file heightField.h.
|
inline |
Definition at line 226 of file heightField.h.
|
inline |
Definition at line 228 of file heightField.h.
|
inline |
Definition at line 227 of file heightField.h.
|
inline |
Height value at local uv.
Definition at line 222 of file heightField.h.
|
inline |
Local tangent vector in the direction of \(u\).
Definition at line 252 of file heightField.h.
|
inline |
Local tangent vector in the direction of \(v\).
Definition at line 258 of file heightField.h.
|
inline |
Set the scalar field values to 0.
Definition at line 199 of file heightField.h.
|
inline |
Tell if the plane as been correctly set. Used to set CONFLICT_ERROR_FOUND during fitting.
Definition at line 208 of file heightField.h.
|
inline |
Comparison operator, convenience function.
Definition at line 217 of file heightField.h.
|
inline |
Definition at line 212 of file heightField.h.
|
inline |
Explicit conversion to RestrictedQuadraticHeightField , to access methods potentially hidden by heritage.
Definition at line 191 of file heightField.h.
|
inline |
Explicit conversion to RestrictedQuadraticHeightField , to access methods potentially hidden by heritage.
Definition at line 191 of file heightField.h.
|
inline |
Set the scalar field values.
Definition at line 194 of file heightField.h.
|
protected |
Quadric parameters, stored as \([h_uu, h_vv, h_uv]\).
Definition at line 184 of file heightField.h.