50 void onPaint(wxPaintEvent& evt);
52 void onMouseMotion(wxMouseEvent& evt);
54 void onLeftUp(wxMouseEvent& evt);
56 void onRightDown(wxMouseEvent& evt);
58 void onRightUp(wxMouseEvent& evt);
60 void onDoubleClick(wxMouseEvent& evt);
62 void onMouseWheel(wxMouseEvent& evt);
64 void onResize(wxSizeEvent& evt);
Helper class for rotating objects by mouse drag.
Base class for drawing particles into the window.
#define NAMESPACE_SPH_END
Wrapper of type value of which may or may not be present.
static AffineMatrix identity()
Helper object providing rotation matrix based on mouse drag.
Main GUI class connection the simulation with UI controls.
Interface defining a camera or view, used by a renderer.
virtual void resetView() override
virtual ICamera & getCamera() override
OrthoPane(wxWindow *parent, Controller *controller, const GuiSettings &gui)
Pixel position
Cached last mouse position when dragging the window.
AffineMatrix initialMatrix
Camera rotation matrix when dragging started.
virtual void onTimeStep(const Storage &storage, const Statistics &stats) override
Object holding various statistics about current run.
Container storing all quantities used within the simulations.
Simple 2D vector with integer coordinates. Provides conversion from and to wxPoint.