vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vrecko::SP_ObjectInterface Class Reference

#include <SP_ObjectInterface.h>

Inheritance diagram for vrecko::SP_ObjectInterface:
APSpacePartitioning::PointShellVSVoxel_Object APSpacePartitioning::SphereBVH_Object APSpacePartitioning::SNCH_Object

Public Member Functions

 SP_ObjectInterface ()
 
 ~SP_ObjectInterface ()
 
int getId ()
 usually one of the SP_OBJECT_INTERFACE_ID__* constants More...
 
virtual bool getCollisions (CollisionParams *params, COLLISION_POINTS_VECTOR **colPoints, unsigned long obj1ID, unsigned long obj2ID, float time)
 

Protected Attributes

int objIntId
 

Constructor & Destructor Documentation

vrecko::SP_ObjectInterface::SP_ObjectInterface ( )
inline
vrecko::SP_ObjectInterface::~SP_ObjectInterface ( )
inline

Member Function Documentation

virtual bool vrecko::SP_ObjectInterface::getCollisions ( CollisionParams params,
COLLISION_POINTS_VECTOR **  colPoints,
unsigned long  obj1ID,
unsigned long  obj2ID,
float  time 
)
inlinevirtual

Computes the collisions between objects. Returns "false" in case of error.

[*colPoints] may be NULL on the input. In case there is no collision, it will still be NULL at the end, otherwise the structure will be created and the pointer to it returned.

[colPoints] may also be NULL, which means that no collision points are to be returned. The reason to make such a call is to update the internal structures of the Object col. det. class.

Reimplemented in APSpacePartitioning::PointShellVSVoxel_Object.

int vrecko::SP_ObjectInterface::getId ( )
inline

usually one of the SP_OBJECT_INTERFACE_ID__* constants

Member Data Documentation

int vrecko::SP_ObjectInterface::objIntId
protected

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