![]() |
omegalib
13.1
|
The omegalib Engine is the core runtime component of omegalib. More...
#include <Engine.h>
Public Types | |
| typedef List< Ref< Camera > > | CameraCollection |
Static Public Member Functions | |
| static Engine * | instance () |
Static Public Member Functions inherited from omicron::ReferenceType | |
| static void | printObjCounts () |
Static Public Attributes | |
| static const int | MaxActivePointers = 128 |
Friends | |
| class | Renderer |
Additional Inherited Members | |
Static Protected Attributes inherited from omicron::ReferenceType | |
| static List< ReferenceType * > | mysObjList |
The omegalib Engine is the core runtime component of omegalib.
It runs on each node of a cluster system and handles the abstract scene graph, cameras, distribution of events and frame updates.
Inheritance diagram for omega::Engine:| typedef List< Ref<Camera> > omega::Engine::CameraCollection |
| omega::Engine::Engine | ( | ApplicationBase * | app | ) |
|
virtual |
| void omega::Engine::addQuickCommand | ( | const String & | cmd, |
| const String & | call, | ||
| int | args, | ||
| const String & | description | ||
| ) |
Quick commands.
| Camera* omega::Engine::createCamera | ( | uint | flags = Camera::DefaultFlags | ) |
| Camera* omega::Engine::createCamera | ( | const String & | name, |
| uint | flags = Camera::DefaultFlags |
||
| ) |
| void omega::Engine::destroyCamera | ( | Camera * | cam | ) |
|
virtual |
|
inline |
| Camera* omega::Engine::getCameraById | ( | int | id | ) |
| CameraCollection omega::Engine::getCameras | ( | ) |
| CameraCollection omega::Engine::getCameras | ( | ) | const |
| int omega::Engine::getCanvasHeight | ( | ) |
| int omega::Engine::getCanvasWidth | ( | ) |
|
inline |
|
inline |
|
inline |
Pointer management.
| Pointer* omega::Engine::getPointer | ( | int | id | ) |
| Renderer* omega::Engine::getRendererByContextId | ( | int | id | ) |
|
inline |
| SceneNode* omega::Engine::getScene | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| bool omega::Engine::handleCommand | ( | const String & | cmd | ) |
|
virtual |
Implements omicron::IEventListener.
|
virtual |
| void omega::Engine::initializeSound | ( | ) |
Sound management.
|
inlinestatic |
|
inline |
|
inline |
This is only used to indicate if sound was enabled via configuration If this is true, we assume the master node is connected/connecting to the sound server.
Used to enable the sound volume Python menu.
| const SceneQueryResultList& omega::Engine::querySceneRay | ( | const Ray & | ray, |
| uint | flags = 0 |
||
| ) |
Scene query.
| void omega::Engine::removeQuickCommand | ( | const String & | cmd | ) |
| void omega::Engine::removeRenderPass | ( | const String & | renderPassName | ) |
| void omega::Engine::reset | ( | ) |
Resets the omegalib engine to its initial state.
Useful for runtime application switching.
|
inline |
|
inline |
| void omega::Engine::setEventDispatchEnabled | ( | bool | value | ) |
Set to true by default.
When set to false, the engine will ignore all input events.
|
virtual |
|
friend |
|
static |