Virtual Testbed
Ship dynamics simulator for extreme conditions
|
Main class for interacting with virtual testbed via GUI. More...
#include <TestbedGUI.hh>
Public Member Functions | |
TestbedGUI (const Arguments &arguments, const Configuration &conf, vtb::gui::CircularLineBuffer &imguibuf) | |
void | step (const testbed_type &testbed) |
void | setNearFar (Float zNear, Float zFar) |
ScreenRecorder * | screenRecorder () |
void | screenRecorder (ScreenRecorder *rhs) |
void | startScreenRecorder () |
void | recording (bool rhs) |
void | stopScreenRecorder () |
Vector2i | windowSize () |
vtb::graphics::ShipHullObject< T > & | hull () |
vtb::graphics::ShipCompartments< T > & | compartments () |
void | init (const testbed_type &testbed) |
void | start () |
void | pause () |
void | stop () |
![]() | |
ApplicationBase (const Arguments &args, const Configuration &conf) | |
settings_type * | settings_ptr () |
settings_type * | colors_ptr () |
const settings_type & | settings () const |
settings_type & | settings () |
Policy | policy () const |
Protected Member Functions | |
void | drawEvent () override |
void | keyPressEvent (KeyEvent &event) override |
![]() | |
void | initImGui (MagnumImGui &imgui) |
void | enableDebugOutput () |
Scene3D * | scene () |
const Scene3D * | scene () const |
Camera3D * | camera () |
const Camera3D * | camera () const |
Object3D * | cameraObject () |
const Object3D * | cameraObject () const |
void | setCameraTranslationDelta (Float rhs) |
void | viewportEvent (const Vector2i &size) override |
void | keyPressEvent (KeyEvent &event) override |
void | mouseMoveEvent (MouseMoveEvent &event) override |
void | mousePressEvent (MouseEvent &event) override |
void | keyReleaseEvent (KeyEvent &event) override |
void | mouseReleaseEvent (MouseEvent &event) override |
void | mouseScrollEvent (MouseScrollEvent &event) override |
void | textInputEvent (TextInputEvent &event) override |
Additional Inherited Members | |
![]() | |
using | Policy = vtb::core::Policy |
using | settings_type = vtb::ini::Ini_settings |
Main class for interacting with virtual testbed via GUI.
Definition at line 30 of file TestbedGUI.hh.