Virtual Testbed
Ship dynamics simulator for extreme conditions
src
vtestbed
gui
ShipMotionWindow.hh
1
#ifndef VTESTBED_GUI_SHIPMOTIONWINDOW_HH
2
#define VTESTBED_GUI_SHIPMOTIONWINDOW_HH
3
4
#include <vtestbed/gui/Window.hh>
5
#include <vtestbed/core/types.hh>
6
7
namespace
vtb
{
8
9
namespace
gui {
10
11
template
<
class
T>
12
class
ShipMotionWindow
:
public
Window
{
13
14
public
:
15
using
vec3 = vtb::core::Vector<T,3>;
16
using
testbed_type
=
vtb::core::Testbed<T,3>
;
17
18
private
:
19
vec3 _damping{T{0.50},T{0.90},T{0.50}};
20
21
public
:
22
23
ShipMotionWindow
();
24
25
void
draw();
26
void
init(
const
testbed_type
& testbed);
27
28
};
29
30
}
31
32
}
33
34
#endif // vim:filetype=cpp
vtb
Main namespace.
Definition:
convert.hh:9
vtb::core::Testbed< T, 3 >
vtb::gui::Window
Definition:
Window.hh:12
vtb::gui::ShipMotionWindow
Definition:
ShipMotionWindow.hh:12
Generated by
1.8.15