Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Public Attributes | List of all members
om::physics::context::PhysicsContext::SceneInfo Class Reference

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...
 
CollisionBroadphasebroadphase
 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, UInt32constraintIslands
 A list of the constraint islands in this context. More...
 
ArrayList< UInt32, UInt32islandFreeList
 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< UInt32objectIslands
 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...
 

Detailed Description

An object that stores information about a scene in a physics context.

Constructor & Destructor Documentation

om::physics::context::PhysicsContext::SceneInfo::SceneInfo ( )
inline

Create a new scene info object with the default state.

Member Data Documentation

ArrayList<ObjectState*> om::physics::context::PhysicsContext::SceneInfo::objects

A list of the objects that are in this scene.

ArrayList<Collider*> om::physics::context::PhysicsContext::SceneInfo::colliders

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.

ArrayList<Force*> om::physics::context::PhysicsContext::SceneInfo::forces

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.

ArrayList<UInt32,UInt32> om::physics::context::PhysicsContext::SceneInfo::islandFreeList

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.

PODArray<UInt32> om::physics::context::PhysicsContext::SceneInfo::objectIslands

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.


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