Public Member Functions | List of all members
hpp::fcl::BVSplitterBase< BV > Class Template Referenceabstract

Base interface for BV splitting algorithm. More...

#include <hpp/fcl/BVH/BV_splitter.h>

Inheritance diagram for hpp::fcl::BVSplitterBase< BV >:
[legend]

Public Member Functions

virtual void set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_)=0
 Set the geometry data needed by the split rule. More...
 
virtual void computeRule (const BV &bv, unsigned int *primitive_indices, int num_primitives)=0
 Compute the split rule according to a subset of geometry and the corresponding BV node. More...
 
virtual bool apply (const Vec3f &q) const =0
 Apply the split rule on a given point. More...
 
virtual void clear ()=0
 Clear the geometry data set before. More...
 

Detailed Description

template<typename BV>
class hpp::fcl::BVSplitterBase< BV >

Base interface for BV splitting algorithm.

Member Function Documentation

template<typename BV >
virtual bool hpp::fcl::BVSplitterBase< BV >::apply ( const Vec3f q) const
pure virtual
template<typename BV >
virtual void hpp::fcl::BVSplitterBase< BV >::clear ( )
pure virtual

Clear the geometry data set before.

Implemented in hpp::fcl::BVSplitter< BV >.

template<typename BV >
virtual void hpp::fcl::BVSplitterBase< BV >::computeRule ( const BV &  bv,
unsigned int *  primitive_indices,
int  num_primitives 
)
pure virtual

Compute the split rule according to a subset of geometry and the corresponding BV node.

Implemented in hpp::fcl::BVSplitter< BV >.

template<typename BV >
virtual void hpp::fcl::BVSplitterBase< BV >::set ( Vec3f vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
)
pure virtual

Set the geometry data needed by the split rule.

Implemented in hpp::fcl::BVSplitter< BV >.