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

#include <SP_SceneInterface.h>

Inheritance diagram for vrecko::SP_SceneInterface:
APSpacePartitioning::NoPartitioning_Scene APSpacePartitioning::SphereBVH_Scene

Public Member Functions

 SP_SceneInterface ()
 
 ~SP_SceneInterface ()
 
int getId ()
 
virtual bool performCompleteTest (CollisionParams *params, COLLISIONS_INFO_VECTOR **collisions, unsigned long limitToEO1, unsigned long limitToEO2)
 
virtual bool performUpdate (CollisionParams *params, COLLISIONS_INFO_VECTOR **collisions, unsigned long limitToEO1, unsigned long limitToEO2)
 

Protected Attributes

int scIntId
 

Constructor & Destructor Documentation

vrecko::SP_SceneInterface::SP_SceneInterface ( )
inline
vrecko::SP_SceneInterface::~SP_SceneInterface ( )
inline

Member Function Documentation

int vrecko::SP_SceneInterface::getId ( )
inline
virtual bool vrecko::SP_SceneInterface::performCompleteTest ( CollisionParams params,
COLLISIONS_INFO_VECTOR **  collisions,
unsigned long  limitToEO1,
unsigned long  limitToEO2 
)
inlinevirtual

This method performs the complete collision test as requested. It assumes that all parameters are already validated. The reason to split the validation and this method is that this method may be called from a thread.

Reimplemented in APSpacePartitioning::NoPartitioning_Scene.

virtual bool vrecko::SP_SceneInterface::performUpdate ( CollisionParams params,
COLLISIONS_INFO_VECTOR **  collisions,
unsigned long  limitToEO1,
unsigned long  limitToEO2 
)
inlinevirtual

Performs an update of results gathered in a previous run (or a background thread). [iThreadIndex] is an index to the [threadsInfo] array.

Reimplemented in APSpacePartitioning::NoPartitioning_Scene.

Member Data Documentation

int vrecko::SP_SceneInterface::scIntId
protected

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