RobWorkProject
23.9.11-
|
Interface for accessing primitives. More...
#include <BVTree.hpp>
Public Types | |
typedef PRIM | PRIMType |
Type of primitive. | |
Public Member Functions | |
virtual | ~PrimArrayAccessor () |
Destructor. | |
virtual void | getPrimitive (size_t pidx, PRIM &prim) const =0 |
Get primitive. More... | |
virtual size_t | getSize () const =0 |
Get the number of primitives. More... | |
Interface for accessing primitives.
|
pure virtual |
Get primitive.
pidx | [in] id of primitive. |
prim | [out] the primitive. |
Implemented in BVTreeFactory::TriMeshAccessor< T >, and BVTreeFactory::ShellAccessor< T >.
|
pure virtual |
Get the number of primitives.
Implemented in BVTreeFactory::ShellAccessor< T >, and BVTreeFactory::TriMeshAccessor< T >.