this is the base-class for objects that exist temporarily like some indicator of manipulation are a message More...
#include <tmpobject.h>
Inherited by TmpDisplayItem, TmpJoint, and TmpPrimitive.
Public Member Functions | |
TmpObject () | |
virtual void | init (const OdeHandle &odeHandle, const OsgHandle &osgHandle)=0 |
virtual void | deleteObject ()=0 |
deletes the object | |
virtual void | update ()=0 |
update graphics here | |
void | setExpireTime (double time) |
bool | expired (double time) |
Protected Attributes | |
double | time |
this is the base-class for objects that exist temporarily like some indicator of manipulation are a message
TmpObject | ( | ) | [inline] |
virtual void deleteObject | ( | ) | [pure virtual] |
deletes the object
Implemented in TmpPrimitive, TmpDisplayItem, and TmpJoint.
bool expired | ( | double | time | ) | [inline] |
Implemented in TmpPrimitive, TmpDisplayItem, and TmpJoint.
void setExpireTime | ( | double | time | ) | [inline] |
virtual void update | ( | ) | [pure virtual] |
update graphics here
Implemented in TmpPrimitive, TmpDisplayItem, and TmpJoint.
double time [protected] |