ScorePrimitiveShapeVisitorImpl< PointCompT, OctreeT > Class Template Reference

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

+ Inheritance diagram for ScorePrimitiveShapeVisitorImpl< PointCompT, OctreeT >:

Public Types

typedef MiscLib::RefCounted< MiscLib::Vector< size_t > > IndicesType
 
typedef OctreeT OctreeType
 
typedef PointCompT PointCompatibilityFunc
 

Public Member Functions

float Epsilon () const
 
IndicesTypeGetIndices ()
 
const OctreeT & GetOctree () const
 
const MiscLib::Vector< int > & GetShapeIndex ()
 
template<class ShapeT , class OctT >
void operator() (const ShapeT &shape, const OctT &oct, size_t i)
 
const PointCompatibilityFuncPointCompFunc () const
 
 ScorePrimitiveShapeVisitorImpl (float distThresh, float normalThresh)
 
void SetIndices (IndicesType *indices)
 
void SetOctree (const OctreeT &oct)
 
void SetShapeIndex (const MiscLib::Vector< int > &shapeIndex)
 
template<class ShapeT >
void Visit (const ShapeT &primShape)
 
- Public Member Functions inherited from PrimitiveShapeVisitor
virtual void Visit (const ConePrimitiveShape &cone)=0
 
virtual void Visit (const CylinderPrimitiveShape &cylinder)=0
 
virtual void Visit (const PlanePrimitiveShape &plane)=0
 
virtual void Visit (const SpherePrimitiveShape &sphere)=0
 
virtual void Visit (const TorusPrimitiveShape &torus)=0
 
virtual ~PrimitiveShapeVisitor ()
 

Detailed Description

template<class PointCompT, class OctreeT>
class ScorePrimitiveShapeVisitorImpl< PointCompT, OctreeT >

Definition at line 14 of file ScorePrimitiveShapeVisitor.h.

Member Typedef Documentation

◆ IndicesType

Definition at line 20 of file ScorePrimitiveShapeVisitor.h.

◆ OctreeType

typedef OctreeT OctreeType

Definition at line 19 of file ScorePrimitiveShapeVisitor.h.

◆ PointCompatibilityFunc

typedef PointCompT PointCompatibilityFunc

Definition at line 18 of file ScorePrimitiveShapeVisitor.h.

Constructor & Destructor Documentation

◆ ScorePrimitiveShapeVisitorImpl()

ScorePrimitiveShapeVisitorImpl ( float  distThresh,
float  normalThresh 
)
inline

Definition at line 21 of file ScorePrimitiveShapeVisitor.h.

Member Function Documentation

◆ Epsilon()

float Epsilon ( ) const
inline

Definition at line 68 of file ScorePrimitiveShapeVisitor.h.

◆ GetIndices()

IndicesType* GetIndices ( )
inline

Definition at line 31 of file ScorePrimitiveShapeVisitor.h.

◆ GetOctree()

const OctreeT& GetOctree ( ) const
inline

Definition at line 27 of file ScorePrimitiveShapeVisitor.h.

◆ GetShapeIndex()

const MiscLib::Vector< int >& GetShapeIndex ( )
inline

Definition at line 43 of file ScorePrimitiveShapeVisitor.h.

◆ operator()()

void operator() ( const ShapeT &  shape,
const OctT &  oct,
size_t  i 
)
inline

Definition at line 57 of file ScorePrimitiveShapeVisitor.h.

+ Here is the call graph for this function:

◆ PointCompFunc()

const PointCompatibilityFunc& PointCompFunc ( ) const
inline

Definition at line 74 of file ScorePrimitiveShapeVisitor.h.

◆ SetIndices()

void SetIndices ( IndicesType indices)
inline

Definition at line 35 of file ScorePrimitiveShapeVisitor.h.

+ Here is the call graph for this function:

◆ SetOctree()

void SetOctree ( const OctreeT &  oct)
inline

Definition at line 23 of file ScorePrimitiveShapeVisitor.h.

◆ SetShapeIndex()

void SetShapeIndex ( const MiscLib::Vector< int > &  shapeIndex)
inline

Definition at line 39 of file ScorePrimitiveShapeVisitor.h.

◆ Visit()

void Visit ( const ShapeT &  primShape)
inline

Definition at line 48 of file ScorePrimitiveShapeVisitor.h.


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