|
Ponca
8e4373a7fc557bbfb1afb9210d70f03872388d04
Point Cloud Analysis library
|
NeighborhoodFrame that express 3d points relatively to a prescribed center. More...
#include <weightFunc.h>
Inheritance diagram for Ponca::CenteredNeighborhoodFrame< DataPoint >:
Collaboration diagram for Ponca::CenteredNeighborhoodFrame< DataPoint >:Public Types | |
| using | Scalar = typename DataPoint::Scalar |
| Scalar type from DataPoint. | |
| using | VectorType = typename DataPoint::VectorType |
| Vector type from DataPoint. | |
Public Member Functions | |
| CenteredNeighborhoodFrame (const VectorType &_evalPos=VectorType::Zero()) | |
| void | changeNeighborhoodFrame (const VectorType &_newEvalPos) |
| Change neighborhood frame (move basis center) | |
| VectorType | convertToGlobalBasis (const VectorType &_q) const |
| Convert query from local to global coordinate system, such as \(\mathbf{x}=\mathbf{x}'+\mathbf{p}\). | |
| VectorType | convertToLocalBasis (const VectorType &_q) const |
| Convert query from global to local coordinate system, such as \(\mathbf{x}'=\mathbf{x}-\mathbf{p}\). | |
| VectorType | evalPos () const |
| Get access to the stored points of evaluation. | |
Static Public Attributes | |
| static constexpr bool | hasLocalFrame = true |
| Flag indicating that this class modifies the coordinates when passing from global to local. | |
NeighborhoodFrame that express 3d points relatively to a prescribed center.
This class is useful to get all coordinates centered around a point, which ease weights computation, and limits issues with big numbers and rounding errors.
Express points \(\mathbf{x}\) relatively to a center \(\mathbf{p}\), ie. \(\mathbf{x}'=\mathbf{x}-\mathbf{p}\). This frame does not apply rotation.
| DataPoint | Point type used for computation |
Definition at line 27 of file weightFunc.h.
| using Ponca::CenteredNeighborhoodFrame< DataPoint >::Scalar = typename DataPoint::Scalar |
Scalar type from DataPoint.
Definition at line 30 of file weightFunc.h.
| using Ponca::CenteredNeighborhoodFrame< DataPoint >::VectorType = typename DataPoint::VectorType |
Vector type from DataPoint.
Definition at line 32 of file weightFunc.h.
|
inlineexplicit |
Definition at line 37 of file weightFunc.h.
|
inline |
Change neighborhood frame (move basis center)
Definition at line 41 of file weightFunc.h.
|
inline |
Convert query from local to global coordinate system, such as \(\mathbf{x}=\mathbf{x}'+\mathbf{p}\).
| _q | Position expressed relatively to the basis center |
Definition at line 48 of file weightFunc.h.
|
inline |
Convert query from global to local coordinate system, such as \(\mathbf{x}'=\mathbf{x}-\mathbf{p}\).
| _q | Input point in global coordinate system |
Definition at line 56 of file weightFunc.h.
|
inline |
Get access to the stored points of evaluation.
Definition at line 62 of file weightFunc.h.
|
staticconstexpr |
Flag indicating that this class modifies the coordinates when passing from global to local.
Definition at line 35 of file weightFunc.h.