Om
1.0.0
A universal framework for multimedia simulation
|
An interface for classes that can be part of a physics scene. More...
#include <omPhysicsSceneObject.h>
Public Member Functions | |
virtual Bool | addSceneObjects (PhysicsSceneID sceneID) |
Add internal context objects to the scene with the specified ID. More... | |
virtual Bool | removeSceneObjects (PhysicsSceneID sceneID) |
Remove internal context objects from the scene with the specified ID. More... | |
Public Member Functions inherited from om::physics::context::PhysicsContextObject | |
virtual | ~PhysicsContextObject () |
Destory this physics context object. More... | |
PhysicsContext * | getContext () const |
Return a pointer to the physics context this context object is using to do simulation. More... | |
virtual Bool | setContext (PhysicsContext *newContext) |
Set a pointer to the physics context this context object should use to do simulation. More... | |
Bool | clearContext () |
Clear the previous context from this object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from om::physics::context::PhysicsContextObject | |
PhysicsContextObject () | |
Create a new physics context object that doesn't have an associated physics context. More... | |
PhysicsContextObject (PhysicsContext *newContext) | |
Create a new physics context object that uses the specified context for simulation. More... | |
Protected Attributes inherited from om::physics::context::PhysicsContextObject | |
PhysicsContext * | context |
A pointer to the physics context this object is using. More... | |
An interface for classes that can be part of a physics scene.
|
inlinevirtual |
Add internal context objects to the scene with the specified ID.
This method should register any internal simulation objects as part of the given scene in the current simulation context. The method returns whether or not the objects where successfully registered.
|
inlinevirtual |
Remove internal context objects from the scene with the specified ID.
This method should un-register any internal simulation objects from the given scene in the current simulation context. The method returns whether or not the objects where successfully unregistered.