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

Base interface for BV splitting algorithm. More...

#include <BV_splitter_base.h>

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

Public Types

using S = typename BV::S
 

Public Member Functions

virtual bool apply (const Vector3< S > &q) const =0
 Apply the split rule on a given point. More...
 
virtual void clear ()=0
 Clear the geometry data set before. 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 void set (Vector3< S > *vertices_, Triangle *tri_indices_, BVHModelType type_)=0
 Set the geometry data needed by the split rule. More...
 

Detailed Description

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

Base interface for BV splitting algorithm.

Definition at line 56 of file BV_splitter_base.h.

Member Typedef Documentation

◆ S

template<typename BV >
using fcl::detail::BVSplitterBase< BV >::S = typename BV::S

Definition at line 60 of file BV_splitter_base.h.

Member Function Documentation

◆ apply()

template<typename BV >
virtual bool fcl::detail::BVSplitterBase< BV >::apply ( const Vector3< S > &  q) const
pure virtual

Apply the split rule on a given point.

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

◆ clear()

template<typename BV >
virtual void fcl::detail::BVSplitterBase< BV >::clear ( )
pure virtual

Clear the geometry data set before.

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

◆ computeRule()

template<typename BV >
virtual void fcl::detail::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 fcl::detail::BVSplitter< BV >.

◆ set()

template<typename BV >
virtual void fcl::detail::BVSplitterBase< BV >::set ( Vector3< S > *  vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
)
pure virtual

Set the geometry data needed by the split rule.

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


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


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:50