Ponca
f7f7d7cc113b4e53be6bee25005fbdbe7e016293
Point Cloud Analysis library
|
Weighting function that set uniform weight to all samples. More...
#include <weightFunc.h>
Public Types | |
using | Scalar = typename DataPoint::Scalar |
Scalar type from DataPoint. | |
using | VectorType = typename DataPoint::VectorType |
Vector type from DataPoint. | |
using | MatrixType = typename DataPoint::MatrixType |
Matrix type from DataPoint. | |
using | WeightReturnType = std::pair< Scalar, VectorType > |
Return type of the method w() | |
Public Member Functions | |
NoWeightFunc (const VectorType &_evalPos=VectorType::Zero()) | |
Constructor that defines the current evaluation scale. | |
void | init (const VectorType &_evalPos=VectorType::Zero()) |
Initialization method, called by the fitting procedure. | |
const VectorType & | basisCenter () const |
VectorType | convertToLocalBasis (const VectorType &_q) const |
Convert query from global to local coordinate system. | |
WeightReturnType | w (const VectorType &_q, const DataPoint &) const |
Compute the weight of the given query, which is always $1$. | |
VectorType | spacedw (const VectorType &, const DataPoint &) const |
First order derivative in space (for each spatial dimension \(\mathsf{x})\), which are always $0$. | |
MatrixType | spaced2w (const VectorType &, const DataPoint &) const |
Second order derivative in space (for each spatial dimension \(\mathsf{x})\), which are always $0$. | |
Scalar | scaledw (const VectorType &, const DataPoint &) const |
First order derivative in scale \(t\), which are always $0$. | |
Scalar | scaled2w (const VectorType &, const DataPoint &) const |
Second order derivative in scale \(t\), which are always $0$. | |
VectorType | scaleSpaced2w (const VectorType &, const DataPoint &) const |
Cross derivative in scale \(t\) and in space (for each spatial dimension \(\mathsf{x})\), which are always $0$. | |
Weighting function that set uniform weight to all samples.
In contrast to DistWeightFunc with ConstantWeight, it does not check for scale range. It still performs local basis conversion to maintain computation accuracy
Definition at line 210 of file weightFunc.h.
using Ponca::NoWeightFunc< DataPoint >::MatrixType = typename DataPoint::MatrixType |
Matrix type from DataPoint.
Definition at line 218 of file weightFunc.h.
using Ponca::NoWeightFunc< DataPoint >::Scalar = typename DataPoint::Scalar |
Scalar type from DataPoint.
Definition at line 214 of file weightFunc.h.
using Ponca::NoWeightFunc< DataPoint >::VectorType = typename DataPoint::VectorType |
Vector type from DataPoint.
Definition at line 216 of file weightFunc.h.
using Ponca::NoWeightFunc< DataPoint >::WeightReturnType = std:: pair <Scalar, VectorType> |
Return type of the method w()
Definition at line 220 of file weightFunc.h.
|
inline |
Constructor that defines the current evaluation scale.
Definition at line 225 of file weightFunc.h.
|
inline |
Definition at line 233 of file weightFunc.h.
|
inline |
Convert query from global to local coordinate system.
Definition at line 237 of file weightFunc.h.
|
inline |
Initialization method, called by the fitting procedure.
_evalPos | Basis center |
Definition at line 231 of file weightFunc.h.
|
inline |
Second order derivative in scale \(t\), which are always $0$.
_q | Query in global coordinate |
Definition at line 281 of file weightFunc.h.
|
inline |
First order derivative in scale \(t\), which are always $0$.
_q | Query in global coordinate |
Definition at line 273 of file weightFunc.h.
|
inline |
Cross derivative in scale \(t\) and in space (for each spatial dimension \(\mathsf{x})\), which are always $0$.
_q | Query in global coordinate |
Definition at line 290 of file weightFunc.h.
|
inline |
Second order derivative in space (for each spatial dimension \(\mathsf{x})\), which are always $0$.
_q | Query in global coordinate |
Definition at line 265 of file weightFunc.h.
|
inline |
First order derivative in space (for each spatial dimension \(\mathsf{x})\), which are always $0$.
_q | Query in global coordinate |
Definition at line 256 of file weightFunc.h.
|
inline |
Compute the weight of the given query, which is always $1$.
_q | Query in global coordinate |
Definition at line 244 of file weightFunc.h.