RobWorkProject  23.9.11-
Public Types | Public Member Functions | Protected Member Functions | List of all members
BVFactory< BV > Class Template Referenceabstract

interface of bounding volume factory More...

#include <BV.hpp>

Public Types

typedef rw::core::Ptr< BVFactory< BV > > Ptr
 Smart pointer type to BVFactory<BV>.
 

Public Member Functions

virtual ~BVFactory ()
 Destructor.
 
virtual BV makeBV (rw::geometry::TriMesh &geom)=0
 Create a bounding volume for a triangle mesh. More...
 
virtual BV makeBV (rw::geometry::GeometryData &geom)=0
 Create a bounding volume for any type of geometry. More...
 
virtual BV makeBV (rw::geometry::Primitive &geom)=0
 Create a bounding volume for a primitive. More...
 
virtual BV makeBV (rw::geometry::Shell &geom)=0
 Create a bounding volume for a shell. More...
 

Protected Member Functions

 BVFactory ()
 Constructor.
 

Detailed Description

template<class BV>
class rw::geometry::BVFactory< BV >

interface of bounding volume factory

Member Function Documentation

◆ makeBV() [1/4]

virtual BV makeBV ( rw::geometry::GeometryData geom)
pure virtual

Create a bounding volume for any type of geometry.

Parameters
geom[in/out] the geometry to create bounding volume for.
Returns
the bounding volume.

Implemented in OBBFactory< T >.

◆ makeBV() [2/4]

virtual BV makeBV ( rw::geometry::Primitive geom)
pure virtual

Create a bounding volume for a primitive.

Parameters
geom[in/out] the primitive to create bounding volume for.
Returns
the bounding volume.

Implemented in OBBFactory< T >.

◆ makeBV() [3/4]

virtual BV makeBV ( rw::geometry::Shell geom)
pure virtual

Create a bounding volume for a shell.

Parameters
geom[in/out] the shell to create bounding volume for.
Returns
the bounding volume.

Implemented in OBBFactory< T >.

◆ makeBV() [4/4]

virtual BV makeBV ( rw::geometry::TriMesh geom)
pure virtual

Create a bounding volume for a triangle mesh.

Parameters
geom[in/out] the mesh to create bounding volume for.
Returns
the bounding volume.

Implemented in OBBFactory< T >.


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