SPH
Public Member Functions | List of all members
OrthoPane Class Reference

#include <OrthoPane.h>

Inheritance diagram for OrthoPane:
IGraphicsPane

Public Member Functions

 OrthoPane (wxWindow *parent, Controller *controller, const GuiSettings &gui)
 
 ~OrthoPane ()
 
virtual ICameragetCamera () override
 
virtual void resetView () override
 
virtual void onTimeStep (const Storage &storage, const Statistics &stats) override
 
- Public Member Functions inherited from IGraphicsPane
 IGraphicsPane (wxWindow *parent)
 

Detailed Description

Definition at line 14 of file OrthoPane.h.

Constructor & Destructor Documentation

◆ OrthoPane()

NAMESPACE_SPH_BEGIN OrthoPane::OrthoPane ( wxWindow *  parent,
Controller controller,
const GuiSettings gui 
)

Definition at line 16 of file OrthoPane.cpp.

◆ ~OrthoPane()

OrthoPane::~OrthoPane ( )
default

Member Function Documentation

◆ getCamera()

virtual ICamera& OrthoPane::getCamera ( )
inlineoverridevirtual

Implements IGraphicsPane.

Definition at line 40 of file OrthoPane.h.

◆ onTimeStep()

void OrthoPane::onTimeStep ( const Storage storage,
const Statistics stats 
)
overridevirtual

Implements IGraphicsPane.

Definition at line 45 of file OrthoPane.cpp.

◆ resetView()

void OrthoPane::resetView ( )
overridevirtual

Implements IGraphicsPane.

Definition at line 40 of file OrthoPane.cpp.

Member Data Documentation

◆ initialMatrix

AffineMatrix OrthoPane::initialMatrix = AffineMatrix::identity()

Camera rotation matrix when dragging started.

Definition at line 28 of file OrthoPane.h.

◆ lastIdx

Optional<Size> OrthoPane::lastIdx

Definition at line 32 of file OrthoPane.h.

◆ position

Pixel OrthoPane::position

Cached last mouse position when dragging the window.

Definition at line 25 of file OrthoPane.h.


The documentation for this class was generated from the following files: