Physics don't get much higher-level than this. More...
#include "physicsManager.h"
List of all members.
Physics don't get much higher-level than this.
Attach as many Physicals (particle systems, etc..) as you want, pick an integrator and go.
Definition at line 39 of file physicsManager.h.
Default Constructor.
NOTE: EulerIntegrator is the standard default.
Definition at line 31 of file physicsManager.cxx.
[virtual]
Simple Destructor.
Definition at line 43 of file physicsManager.cxx.
[inline]
Adds a global angular force to the physics manager.
Definition at line 90 of file physicsManager.I.
Adds a global linear force to the physics manager.
Definition at line 37 of file physicsManager.I.
Hooks an angular integrator into the manager.
Definition at line 156 of file physicsManager.I.
Hooks a linear integrator into the manager.
Definition at line 145 of file physicsManager.I.
Registers a Physical class with the manager.
Definition at line 21 of file physicsManager.I.
Referenced by attach_physical_node().
Registers a physicalnode with the manager.
Definition at line 67 of file physicsManager.I.
References attach_physical().
Referenced by attach_physicalnode().
Please call attach_physical_node instead.
Definition at line 53 of file physicsManager.I.
References attach_physical_node().
Resets the physics manager force vector.
Definition at line 105 of file physicsManager.I.
Definition at line 80 of file physicsManager.I.
Resets the physics manager objects vector.
Definition at line 115 of file physicsManager.I.
0
Write a string representation of this instance to <out>.
Definition at line 315 of file physicsManager.cxx.
This is the main high-level API call.
Performs integration on every attached Physical.
Definition at line 142 of file physicsManager.cxx.
References TypedObject::is_of_type(), and ActorNode::update_transform().
Performs integration on a single physical. Make sure its associated forces are active.
Definition at line 178 of file physicsManager.cxx.
Get the global viscosity.
Definition at line 135 of file physicsManager.I.
One-time config function, sets up the random seed used by the physics and particle systems.
For synchronizing across distributed computers
Definition at line 59 of file physicsManager.cxx.
Definition at line 208 of file physicsManager.cxx.
takes an angular force out of the physics list
Definition at line 90 of file physicsManager.cxx.
takes a linear force out of the physics list
Definition at line 71 of file physicsManager.cxx.
takes a physical out of the object list
Definition at line 109 of file physicsManager.cxx.
Referenced by remove_physical_node(), and Physical::~Physical().
Removes a physicalnode from the manager.
Definition at line 128 of file physicsManager.cxx.
References remove_physical().
Set the global viscosity.
Definition at line 125 of file physicsManager.I.
Definition at line 282 of file physicsManager.cxx.
References write_angular_forces(), write_linear_forces(), and write_physicals().
Definition at line 263 of file physicsManager.cxx.
Referenced by write().
Definition at line 244 of file physicsManager.cxx.
Definition at line 221 of file physicsManager.cxx.