Virtual Testbed
Ship dynamics simulator for extreme conditions
src
vtestbed
gui
CalmSeaGeneratorPanel.hh
1
#ifndef VTESTBED_GUI_CALMSEAGENERATORPANEL_HH
2
#define VTESTBED_GUI_CALMSEAGENERATORPANEL_HH
3
4
#include <vtestbed/gui/GeneratorPanel.hh>
5
#include <vtestbed/gui/types.hh>
6
7
namespace
vtb
{
8
9
namespace
gui {
10
11
template
<
class
T>
12
class
CalmSeaGeneratorPanel
:
public
GeneratorPanel
<VTB_REAL_TYPE> {
13
14
private
:
15
using
base_type
=
GeneratorPanel<VTB_REAL_TYPE>
;
16
17
public
:
18
using
amplitude_type
=
vtb::core::Amplitude<T>
;
19
using
length_type
=
vtb::core::Length<T>
;
20
using
direction_type
=
vtb::core::Direction<T>
;
21
using
policy_type = vtb::core::Policy;
22
23
public
:
24
25
void
draw()
override
;
26
std::any generator(policy_type policy)
override
;
27
void
init(
const
testbed_type
& testbed)
override
;
28
29
};
30
31
}
32
}
33
34
#endif // vim:filetype=cpp
vtb::core::Direction
Definition:
core/types.hh:55
vtb::gui::CalmSeaGeneratorPanel
Definition:
CalmSeaGeneratorPanel.hh:12
vtb
Main namespace.
Definition:
convert.hh:9
vtb::core::Testbed
Main class for interacting with virtual testbed.
Definition:
testbed.hh:33
vtb::core::Amplitude
Definition:
core/types.hh:52
vtb::gui::GeneratorPanel
Definition:
GeneratorPanel.hh:13
vtb::core::Length
Definition:
core/types.hh:58
Generated by
1.8.15