PeriDyno 1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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
28namespace dyno
29{
31 {
33 GUI_QT = 1,
35 };
36
40 class UbiApp : public AppBase
41 {
42 public:
44 ~UbiApp();
45
46 void initialize(int width, int height, bool usePlugin = false) override;
47
49
50 void mainLoop() override;
51
52 private:
53 AppBase* mApp = nullptr;
54
56 };
57}
GUIType mType
Definition UbiApp.h:55
void mainLoop() override
Definition UbiApp.cpp:46
AppBase * mApp
Definition UbiApp.h:53
RenderWindow * renderWindow()
Definition UbiApp.cpp:41
UbiApp(GUIType type=GUIType::GUI_GLFW)
Definition UbiApp.cpp:5
void initialize(int width, int height, bool usePlugin=false) override
Definition UbiApp.cpp:36
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25
GUIType
Definition UbiApp.h:31
@ GUI_WT
Definition UbiApp.h:34
@ GUI_QT
Definition UbiApp.h:33
@ GUI_GLFW
Definition UbiApp.h:32