Main class for interacting with virtual testbed via GUI.
public vtb::gui::ApplicationBase
keyPressEvent(KeyEvent & event) -> voidprotected
drawEvent() -> voidprotected
template <class Callback>
call(Callback && cb) -> void
Insert computational and graphical callbacks. The callback will be called before the next rendering step in OpenGL thread. The argument to this function is non-constant reference to vtb::gui::TestbedGUI object using which you can copy-out simulation results (e.g. wavy surface) from the previous step.
stop() -> void
pause() -> void
start() -> void
init(const testbed_type & testbed) -> void
rootWindow() -> RootWindow< T > &
compartments() -> vtb::graphics::ShipCompartments< T > &
hull() -> hull_type &
windowSize() -> Vector2i
stopScreenRecorder() -> void
recording(bool rhs) -> void
startScreenRecorder() -> void
screenRecorder(ScreenRecorder * rhs) -> void
screenRecorder() -> ScreenRecorder *
setNearFar(Float zNear, Float zFar) -> void
step(const testbed_type & testbed) -> void
~TestbedGUI()virtual
TestbedGUI(const Arguments & arguments, const Configuration & conf, vtb::gui::CircularLineBuffer & imguibuf)explicit