Application framework.
More...
#include <App.h>
|
| App (const GApp::Settings &settings=GApp::Settings()) |
|
virtual void | endProgram () |
| Sets m_endProgram to true. More...
|
|
virtual void | onAI () override |
|
void | onBuildingTest () |
|
void | onCityGeneration () |
| Generate city. More...
|
|
virtual void | onCleanup () override |
|
virtual bool | onEvent (const GEvent &e) override |
|
virtual void | onGraphics2D (RenderDevice *rd, Array< shared_ptr< Surface2D > > &surface2D) override |
|
virtual void | onGraphics3D (RenderDevice *rd, Array< shared_ptr< Surface > > &surface3D) override |
|
virtual void | onInit () override |
|
virtual void | onNetwork () override |
|
virtual void | onPose (Array< shared_ptr< Surface > > &posed3D, Array< shared_ptr< Surface2D > > &posed2D) override |
|
void | onRenderButton () |
| Render a image using raytracer when the render button is clicked. More...
|
|
void | onResolutionChange () |
| Update things when some item in the dropdown box is selected. More...
|
|
virtual void | onSimulation (RealTime rdt, SimTime sdt, SimTime idt) override |
|
virtual void | onUserInput (UserInput *ui) override |
|
void | onVideoStart () |
| Linked to the video recording GUI, when called, resets m_framecount and set m_isRecording to true, refreshes the current scene to start recordind. More...
|
|
App::App |
( |
const GApp::Settings & |
settings = GApp::Settings() | ) |
|
Sets m_endProgram to true.
void App::onBuildingTest |
( |
| ) |
|
void App::onCityGeneration |
( |
| ) |
|
bool App::onEvent |
( |
const GEvent & |
e | ) |
|
|
overridevirtual |
void App::onGraphics2D |
( |
RenderDevice * |
rd, |
|
|
Array< shared_ptr< Surface2D > > & |
surface2D |
|
) |
| |
|
overridevirtual |
void App::onGraphics3D |
( |
RenderDevice * |
rd, |
|
|
Array< shared_ptr< Surface > > & |
surface3D |
|
) |
| |
|
overridevirtual |
void App::onPose |
( |
Array< shared_ptr< Surface > > & |
posed3D, |
|
|
Array< shared_ptr< Surface2D > > & |
posed2D |
|
) |
| |
|
overridevirtual |
void App::onRenderButton |
( |
| ) |
|
Render a image using raytracer when the render button is clicked.
void App::onResolutionChange |
( |
| ) |
|
Update things when some item in the dropdown box is selected.
void App::onSimulation |
( |
RealTime |
rdt, |
|
|
SimTime |
sdt, |
|
|
SimTime |
idt |
|
) |
| |
|
overridevirtual |
void App::onUserInput |
( |
UserInput * |
ui | ) |
|
|
overridevirtual |
void App::onVideoStart |
( |
| ) |
|
Linked to the video recording GUI, when called, resets m_framecount and set m_isRecording to true, refreshes the current scene to start recordind.
Config file used for city generation.
Stop raytracing and outputting video after the specified end frame.
Count the number of frames after the recording started.
Flag signalling whether we are recording a video or not.
RealTime App::m_lastLightingChangeTime |
|
protected |
float App::m_raytraceTimeGui |
|
static |
GuiDropDownList* App::m_resolutionList |
|
protected |
Dropdown list containing all the possible resolutions for the rendered image.
Filename of the video we want to save.
Start raytracing and outputting video after the specified start frame.
float App::m_triTreeTimeGui |
|
static |
shared_ptr<VideoOutput> App::m_video |
|
protected |
The documentation for this class was generated from the following files: