PeriDyno
1.0.0
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
b
c
d
e
g
h
i
k
m
p
q
r
s
t
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
m
n
o
p
q
r
s
t
v
Enumerations
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
w
x
y
Related Symbols
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
_
a
b
c
d
f
g
i
l
m
o
p
q
s
t
v
w
x
Variables
Typedefs
Enumerations
Enumerator
g
v
w
Macros
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
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
};
30
enum
GUIType
{
…
};
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
};
40
class
UbiApp
:
public
AppBase
{
…
};
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