Ponca
a3bcca651499c602bd353676d4b50af3643c4cad
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 Scalar &=Scalar(0)) | |
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 219 of file weightFunc.h.
using Ponca::NoWeightFunc< DataPoint >::MatrixType = typename DataPoint::MatrixType |
Matrix type from DataPoint.
Definition at line 227 of file weightFunc.h.
using Ponca::NoWeightFunc< DataPoint >::Scalar = typename DataPoint::Scalar |
Scalar type from DataPoint.
Definition at line 223 of file weightFunc.h.
using Ponca::NoWeightFunc< DataPoint >::VectorType = typename DataPoint::VectorType |
Vector type from DataPoint.
Definition at line 225 of file weightFunc.h.
using Ponca::NoWeightFunc< DataPoint >::WeightReturnType = std:: pair <Scalar, VectorType> |
Return type of the method w()
Definition at line 229 of file weightFunc.h.
|
inline |
Constructor that defines the current evaluation scale.
Definition at line 234 of file weightFunc.h.
|
inline |
Definition at line 242 of file weightFunc.h.
|
inline |
Convert query from global to local coordinate system.
Definition at line 246 of file weightFunc.h.
|
inline |
Initialization method, called by the fitting procedure.
_evalPos | Basis center |
Definition at line 240 of file weightFunc.h.
|
inline |
Second order derivative in scale \(t\), which are always $0$.
_q | Query in global coordinate |
Definition at line 290 of file weightFunc.h.
|
inline |
First order derivative in scale \(t\), which are always $0$.
_q | Query in global coordinate |
Definition at line 282 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 299 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 274 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 265 of file weightFunc.h.
|
inline |
Compute the weight of the given query, which is always $1$.
_q | Query in global coordinate |
Definition at line 253 of file weightFunc.h.