Ponca
aa50bfdf187919869239c5b44b748842569114c1
Point Cloud Analysis library
|
Plane fitting procedure using only points position. More...
#include <covariancePlaneFit.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 | |
CovariancePlaneFitImpl< DataPoint, _WFunctor, T > & | covariancePlaneFit () |
Explicit conversion to CovariancePlaneFitImpl , to access methods potentially hidden by heritage. | |
const CovariancePlaneFitImpl< DataPoint, _WFunctor, T > & | covariancePlaneFit () const |
Explicit conversion to CovariancePlaneFitImpl , to access methods potentially hidden by heritage. | |
FIT_RESULT | finalize () |
Finalize the procedure. | |
constexpr bool | isSigned () |
Is scalar field signed. | |
template<bool ignoreTranslation = false> | |
VectorType | worldToTangentPlane (const VectorType &_q) const |
Express a point in ambient space relatively to the tangent plane. | |
template<bool ignoreTranslation = false> | |
VectorType | tangentPlaneToWorld (const VectorType &_q) const |
Transform a point from the tangent plane [h, u, v]^T to ambient space. | |
template<bool ignoreTranslation> | |
CovariancePlaneFitImpl< DataPoint, _WFunctor, T >::VectorType | worldToTangentPlane (const VectorType &_q) const |
template<bool ignoreTranslation> | |
CovariancePlaneFitImpl< DataPoint, _WFunctor, T >::VectorType | tangentPlaneToWorld (const VectorType &_lq) const |
Protected Types | |
enum | { Check , PROVIDES_TANGENT_PLANE_BASIS } |
using | Base = T |
Base class of the procedure. | |
Plane fitting procedure using only points position.
This class can also computes the surface variation measure introduced in [12].
Definition at line 33 of file covariancePlaneFit.h.
|
protected |
Base class of the procedure.
Definition at line 35 of file covariancePlaneFit.h.
using Ponca::CovariancePlaneFitImpl< DataPoint, _WFunctor, T >::MatrixType = typename DataPoint::MatrixType |
Alias to matrix type.
Definition at line 36 of file covariancePlaneFit.h.
using Ponca::CovariancePlaneFitImpl< DataPoint, _WFunctor, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 35 of file covariancePlaneFit.h.
using Ponca::CovariancePlaneFitImpl< DataPoint, _WFunctor, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 35 of file covariancePlaneFit.h.
using Ponca::CovariancePlaneFitImpl< DataPoint, _WFunctor, T >::WFunctor = typename Base::WFunctor |
Alias to weight function.
Definition at line 35 of file covariancePlaneFit.h.
|
protected |
Enumerator | |
---|---|
PROVIDES_TANGENT_PLANE_BASIS | Expose a method worldToTangentPlane(VectorType), which turns a point in ambient 3D space to the tangent plane. |
Definition at line 39 of file covariancePlaneFit.h.
|
inline |
Explicit conversion to CovariancePlaneFitImpl , to access methods potentially hidden by heritage.
Definition at line 53 of file covariancePlaneFit.h.
|
inline |
Explicit conversion to CovariancePlaneFitImpl , to access methods potentially hidden by heritage.
Definition at line 53 of file covariancePlaneFit.h.
|
inline |
Finalize the procedure.
Definition at line 12 of file covariancePlaneFit.hpp.
|
inlineconstexpr |
Is scalar field signed.
If not, the method the sign of potential()
must be ignored
Definition at line 55 of file covariancePlaneFit.h.
CovariancePlaneFitImpl< DataPoint, _WFunctor, T >::VectorType Ponca::CovariancePlaneFitImpl< DataPoint, _WFunctor, T >::tangentPlaneToWorld | ( | const VectorType & | _lq | ) | const |
Definition at line 38 of file covariancePlaneFit.hpp.
|
inline |
Transform a point from the tangent plane [h, u, v]^T to ambient space.
ignoreTranslation | must be set to true when passing vectors instead of points |
_q | Point coordinates expressed in local tangent frame |
|
inline |
Express a point in ambient space relatively to the tangent plane.
Output vector is: [h, u, v]^T, where u, v are 2d coordinates on the plane, and h the height of the sample.
ignoreTranslation | must be set to true when passing vectors instead of points |
_q | Point coordinates expressed in ambient space |
CovariancePlaneFitImpl< DataPoint, _WFunctor, T >::VectorType Ponca::CovariancePlaneFitImpl< DataPoint, _WFunctor, T >::worldToTangentPlane | ( | const VectorType & | _q | ) | const |
Definition at line 25 of file covariancePlaneFit.hpp.