Om
1.0.0
A universal framework for multimedia simulation
|
An object that stores information about a scene in a physics context. More...
#include <omPhysicsContext.h>
Public Member Functions | |
SceneInfo () | |
Create a new scene info object with the default state. More... | |
Public Attributes | |
ArrayList< ObjectState * > | objects |
A list of the objects that are in this scene. More... | |
ArrayList< Collider * > | colliders |
A list of the colliders that are in this scene. More... | |
ArrayList< ConstraintInfo * > | constraints |
A list of the constraints that are in this scene. More... | |
ArrayList< Force * > | forces |
A list of the forces that are in this scene. More... | |
ArrayList< ForceField * > | fields |
A list of the force fields that are in this scene. More... | |
CollisionBroadphase * | broadphase |
An object that this context is using to find potentially colliding pairs in this scene. More... | |
constraints::ContactConstraint | contactConstraint |
An object that handles solving contact constraints for the context. More... | |
ArrayList< ConstraintIsland, UInt32 > | constraintIslands |
A list of the constraint islands in this context. More... | |
ArrayList< UInt32, UInt32 > | islandFreeList |
A list of the unused constraint islands in this context. More... | |
UInt32 | numUsedIslands |
The current number of constraint islands that are used in the list of islands. More... | |
PODArray< UInt32 > | objectIslands |
An array of constraint islands for the objects in this context. More... | |
Bool | validIslands |
A boolean valud indicating whether or not the constraint islands are valid. More... | |
An object that stores information about a scene in a physics context.
|
inline |
Create a new scene info object with the default state.
ArrayList<ObjectState*> om::physics::context::PhysicsContext::SceneInfo::objects |
A list of the objects that are in this scene.
A list of the colliders that are in this scene.
ArrayList<ConstraintInfo*> om::physics::context::PhysicsContext::SceneInfo::constraints |
A list of the constraints that are in this scene.
A list of the forces that are in this scene.
ArrayList<ForceField*> om::physics::context::PhysicsContext::SceneInfo::fields |
A list of the force fields that are in this scene.
CollisionBroadphase* om::physics::context::PhysicsContext::SceneInfo::broadphase |
An object that this context is using to find potentially colliding pairs in this scene.
constraints::ContactConstraint om::physics::context::PhysicsContext::SceneInfo::contactConstraint |
An object that handles solving contact constraints for the context.
ArrayList<ConstraintIsland,UInt32> om::physics::context::PhysicsContext::SceneInfo::constraintIslands |
A list of the constraint islands in this context.
A list of the unused constraint islands in this context.
UInt32 om::physics::context::PhysicsContext::SceneInfo::numUsedIslands |
The current number of constraint islands that are used in the list of islands.
An array of constraint islands for the objects in this context.
Bool om::physics::context::PhysicsContext::SceneInfo::validIslands |
A boolean valud indicating whether or not the constraint islands are valid.
If the islands are not valid, they are rebuilt when constraints are solved. The islands must be rebuilt every time a constraint is removed from the simulation.