Ponca  eb7239a9c07e156fb1edc6faac7fe89e2b256bda
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame > Class Template Reference

Weighting function that set uniform weight to all samples. More...

#include <weightFilter.h>

Inheritance diagram for Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >:
Collaboration diagram for Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >:

Public Types

using DataPoint = _DataPoint
 Alias to _DataPoint template parameter.
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().
using NeighborhoodFrame = _NeighborhoodFrame<DataPoint>

Public Member Functions

 NoWeightFilterBase (const VectorType &v=VectorType::Zero(), Scalar=0)
 Default constructor.
 NoWeightFilterBase (const DataPoint &v, Scalar=0)
 !
WeightReturnType operator() (const DataPoint &_q) 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 evalScale () const
 Access to the evaluation scale set during the initialization.
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$.
NeighborhoodFrame & frame ()
const NeighborhoodFrame & frame () const

Detailed Description

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
class Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >

Weighting function that set uniform weight to all samples.

In contrast to DistWeightFunc with ConstantWeight, it does not check for scale range.

Template Parameters
_NeighborhoodFrameBase NeighborhoodFrame used to performs (or not) local basis conversion and maintain computation accuracy

Definition at line 212 of file weightFilter.h.

Member Typedef Documentation

◆ DataPoint

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
using Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::DataPoint = _DataPoint

Alias to _DataPoint template parameter.

Definition at line 216 of file weightFilter.h.

◆ MatrixType

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
using Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::MatrixType = typename DataPoint::MatrixType

Matrix type from DataPoint.

Definition at line 222 of file weightFilter.h.

◆ NeighborhoodFrame

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
using Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::NeighborhoodFrame = _NeighborhoodFrame<DataPoint>

Definition at line 226 of file weightFilter.h.

◆ Scalar

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
using Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::Scalar = typename DataPoint::Scalar

Scalar type from DataPoint.

Definition at line 218 of file weightFilter.h.

◆ VectorType

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
using Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::VectorType = typename DataPoint::VectorType

Vector type from DataPoint.

Definition at line 220 of file weightFilter.h.

◆ WeightReturnType

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
using Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::WeightReturnType = std::pair <Scalar, VectorType>

Return type of the method #w().

Definition at line 224 of file weightFilter.h.

Constructor & Destructor Documentation

◆ NoWeightFilterBase() [1/2]

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::NoWeightFilterBase ( const VectorType & v = VectorType::Zero(),
Scalar = 0 )
inline

Default constructor.

All parameters are ignored (kept for API compatibility with DistWeightFunc.

Definition at line 231 of file weightFilter.h.

◆ NoWeightFilterBase() [2/2]

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::NoWeightFilterBase ( const DataPoint & v,
Scalar = 0 )
inline

!

Definition at line 237 of file weightFilter.h.

Member Function Documentation

◆ evalScale()

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
Scalar Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::evalScale ( ) const
inlinenodiscard

Access to the evaluation scale set during the initialization.

Definition at line 271 of file weightFilter.h.

◆ frame() [1/2]

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
NeighborhoodFrame & Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::frame ( )
inlinenodiscard

Definition at line 304 of file weightFilter.h.

◆ frame() [2/2]

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
const NeighborhoodFrame & Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::frame ( ) const
inlinenodiscard

Definition at line 305 of file weightFilter.h.

◆ operator()()

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
WeightReturnType Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::operator() ( const DataPoint & _q) const
inline

Compute the weight of the given query, which is always $1$.

Parameters
_qQuery in global coordinate system

Definition at line 243 of file weightFilter.h.

◆ scaled2w()

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
Scalar Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::scaled2w ( const VectorType & ,
const DataPoint &  ) const
inlinenodiscard

Second order derivative in scale \(t\), which are always $0$.

Parameters
_qQuery in global coordinate

Definition at line 287 of file weightFilter.h.

◆ scaledw()

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
Scalar Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::scaledw ( const VectorType & ,
const DataPoint &  ) const
inlinenodiscard

First order derivative in scale \(t\), which are always $0$.

Parameters
_qQuery in global coordinate

Definition at line 277 of file weightFilter.h.

◆ scaleSpaced2w()

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
VectorType Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::scaleSpaced2w ( const VectorType & ,
const DataPoint &  ) const
inlinenodiscard

Cross derivative in scale \(t\) and in space (for each spatial dimension \(\mathsf{x})\), which are always $0$.

Parameters
_qQuery in global coordinate

Definition at line 298 of file weightFilter.h.

◆ spaced2w()

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
MatrixType Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::spaced2w ( const VectorType & ,
const DataPoint &  ) const
inlinenodiscard

Second order derivative in space (for each spatial dimension \(\mathsf{x})\), which are always $0$.

Parameters
_qQuery in global coordinate

Definition at line 264 of file weightFilter.h.

◆ spacedw()

template<class _DataPoint, template< typename > typename _NeighborhoodFrame>
VectorType Ponca::internal::NoWeightFilterBase< _DataPoint, _NeighborhoodFrame >::spacedw ( const VectorType & ,
const DataPoint &  ) const
inlinenodiscard

First order derivative in space (for each spatial dimension \(\mathsf{x})\), which are always $0$.

Parameters
_qQuery in global coordinate system

Definition at line 253 of file weightFilter.h.