CubicGaussApproximationWeightFunc< PointT > Class Template Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/GfxTL/WeightFunc.h>

Public Types

typedef PointT PointType
typedef PointType::ScalarType ScalarType

Public Member Functions

 CubicGaussApproximationWeightFunc (PointType center, ScalarType radius)
 CubicGaussApproximationWeightFunc (ScalarType radius)
ScalarType operator() (const PointType &p) const
ScalarType operator() (ScalarType dist) const
bool WeightAndDerivative (const PointType &x, ScalarType *weight, PointType *derivative)

Detailed Description

template<class PointT>
class GfxTL::CubicGaussApproximationWeightFunc< PointT >

Definition at line 181 of file WeightFunc.h.

Member Typedef Documentation

◆ PointType

typedef PointT PointType

Definition at line 184 of file WeightFunc.h.

◆ ScalarType

typedef PointType::ScalarType ScalarType

Definition at line 185 of file WeightFunc.h.

Constructor & Destructor Documentation

◆ CubicGaussApproximationWeightFunc() [1/2]

Definition at line 187 of file WeightFunc.h.

◆ CubicGaussApproximationWeightFunc() [2/2]

CubicGaussApproximationWeightFunc ( PointType  center,
ScalarType  radius 

Definition at line 193 of file WeightFunc.h.

Member Function Documentation

◆ operator()() [1/2]

ScalarType operator() ( const PointType p) const

Definition at line 201 of file WeightFunc.h.

◆ operator()() [2/2]

ScalarType operator() ( ScalarType  dist) const

Definition at line 206 of file WeightFunc.h.

◆ WeightAndDerivative()

bool WeightAndDerivative ( const PointType x,
ScalarType weight,
PointType derivative 

Definition at line 213 of file WeightFunc.h.

The documentation for this class was generated from the following file: