|
Ponca
8e4373a7fc557bbfb1afb9210d70f03872388d04
Point Cloud Analysis library
|
Plane fitting procedure using only points position. More...
#include <covariancePlaneFit.h>
Inheritance diagram for Ponca::CovariancePlaneFitImpl< DataPoint, _NFilter, T >:
Collaboration diagram for Ponca::CovariancePlaneFitImpl< 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 | MatrixType = typename DataPoint::MatrixType |
| Alias to matrix type. | |
Public Member Functions | |
| CovariancePlaneFitImpl< DataPoint, _NFilter, T > & | covariancePlaneFit () |
| Explicit conversion to CovariancePlaneFitImpl , to access methods potentially hidden by heritage. | |
| const CovariancePlaneFitImpl< DataPoint, _NFilter, 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. | |
| VectorType | worldToTangentPlane (const VectorType &_q) const |
| Express a point in ambient space relatively to the tangent plane. | |
| VectorType | tangentPlaneToWorld (const VectorType &_q) const |
| Transform a point from the tangent plane [h, u, v]^T to ambient space. | |
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 [13].
Definition at line 34 of file covariancePlaneFit.h.
|
protected |
Base class of the procedure.
Definition at line 36 of file covariancePlaneFit.h.
| using Ponca::CovariancePlaneFitImpl< DataPoint, _NFilter, T >::MatrixType = typename DataPoint::MatrixType |
Alias to matrix type.
Definition at line 37 of file covariancePlaneFit.h.
| using Ponca::CovariancePlaneFitImpl< DataPoint, _NFilter, T >::NeighborFilter = typename Base::NeighborFilter |
Alias to the filter applied on the neighbors.
Definition at line 36 of file covariancePlaneFit.h.
| using Ponca::CovariancePlaneFitImpl< DataPoint, _NFilter, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 36 of file covariancePlaneFit.h.
| using Ponca::CovariancePlaneFitImpl< DataPoint, _NFilter, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 36 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 40 of file covariancePlaneFit.h.
|
inline |
Explicit conversion to CovariancePlaneFitImpl , to access methods potentially hidden by heritage.
Definition at line 54 of file covariancePlaneFit.h.
|
inline |
Explicit conversion to CovariancePlaneFitImpl , to access methods potentially hidden by heritage.
Definition at line 54 of file covariancePlaneFit.h.
|
inline |
Finalize the procedure.
Definition at line 15 of file covariancePlaneFit.hpp.
|
inlineconstexpr |
Is scalar field signed.
If not, the method the sign of potential() must be ignored
Definition at line 56 of file covariancePlaneFit.h.
|
inline |
Transform a point from the tangent plane [h, u, v]^T to ambient space.
| _q | Point coordinates expressed in local tangent frame |
Definition at line 34 of file covariancePlaneFit.hpp.
|
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.
| _q | Point coordinates expressed in ambient space |
Definition at line 27 of file covariancePlaneFit.hpp.