PeriDyno
1.0.0
Loading...
Searching...
No Matches
D:
Peridyno
peridyno
src
Rendering
GUI
UbiGUI
UbiApp.h
Go to the documentation of this file.
1
16
#pragma once
17
18
#include "
GlfwGUI/GlfwApp.h
"
19
20
#if (defined QT_GUI_SUPPORTED)
21
#include "
QtGUI/QtApp.h
"
22
#endif
23
24
#if (defined WT_GUI_SUPPORTED)
25
#include "
WtGUI/WtApp.h
"
26
#endif
27
28
namespace
dyno
29
{
30
enum
GUIType
31
{
32
GUI_GLFW
= 0,
33
GUI_QT
= 1,
34
GUI_WT
= 2
35
};
36
40
class
UbiApp
:
public
AppBase
41
{
42
public
:
43
UbiApp
(
GUIType
type =
GUIType::GUI_GLFW
);
44
~UbiApp
();
45
46
void
initialize
(
int
width,
int
height,
bool
usePlugin =
false
)
override
;
47
48
RenderWindow
*
renderWindow
();
49
50
void
mainLoop
()
override
;
51
52
private
:
53
AppBase
*
mApp
=
nullptr
;
54
55
GUIType
mType
=
GUIType::GUI_GLFW
;
56
};
57
}
GlfwApp.h
QtApp.h
WtApp.h
dyno::AppBase::AppBase
AppBase()
Definition
AppBase.h:16
dyno::RenderWindow
Definition
RenderWindow.h:24
dyno::UbiApp::mType
GUIType mType
Definition
UbiApp.h:55
dyno::UbiApp::mainLoop
void mainLoop() override
Definition
UbiApp.cpp:46
dyno::UbiApp::mApp
AppBase * mApp
Definition
UbiApp.h:53
dyno::UbiApp::renderWindow
RenderWindow * renderWindow()
Definition
UbiApp.cpp:41
dyno::UbiApp::~UbiApp
~UbiApp()
Definition
UbiApp.cpp:31
dyno::UbiApp::UbiApp
UbiApp(GUIType type=GUIType::GUI_GLFW)
Definition
UbiApp.cpp:5
dyno::UbiApp::initialize
void initialize(int width, int height, bool usePlugin=false) override
Definition
UbiApp.cpp:36
dyno
This is an implementation of AdditiveCCD based on peridyno.
Definition
Array.h:25
dyno::GUIType
GUIType
Definition
UbiApp.h:31
dyno::GUI_WT
@ GUI_WT
Definition
UbiApp.h:34
dyno::GUI_QT
@ GUI_QT
Definition
UbiApp.h:33
dyno::GUI_GLFW
@ GUI_GLFW
Definition
UbiApp.h:32
Generated by
1.13.2