|
Ponca
6f9f1b59d7c8c4654a710cfcef7342f4f5c79ba1
Point Cloud Analysis library
|
NeighborhoodFrame that keep points in the global frame without applying any transformation This class is useful to compute direct fits in the embedding space, without paying the cost to express neighbors relatively to an evaluation point. More...
#include <frame.h>
Collaboration diagram for Ponca::GlobalNeighborhoodFrame< DataPoint >:Public Types | |
| using | Scalar = typename DataPoint::Scalar |
| Scalar type from DataPoint. | |
| using | VectorType = typename DataPoint::VectorType |
| Vector type from DataPoint. | |
Public Member Functions | |
| GlobalNeighborhoodFrame (const VectorType &=VectorType::Zero()) | |
| void | changeNeighborhoodFrame (const VectorType &) |
| Change neighborhood frame (has no effect for global basis) | |
| VectorType | center () |
| VectorType | center () const |
| const VectorType & | convertToGlobalBasis (const VectorType &_q, bool=true) const |
| Convert position from local to global coordinate system : does nothing as this is global frame. | |
| const VectorType & | convertToLocalBasis (const VectorType &_q, bool=true) const |
| Convert query from global to local coordinate system : does nothing as this is global frame. | |
Static Public Attributes | |
| static constexpr bool | hasLocalFrame = false |
| Flag indicating that this class does not modify the coordinates when passing from global to local. | |
NeighborhoodFrame that keep points in the global frame without applying any transformation This class is useful to compute direct fits in the embedding space, without paying the cost to express neighbors relatively to an evaluation point.
| DataPoint | Point type used for computation |
| using Ponca::GlobalNeighborhoodFrame< DataPoint >::Scalar = typename DataPoint::Scalar |
| using Ponca::GlobalNeighborhoodFrame< DataPoint >::VectorType = typename DataPoint::VectorType |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
Convert position from local to global coordinate system : does nothing as this is global frame.
| _q | Position in local coordinate |
| _isPositionVector | Indicate if the input vector _q is a position that is influenced by translations (e.g., in contrast to displacement or normal vectors) |
|
inline |
Convert query from global to local coordinate system : does nothing as this is global frame.
| _q | Query in global coordinate |
| _isPositionVector | Indicate if the input vector _q is a position that is influenced by translations (e.g., in contrast to displacement or normal vectors) |