|
Nebula
|
#include <viewerapplication.h>
Derived from RenderApplication, adds support for Stages, Views and GraphicsEntities to the asynchronous render app.
(C) 2007 Radon Labs GmbH (C) 2013-2018 Individual contributors, see AUTHORS file
Inherits App::RenderApplication.
Public Member Functions | |
| ViewerApplication () | |
| constructor | |
| virtual | ~ViewerApplication () |
| destructor | |
| virtual bool | Open () |
| open the application | |
| virtual void | Close () |
| close the application | |
Public Member Functions inherited from App::RenderApplication | |
| RenderApplication () | |
| constructor | |
| virtual | ~RenderApplication () |
| destructor | |
| void | SetLogFileEnabled (bool b) |
| enable/disable log file creation | |
| void | SetOverrideRootDirectory (const Util::String &rootDir) |
| override root-directory | |
| void | SetMountStandardArchivesEnabled (bool b) |
| enable/disable standard archive mounting | |
| void | SetMultithreadedRendering (bool b) |
| set multithreaded rendering | |
| void | SetWindowData (const Util::Blob &data) |
| sets the parent window | |
| virtual void | Run () |
| run the application | |
Public Member Functions inherited from App::Application | |
| Application () | |
| constructor | |
| virtual | ~Application () |
| destructor | |
| void | SetCompanyName (const Util::String &n) |
| set company name | |
| const Util::String & | GetCompanyName () const |
| get company name | |
| void | SetAppTitle (const Util::String &n) |
| set application name | |
| const Util::String & | GetAppTitle () const |
| get application name | |
| void | SetAppID (const Util::String &n) |
| set application id | |
| const Util::String & | GetAppID () const |
| get application id | |
| void | SetAppVersion (const Util::String &n) |
| set application version | |
| const Util::String & | GetAppVersion () const |
| get application version | |
| void | SetCmdLineArgs (const Util::CommandLineArgs &a) |
| set command line args | |
| const Util::CommandLineArgs & | GetCmdLineArgs () const |
| get command line args | |
| virtual void | Exit () |
| exit the application, call right before leaving main() | |
| bool | IsOpen () const |
| return true if app is open | |
| int | GetReturnCode () const |
| get the return code | |
Protected Member Functions | |
| virtual void | OnProcessInput () |
| process input (called before rendering) | |
| virtual void | OnUpdateFrame () |
| update world | |
Protected Member Functions inherited from App::RenderApplication | |
| Util::String | LookupProjectDirectory () |
| lookup the toolkit project key in the registry (Win32 only!) | |
| void | SetQuitRequested (bool b) |
| set quit requested flag | |
| bool | IsQuitRequested () const |
| return true if quit requested | |
| virtual void | OnConfigureDisplay () |
| called to configure display | |
| virtual void | OnSetupResourceMappers () |
| called to setup resource mappers | |
| Timing::Time | GetTime () const |
| get current absolute time | |
| Timing::Time | GetFrameTime () const |
| get current frame time | |
| _declare_timer (MainThreadFrameTimeAll) | |
| _declare_timer (MainThreadWaitForGraphicsFrame) | |
Protected Member Functions inherited from App::Application | |
| void | SetReturnCode (int c) |
| set return code | |
| App::ViewerApplication::ViewerApplication | ( | ) |
constructor
|
virtual |
destructor
|
virtual |
close the application
Reimplemented from App::RenderApplication.
|
protectedvirtual |
process input (called before rendering)
Reimplemented from App::RenderApplication.
|
protectedvirtual |
update world
Reimplemented from App::RenderApplication.
|
virtual |
open the application
Reimplemented from App::RenderApplication.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |