PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::GlfwApp Class Reference

#include <GlfwApp.h>

Inheritance diagram for dyno::GlfwApp:
Collaboration diagram for dyno::GlfwApp:

Public Member Functions

 GlfwApp (int argc=0, char **argv=NULL)
 
 ~GlfwApp ()
 
void initialize (int width, int height, bool usePlugin=false) override
 
RenderWindowrenderWindow () override
 
void mainLoop () override
 
void setWindowTitle (const std::string &title)
 
- Public Member Functions inherited from dyno::AppBase
 AppBase ()
 
 ~AppBase ()
 
virtual std::shared_ptr< SceneGraphgetSceneGraph ()
 
virtual void setSceneGraph (std::shared_ptr< SceneGraph > scene)
 
virtual void setSceneGraphCreator (std::function< std::shared_ptr< SceneGraph >()> creator)
 

Private Attributes

std::shared_ptr< GlfwRenderWindowmRenderWindow
 

Detailed Description

Definition at line 12 of file GlfwApp.h.

Constructor & Destructor Documentation

◆ GlfwApp()

dyno::GlfwApp::GlfwApp ( int argc = 0,
char ** argv = NULL )

Definition at line 5 of file GlfwApp.cpp.

◆ ~GlfwApp()

dyno::GlfwApp::~GlfwApp ( )

Definition at line 18 of file GlfwApp.cpp.

Member Function Documentation

◆ initialize()

void dyno::GlfwApp::initialize ( int width,
int height,
bool usePlugin = false )
overridevirtual

Reimplemented from dyno::AppBase.

Definition at line 22 of file GlfwApp.cpp.

◆ mainLoop()

void dyno::GlfwApp::mainLoop ( )
overridevirtual

Implements dyno::AppBase.

Definition at line 29 of file GlfwApp.cpp.

◆ renderWindow()

RenderWindow * dyno::GlfwApp::renderWindow ( )
inlineoverridevirtual

Reimplemented from dyno::AppBase.

Definition at line 20 of file GlfwApp.h.

◆ setWindowTitle()

void dyno::GlfwApp::setWindowTitle ( const std::string & title)

Definition at line 34 of file GlfwApp.cpp.

Member Data Documentation

◆ mRenderWindow

std::shared_ptr<GlfwRenderWindow> dyno::GlfwApp::mRenderWindow
private

Definition at line 27 of file GlfwApp.h.


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