#include <System.h>
Inheritance diagram for OpenCAL::System:
Public Member Functions | |
Object * | getObject (unsigned int i) |
Actor * | getActor (unsigned int i) |
Agent * | getAgent (unsigned int i) |
System * | getSystem (unsigned int i) |
void | setRenderer (Renderer *renderer) |
Renderer * | getRenderer () |
virtual void | render () |
void | setPicker (Picker *picker) |
Picker * | getPicker () |
virtual void | renderPicking () |
virtual Object * | pick (int x, int y) |
System * | getParent () |
const System * | getParent () const |
Object * | getSelectedObject () |
void | selectObject (Object *object) |
void | unselectObject () |
unsigned int | numObjects () const |
unsigned int | numActors () const |
unsigned int | numAgents () const |
unsigned int | numSystems () const |
unsigned int | numChildren () const |
bool | hasParent () const |
bool | isEnabled () const |
void | enable () |
void | disable () |
void | toggle () |
void | setEnabled (bool enabled) |
bool | getDraw () const |
void | setDraw (bool enabled=true) |
void | enableDraw () |
void | disableDraw () |
void | toggleDraw () |
virtual bool | isInitialized () const |
virtual void | initialize () |
virtual void | step (float deltaSeconds) |
Protected Types | |
typedef vector< Object * > | ObjectList |
typedef vector< Actor * > | ActorList |
typedef vector< Agent * > | AgentList |
typedef vector< System * > | SystemList |
Protected Member Functions | |
System (System *parent) | |
virtual void | addObject (Object *object) |
virtual void | addActor (Actor *actor) |
virtual void | addAgent (Agent *agent) |
virtual void | addSystem (System *system) |
virtual void | deleteObject (Object *object) |
virtual void | deleteActor (Actor *actor) |
virtual void | deleteAgent (Agent *agent) |
virtual void | deleteSystem (System *system) |
bool | isDestructing () const |
Protected Attributes | |
ObjectList | m_objects |
ActorList | m_actors |
AgentList | m_agents |
SystemList | m_systems |
System * | m_parent |
bool | m_initialized |
bool | m_draw |
bool | m_enabled |
float | m_accuracyHint |
This variable tells OpenCAL which techniques and parameters to choose. | |
Object * | m_selectedObject |
Renderer * | m_renderer |
Picker * | m_picker |
Private Attributes | |
bool | m_destructing |
Used internally only, when destructing the system. |
Definition at line 36 of file System.h.
|
References m_destructing. |
|
References m_destructing. |
|
References m_destructing. |
|
References m_destructing. |
|
Definition at line 72 of file System.h. |
|
Definition at line 74 of file System.h. |
|
Definition at line 70 of file System.h. Referenced by OpenCAL::ObjectIterator::operator++(). |
|
Definition at line 76 of file System.h. Referenced by OpenCAL::ObjectIterator::operator++(). |
|
Reimplemented in OpenCAL::PhysicsSystem. Definition at line 211 of file System.cpp. References OpenCAL::Renderer::initialize(). Referenced by OpenCAL::PhysicsSystem::initialize(), render(), and renderPicking(). Here is the call graph for this function: ![]() |
|
Reimplemented in OpenCAL::Cloth, and OpenCAL::Rope. Definition at line 107 of file System.cpp. References initialize(). Here is the call graph for this function: ![]() |
|
Definition at line 150 of file System.cpp. References initialize(), OpenCAL::Picker::loadName(), OpenCAL::Picker::popName(), and OpenCAL::Picker::pushName(). Here is the call graph for this function: ![]() |