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
 
IndicesType * GetIndices ()
 
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 PointCompatibilityFunc & PointCompFunc () 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 ()
 

Member Typedef Documentation

◆ IndicesType

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

◆ OctreeType

template<class PointCompT, class OctreeT>
typedef OctreeT OctreeType

◆ PointCompatibilityFunc

template<class PointCompT, class OctreeT>
typedef PointCompT PointCompatibilityFunc

Constructor & Destructor Documentation

◆ ScorePrimitiveShapeVisitorImpl()

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

Member Function Documentation

◆ Epsilon()

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

◆ GetIndices()

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

◆ GetOctree()

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

◆ GetShapeIndex()

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

◆ operator()()

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

◆ PointCompFunc()

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

◆ SetIndices()

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

◆ SetOctree()

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

◆ SetShapeIndex()

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

◆ Visit()

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

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