26 template <
class DataPo
int>
31 using Scalar =
typename DataPoint::Scalar;
47 PONCA_MULTIARCH
inline VectorType center() {
return m_p; }
48 PONCA_MULTIARCH
inline VectorType center()
const {
return m_p; }
104 template <
class DataPo
int>
109 using Scalar =
typename DataPoint::Scalar;
123 PONCA_MULTIARCH
inline VectorType center() {
return VectorType::Zero(); }
124 PONCA_MULTIARCH
inline VectorType center()
const {
return VectorType::Zero(); }
Aggregator class used to declare specialized structures using CRTP.
NeighborhoodFrame that express 3d points relatively to a prescribed center.
VectorType convertToLocalBasis(const VectorType &_q, bool _isPositionVector=true) const
Convert query from global to local coordinate system, such as .
VectorType convertToGlobalBasis(const VectorType &_q, bool _isPositionVector=true) const
Convert query from local to global coordinate system, such as .
typename DataPoint::VectorType VectorType
Vector type from DataPoint.
typename DataPoint::Scalar Scalar
Scalar type from DataPoint.
void changeNeighborhoodFrame(const VectorType &_newEvalPos)
Change neighborhood frame (move basis center)
static constexpr bool hasLocalFrame
Flag indicating that this class modifies the coordinates when passing from global to local.
NeighborhoodFrame that keep points in the global frame without applying any transformation This class...
static constexpr bool hasLocalFrame
Flag indicating that this class does not modify the coordinates when passing from global to local.
typename DataPoint::Scalar Scalar
Scalar type from DataPoint.
void changeNeighborhoodFrame(const VectorType &)
Change neighborhood frame (has no effect for global basis)
typename DataPoint::VectorType VectorType
Vector type from DataPoint.
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.
This Source Code Form is subject to the terms of the Mozilla Public License, v.