Pioneer
Public Member Functions | Protected Member Functions | Friends | List of all members
ModelViewerApp Class Reference

#include <ModelViewer.h>

Inheritance diagram for ModelViewerApp:
Inheritance graph
[legend]
Collaboration diagram for ModelViewerApp:
Collaboration graph
[legend]

Public Member Functions

 ModelViewerApp ()
 
void SetInitialModel (std::string &modelName)
 
std::string & GetModelName ()
 
- Public Member Functions inherited from GuiApplication
 GuiApplication (std::string title)
 
Graphics::RendererGetRenderer ()
 
Input::ManagerGetInput ()
 
PiGui::InstanceGetPiGui ()
 
- Public Member Functions inherited from Application
 Application ()=default
 
virtual ~Application ()=default
 
void QueueLifecycle (std::shared_ptr< Lifecycle > cycle)
 
void ClearQueuedLifecycles ()
 
void Run ()
 
float DeltaTime ()
 
double GetTime ()
 
void RequestProfileFrame (const std::string &path="")
 

Protected Member Functions

void Startup () override
 
void Shutdown () override
 
void PreUpdate () override
 
void PostUpdate () override
 
- Protected Member Functions inherited from GuiApplication
void DrawRenderTarget ()
 
Graphics::RendererStartupRenderer (IniConfig *config, bool hidden=false)
 
Input::ManagerStartupInput (IniConfig *config)
 
PiGui::InstanceStartupPiGui ()
 
void ShutdownRenderer ()
 
void ShutdownInput ()
 
void ShutdownPiGui ()
 
void BeginFrame () override
 
void EndFrame () override
 
void HandleEvents ()
 
virtual bool HandleEvent (SDL_Event &ev)
 
virtual void HandleQuit (SDL_QuitEvent &ev)
 
- Protected Member Functions inherited from Application
void RequestQuit ()
 
LifecycleGetActiveLifecycle ()
 
void SetProfilerPath (const std::string &)
 
void SetProfileSlowFrames (bool enabled)
 
void SetProfileZones (bool enabled)
 

Friends

class ModelViewer
 

Constructor & Destructor Documentation

◆ ModelViewerApp()

ModelViewerApp::ModelViewerApp ( )
inline

Member Function Documentation

◆ GetModelName()

std::string& ModelViewerApp::GetModelName ( )
inline

◆ PostUpdate()

void ModelViewerApp::PostUpdate ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ PreUpdate()

void ModelViewerApp::PreUpdate ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ SetInitialModel()

void ModelViewerApp::SetInitialModel ( std::string &  modelName)
inline

◆ Shutdown()

void ModelViewerApp::Shutdown ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ Startup()

void ModelViewerApp::Startup ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ ModelViewer

friend class ModelViewer
friend

The documentation for this class was generated from the following files: