Ponca  5b0151ad2869758185d699615c3cca5855cc2cee
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter > Class Template Reference

This class extends a NeighborFilter class to also store the normal of the evaluation point, for use outside the scope of this class. More...

#include <weightFunc.h>

+ Inheritance diagram for Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >:
+ Collaboration diagram for Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >:

Public Types

using Base = NeighborFilter
 
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

 NeighborFilterStoreNormal (const VectorType &_evalPos=VectorType::Zero(), const Scalar &_t=Scalar(0), const VectorType &_evalNormal=VectorType::Zero())
 Constructor that defines the current evaluation scale.
 
 NeighborFilterStoreNormal (const DataPoint &_evalPoint, const Scalar &_t=Scalar(0))
 
const VectorTypeevalNormal () const
 Access to the evaluation normal set during the initialization.
 

Protected Attributes

VectorType m_n
 Evaluation normal.
 

Detailed Description

template<class DataPoint, typename NeighborFilter>
class Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >

This class extends a NeighborFilter class to also store the normal of the evaluation point, for use outside the scope of this class.

Template Parameters
AnyNeighborFilter type (NoWeightFunc or DistWeightFunc<ConstantWeightKernel> for example)

Definition at line 385 of file weightFunc.h.

Member Typedef Documentation

◆ Base

template<class DataPoint , typename NeighborFilter >
using Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >::Base = NeighborFilter

Definition at line 387 of file weightFunc.h.

◆ MatrixType

template<class DataPoint , typename NeighborFilter >
using Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >::MatrixType = typename DataPoint::MatrixType

Matrix type from DataPoint.

Definition at line 393 of file weightFunc.h.

◆ Scalar

template<class DataPoint , typename NeighborFilter >
using Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >::Scalar = typename DataPoint::Scalar

Scalar type from DataPoint.

Definition at line 389 of file weightFunc.h.

◆ VectorType

template<class DataPoint , typename NeighborFilter >
using Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >::VectorType = typename DataPoint::VectorType

Vector type from DataPoint.

Definition at line 391 of file weightFunc.h.

◆ WeightReturnType

template<class DataPoint , typename NeighborFilter >
using Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >::WeightReturnType = std:: pair <Scalar, VectorType>

Return type of the method #w()

Definition at line 395 of file weightFunc.h.

Constructor & Destructor Documentation

◆ NeighborFilterStoreNormal() [1/2]

template<class DataPoint , typename NeighborFilter >
Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >::NeighborFilterStoreNormal ( const VectorType _evalPos = VectorType::Zero(),
const Scalar _t = Scalar(0),
const VectorType _evalNormal = VectorType::Zero() 
)
inline

Constructor that defines the current evaluation scale.

Warning
t > 0

Definition at line 401 of file weightFunc.h.

◆ NeighborFilterStoreNormal() [2/2]

template<class DataPoint , typename NeighborFilter >
Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >::NeighborFilterStoreNormal ( const DataPoint &  _evalPoint,
const Scalar _t = Scalar(0) 
)
inline

Definition at line 407 of file weightFunc.h.

Member Function Documentation

◆ evalNormal()

template<class DataPoint , typename NeighborFilter >
const VectorType & Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >::evalNormal ( ) const
inline

Access to the evaluation normal set during the initialization.

Definition at line 413 of file weightFunc.h.

Member Data Documentation

◆ m_n

template<class DataPoint , typename NeighborFilter >
VectorType Ponca::NeighborFilterStoreNormal< DataPoint, NeighborFilter >::m_n
protected

Evaluation normal.

Definition at line 415 of file weightFunc.h.