Virtual Testbed
Ship dynamics simulator for extreme conditions
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>;
17 
18  private:
19  vec3 _damping{T{0.50},T{0.90},T{0.50}};
20 
21  public:
22 
24 
25  void draw();
26  void init(const testbed_type& testbed);
27 
28  };
29 
30  }
31 
32 }
33 
34 #endif // vim:filetype=cpp
Main namespace.
Definition: convert.hh:9