CrystalSpace

Public API Reference

iDynamics Struct Reference

This is the interface for the actual plugin. More...

#include <ivaria/dynamics.h>

Inheritance diagram for iDynamics:

List of all members.

Public Member Functions

virtual void AddStepCallback (iDynamicsStepCallback *callback)=0
 Add a callback to be executed dynamics is being stepped.
virtual csPtr< iDynamicSystemCreateSystem ()=0
 Create a rigid body and add it to the simulation.
virtual iDynamicSystemFindSystem (const char *name)=0
 Finds a system by name.
virtual void RemoveStepCallback (iDynamicsStepCallback *callback)=0
 Remove dynamics step callback.
virtual void RemoveSystem (iDynamicSystem *system)=0
 Remove dynamic system from the simulation.
virtual void RemoveSystems ()=0
 Remove all dynamic systems from the simulation.
virtual void Step (float stepsize)=0
 Step the simulation forward by stepsize.

Detailed Description

This is the interface for the actual plugin.

It is responsible for creating iDynamicSystem.

Main creators of instances implementing this interface:

Main ways to get pointers to this interface:

Main users of this interface:

Definition at line 71 of file dynamics.h.


Member Function Documentation

virtual void iDynamics::AddStepCallback ( iDynamicsStepCallback callback  )  [pure virtual]

Add a callback to be executed dynamics is being stepped.

virtual csPtr<iDynamicSystem> iDynamics::CreateSystem (  )  [pure virtual]

Create a rigid body and add it to the simulation.

virtual iDynamicSystem* iDynamics::FindSystem ( const char *  name  )  [pure virtual]

Finds a system by name.

virtual void iDynamics::RemoveStepCallback ( iDynamicsStepCallback callback  )  [pure virtual]

Remove dynamics step callback.

virtual void iDynamics::RemoveSystem ( iDynamicSystem system  )  [pure virtual]

Remove dynamic system from the simulation.

virtual void iDynamics::RemoveSystems (  )  [pure virtual]

Remove all dynamic systems from the simulation.

virtual void iDynamics::Step ( float  stepsize  )  [pure virtual]

Step the simulation forward by stepsize.


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

Generated for Crystal Space 1.4.1 by doxygen 1.7.1