L2NormWithMask< VectorKernelT, MaskElemSizeT > Struct Template Reference

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

+ Inheritance diagram for L2NormWithMask< VectorKernelT, MaskElemSizeT >:

Classes

struct  DistanceType
 

Public Types

typedef MaskElemSizeT MaskElementSizeType
 
typedef VectorKernelT VectorKernelType
 

Public Member Functions

template<class PointAT , class PointBT , class WidthT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, WidthT >::Type AACubeSqrDistance (const PointAT &a, const PointBT &min, WidthT width) const
 
template<class PointAT , class PointBT >
void AssignAsAABoxMax (const PointAT &vec, PointBT *bboxMax) const
 
template<class PointAT , class MaskAT , class PointBT >
void AssignAsAABoxMaxMaskIgnore (const PointAT &vec, const MaskAT &mask, PointBT *bboxMax) const
 
template<class PointAT , class MaskAT , class PointBT >
void AssignAsAABoxMaxMaskInfinity (const PointAT &vec, const MaskAT &mask, PointBT *bboxMax) const
 
template<class PointAT , class PointBT >
void AssignAsAABoxMin (const PointAT &vec, PointBT *bboxMin) const
 
template<class PointAT , class MaskAT , class PointBT >
void AssignAsAABoxMinMaskIgnore (const PointAT &vec, const MaskAT &mask, PointBT *bboxMin) const
 
template<class PointAT , class MaskAT , class PointBT >
void AssignAsAABoxMinMaskInfinity (const PointAT &vec, const MaskAT &mask, PointBT *bboxMin) const
 
template<class PointAT , class MaskAT , class PointBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type BoxSqrDistance (const PointAT &a, const MaskAT &mask, const PointBT &min, const PointBT &max) const
 
template<class PointAT , class PointBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type BoxSqrDistance (const PointAT &a, const PointBT &min, const PointBT &max) const
 
template<class PointAT , class PointBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type Distance (const PointAT &p, const PointBT &v) const
 
template<class PointAT , class PointBT , class MaskAT , class MaskBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type Distance (const PointAT &p, const PointBT &v, const MaskAT &ma, const MaskBT &mb) const
 
template<class PointT , class BoxPointT >
void IncludeInAABox (const PointT &p, BoxPointT box[2]) const
 
template<class PointT , class MaskT , class BoxPointT >
void IncludeInAABoxMaskIgnore (const PointT &p, const MaskT &mask, BoxPointT box[2]) const
 
template<class PointT , class MaskT , class BoxPointT >
void IncludeInAABoxMaskInfinity (const PointT &p, const MaskT &mask, BoxPointT box[2]) const
 
template<class DistScalarT , class DiffScalarT >
DistScalarT IncrementalBoxSqrDistance (DistScalarT boxSqrDist, DiffScalarT boxDiff, DiffScalarT cutDiff) const
 
template<class BoxPointT >
void InitMaximalAABox (BoxPointT box[2]) const
 
template<class PointAT , class MaskAT , class PointBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type MaxBoxSqrDistance (const PointAT &a, const MaskAT &mask, const PointBT &min, const PointBT &max) const
 
template<class PointAT , class PointBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type MaxBoxSqrDistance (const PointAT &a, const PointBT &min, const PointBT &max) const
 
template<class ScalarT >
ScalarT RootOfDistance (ScalarT sqrDistance) const
 
template<class PointAT , class PointBT , class MaskAT , class MaskBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const MaskAT &ma, const PointBT &v, const MaskBT &mb) const
 
template<class PointAT , class PointBT , class MaskAT , class MaskBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const MaskAT &ma, const PointBT &v, const MaskBT &mb, typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type abortDist) const
 
template<class PointAT , class PointBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const PointBT &v) const
 
template<class PointAT , class PointBT , class MaskBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const PointBT &v, const MaskBT &mb) const
 
template<class PointAT , class PointBT , class MaskBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const PointBT &v, const MaskBT &mb, typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type abortDist) const
 
template<class PointAT , class PointBT >
DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance (const PointAT &p, const PointBT &v, typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type abortDist) const
 
- Public Member Functions inherited from FixedMaskElementSize< 1 >
const unsigned int MaskElementSize () const
 
void MaskElementSize (unsigned int s)
 

Additional Inherited Members

- Protected Types inherited from FixedMaskElementSize< 1 >
enum  
 

Detailed Description

template<class VectorKernelT, class MaskElemSizeT = FixedMaskElementSize< 1 >>
struct GfxTL::L2NormWithMask< VectorKernelT, MaskElemSizeT >

Definition at line 47 of file L2Norm.h.

Member Typedef Documentation

◆ MaskElementSizeType

typedef MaskElemSizeT MaskElementSizeType

Definition at line 52 of file L2Norm.h.

◆ VectorKernelType

typedef VectorKernelT VectorKernelType

Definition at line 51 of file L2Norm.h.

Member Function Documentation

◆ AACubeSqrDistance()

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, WidthT >::Type AACubeSqrDistance ( const PointAT &  a,
const PointBT &  min,
WidthT  width 
) const
inline

Definition at line 423 of file L2Norm.h.

◆ AssignAsAABoxMax()

void AssignAsAABoxMax ( const PointAT &  vec,
PointBT *  bboxMax 
) const
inline

Definition at line 465 of file L2Norm.h.

◆ AssignAsAABoxMaxMaskIgnore()

void AssignAsAABoxMaxMaskIgnore ( const PointAT &  vec,
const MaskAT &  mask,
PointBT *  bboxMax 
) const
inline

Definition at line 528 of file L2Norm.h.

◆ AssignAsAABoxMaxMaskInfinity()

void AssignAsAABoxMaxMaskInfinity ( const PointAT &  vec,
const MaskAT &  mask,
PointBT *  bboxMax 
) const
inline

Definition at line 510 of file L2Norm.h.

◆ AssignAsAABoxMin()

void AssignAsAABoxMin ( const PointAT &  vec,
PointBT *  bboxMin 
) const
inline

Definition at line 456 of file L2Norm.h.

◆ AssignAsAABoxMinMaskIgnore()

void AssignAsAABoxMinMaskIgnore ( const PointAT &  vec,
const MaskAT &  mask,
PointBT *  bboxMin 
) const
inline

Definition at line 492 of file L2Norm.h.

◆ AssignAsAABoxMinMaskInfinity()

void AssignAsAABoxMinMaskInfinity ( const PointAT &  vec,
const MaskAT &  mask,
PointBT *  bboxMin 
) const
inline

Definition at line 474 of file L2Norm.h.

◆ BoxSqrDistance() [1/2]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type BoxSqrDistance ( const PointAT &  a,
const MaskAT &  mask,
const PointBT &  min,
const PointBT &  max 
) const
inline

Definition at line 348 of file L2Norm.h.

◆ BoxSqrDistance() [2/2]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type BoxSqrDistance ( const PointAT &  a,
const PointBT &  min,
const PointBT &  max 
) const
inline

Definition at line 297 of file L2Norm.h.

◆ Distance() [1/2]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type Distance ( const PointAT &  p,
const PointBT &  v 
) const
inline

Definition at line 67 of file L2Norm.h.

◆ Distance() [2/2]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type Distance ( const PointAT &  p,
const PointBT &  v,
const MaskAT &  ma,
const MaskBT &  mb 
) const
inline

Definition at line 271 of file L2Norm.h.

◆ IncludeInAABox()

void IncludeInAABox ( const PointT &  p,
BoxPointT  box[2] 
) const
inline

Definition at line 558 of file L2Norm.h.

◆ IncludeInAABoxMaskIgnore()

void IncludeInAABoxMaskIgnore ( const PointT &  p,
const MaskT &  mask,
BoxPointT  box[2] 
) const
inline

Definition at line 602 of file L2Norm.h.

◆ IncludeInAABoxMaskInfinity()

void IncludeInAABoxMaskInfinity ( const PointT &  p,
const MaskT &  mask,
BoxPointT  box[2] 
) const
inline

Definition at line 574 of file L2Norm.h.

◆ IncrementalBoxSqrDistance()

DistScalarT IncrementalBoxSqrDistance ( DistScalarT  boxSqrDist,
DiffScalarT  boxDiff,
DiffScalarT  cutDiff 
) const
inline

Definition at line 284 of file L2Norm.h.

◆ InitMaximalAABox()

void InitMaximalAABox ( BoxPointT  box[2]) const
inline

Definition at line 546 of file L2Norm.h.

◆ MaxBoxSqrDistance() [1/2]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type MaxBoxSqrDistance ( const PointAT &  a,
const MaskAT &  mask,
const PointBT &  min,
const PointBT &  max 
) const
inline

Definition at line 389 of file L2Norm.h.

◆ MaxBoxSqrDistance() [2/2]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type MaxBoxSqrDistance ( const PointAT &  a,
const PointBT &  min,
const PointBT &  max 
) const
inline

Definition at line 327 of file L2Norm.h.

◆ RootOfDistance()

ScalarT RootOfDistance ( ScalarT  sqrDistance) const
inline

Definition at line 278 of file L2Norm.h.

◆ SqrDistance() [1/6]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT &  p,
const MaskAT &  ma,
const PointBT &  v,
const MaskBT &  mb 
) const
inline

Definition at line 141 of file L2Norm.h.

◆ SqrDistance() [2/6]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT &  p,
const MaskAT &  ma,
const PointBT &  v,
const MaskBT &  mb,
typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type  abortDist 
) const
inline

Definition at line 171 of file L2Norm.h.

◆ SqrDistance() [3/6]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT &  p,
const PointBT &  v 
) const
inline

Definition at line 90 of file L2Norm.h.

+ Here is the caller graph for this function:

◆ SqrDistance() [4/6]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT &  p,
const PointBT &  v,
const MaskBT &  mb 
) const
inline

Definition at line 206 of file L2Norm.h.

◆ SqrDistance() [5/6]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT &  p,
const PointBT &  v,
const MaskBT &  mb,
typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type  abortDist 
) const
inline

Definition at line 236 of file L2Norm.h.

◆ SqrDistance() [6/6]

DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type SqrDistance ( const PointAT &  p,
const PointBT &  v,
typename DistanceType< typename ScalarTypeDeferer< PointAT >::ScalarType, typename ScalarTypeDeferer< PointBT >::ScalarType >::Type  abortDist 
) const
inline

Definition at line 113 of file L2Norm.h.


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