AnimaL |
Tutorial |
Documentation |
#include <world.h>
From this class, we can get the state of some elements of the world (for example, the camera's position and orientation). The class animal::Engine has a static pointer of the unique instance of the class animal::World. A non-pure virtual function will be added each time an animal::Engine needs an external information. A class inherited from animal::World will implement this function in a given architecture. See MainController (the GUI based on X3DTK, Qt and QGLViewer) which defines the unique animal::World as a X3DTK::Qt::QGLViewerWorld.
Definition at line 18 of file world.h.
Public Member Functions | |
World () | |
virtual | ~World () |
virtual void | getCameraPosition (float &, float &, float &) |
The parameters are the float x, y and z of the camera position. | |
virtual void | getCameraOrientation (float &, float &, float &, float &) |
The parameters are the float x, y, z and angle of the camera axis and angle. |
|
|
|
|
|
The parameters are the float x, y, z and angle of the camera axis and angle.
|
|
The parameters are the float x, y and z of the camera position.
|