Ponca  6f9f1b59d7c8c4654a710cfcef7342f4f5c79ba1
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 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$.
 
NeighborhoodFrameframe ()
 
const NeighborhoodFrameframe () 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 209 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 213 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 219 of file weightFilter.h.

◆ NeighborhoodFrame

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

Definition at line 223 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 215 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 217 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 221 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 228 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 234 of file weightFilter.h.

Member Function Documentation

◆ frame() [1/2]

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

Definition at line 298 of file weightFilter.h.

◆ frame() [2/2]

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

Definition at line 299 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 240 of file weightFilter.h.

◆ scaled2w()

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

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

Parameters
_qQuery in global coordinate

Definition at line 281 of file weightFilter.h.

◆ scaledw()

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

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

Parameters
_qQuery in global coordinate

Definition at line 271 of file weightFilter.h.

◆ scaleSpaced2w()

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

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 292 of file weightFilter.h.

◆ spaced2w()

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

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

Parameters
_qQuery in global coordinate

Definition at line 261 of file weightFilter.h.

◆ spacedw()

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

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

Parameters
_qQuery in global coordinate system

Definition at line 250 of file weightFilter.h.