#include <TeEngineExplorer.h>
Inheritance diagram for TeEngineExplorer:
This class is here to provide example of creating new objects that can be inserted into the engine. Handling of events and HUD-related things are implemented, so user can understand the meaning of them quickly.
The HUD of this "flyer" is used to display some useful information about the running engine.
Public Member Functions | |
TeEngineExplorer () | |
virtual void | handleEvent (const SoEvent *event) |
Protected Member Functions | |
virtual void | createHUD () |
virtual void | updateHUD () |
Private Attributes | |
SoText2 * | posText |
SoText2 * | speedText |
SoText2 * | fpsText |
SoText2 * | tasksInQueueText |
SoText2 * | patchNumText |
SoText2 * | rootLevelText |
SbVec3f | defaultCamDistance |
Friends | |
class | TeEngine |
|
Default constructor.
|
|
Creates HUD scene graph in engine's HUDRoot.
Reimplemented from TeObject. |
|
Handles the user interaction. This method defines controls of the object and should represent the physics of the object by correctly adjusted control responses.
Reimplemented from TeObject. |
|
Updates the HUD scene graph. In this function all nodes that reflect actual state should be updated. Reimplemented from TeObject. |
|
Default camera distance.
|
|
Node that contains info about current FPS value.
|
|
Node that contains info about total number of generated patches.
|
|
Node that contains info about object position.
|
|
Node that contains info about current patches-tree depth.
|
|
Node that contains info about object speed.
|
|
Node that contains info about number of tasks waiting in the queue.
|