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

This class provides a unified representation for all three GUIs, including the GlfwGUI, QtGUI and WtGUI. More...

#include <UbiApp.h>

Inheritance diagram for dyno::UbiApp:
Collaboration diagram for dyno::UbiApp:

Public Member Functions

 UbiApp (GUIType type=GUIType::GUI_GLFW)
 
 ~UbiApp ()
 
void initialize (int width, int height, bool usePlugin=false) override
 
RenderWindowrenderWindow ()
 
void mainLoop () override
 
- 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

AppBasemApp = nullptr
 
GUIType mType = GUIType::GUI_GLFW
 

Detailed Description

This class provides a unified representation for all three GUIs, including the GlfwGUI, QtGUI and WtGUI.

Definition at line 40 of file UbiApp.h.

Constructor & Destructor Documentation

◆ UbiApp()

dyno::UbiApp::UbiApp ( GUIType type = GUIType::GUI_GLFW)

Definition at line 5 of file UbiApp.cpp.

◆ ~UbiApp()

dyno::UbiApp::~UbiApp ( )

Definition at line 31 of file UbiApp.cpp.

Member Function Documentation

◆ initialize()

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

Reimplemented from dyno::AppBase.

Definition at line 36 of file UbiApp.cpp.

◆ mainLoop()

void dyno::UbiApp::mainLoop ( )
overridevirtual

Implements dyno::AppBase.

Definition at line 46 of file UbiApp.cpp.

◆ renderWindow()

RenderWindow * dyno::UbiApp::renderWindow ( )
virtual

Reimplemented from dyno::AppBase.

Definition at line 41 of file UbiApp.cpp.

Member Data Documentation

◆ mApp

AppBase* dyno::UbiApp::mApp = nullptr
private

Definition at line 53 of file UbiApp.h.

◆ mType

GUIType dyno::UbiApp::mType = GUIType::GUI_GLFW
private

Definition at line 55 of file UbiApp.h.


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