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

template<class PointCompT, class OctreeT>
typedef MiscLib::RefCounted<MiscLib::Vector<size_t> > IndicesType

Definition at line 19 of file ScorePrimitiveShapeVisitor.h.

◆ OctreeType

template<class PointCompT, class OctreeT>
typedef OctreeT OctreeType

Definition at line 18 of file ScorePrimitiveShapeVisitor.h.

◆ PointCompatibilityFunc

template<class PointCompT, class OctreeT>
typedef PointCompT PointCompatibilityFunc

Definition at line 17 of file ScorePrimitiveShapeVisitor.h.

Constructor & Destructor Documentation

◆ ScorePrimitiveShapeVisitorImpl()

template<class PointCompT, class OctreeT>
ScorePrimitiveShapeVisitorImpl ( float distThresh,
float normalThresh )
inline

Definition at line 21 of file ScorePrimitiveShapeVisitor.h.

Member Function Documentation

◆ Epsilon()

template<class PointCompT, class OctreeT>
float Epsilon ( ) const
inline

Definition at line 88 of file ScorePrimitiveShapeVisitor.h.

◆ GetIndices()

template<class PointCompT, class OctreeT>
IndicesType * GetIndices ( )
inline

Definition at line 39 of file ScorePrimitiveShapeVisitor.h.

◆ GetOctree()

template<class PointCompT, class OctreeT>
const OctreeT & GetOctree ( ) const
inline

Definition at line 33 of file ScorePrimitiveShapeVisitor.h.

◆ GetShapeIndex()

template<class PointCompT, class OctreeT>
const MiscLib::Vector< int > & GetShapeIndex ( )
inline

Definition at line 57 of file ScorePrimitiveShapeVisitor.h.

◆ operator()()

template<class PointCompT, class OctreeT>
template<class ShapeT, class OctT>
void operator() ( const ShapeT & shape,
const OctT & oct,
size_t i )
inline

Definition at line 75 of file ScorePrimitiveShapeVisitor.h.

◆ PointCompFunc()

template<class PointCompT, class OctreeT>
const PointCompatibilityFunc & PointCompFunc ( ) const
inline

Definition at line 96 of file ScorePrimitiveShapeVisitor.h.

◆ SetIndices()

template<class PointCompT, class OctreeT>
void SetIndices ( IndicesType * indices)
inline

Definition at line 45 of file ScorePrimitiveShapeVisitor.h.

◆ SetOctree()

template<class PointCompT, class OctreeT>
void SetOctree ( const OctreeT & oct)
inline

Definition at line 27 of file ScorePrimitiveShapeVisitor.h.

◆ SetShapeIndex()

template<class PointCompT, class OctreeT>
void SetShapeIndex ( const MiscLib::Vector< int > & shapeIndex)
inline

Definition at line 51 of file ScorePrimitiveShapeVisitor.h.

+ Here is the caller graph for this function:

◆ Visit()

template<class PointCompT, class OctreeT>
template<class ShapeT>
void Visit ( const ShapeT & primShape)
inline

Definition at line 64 of file ScorePrimitiveShapeVisitor.h.


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