24 #ifndef _3D_VIEWER_CONTROL_H 25 #define _3D_VIEWER_CONTROL_H 103 int doZoomInOut(
bool aDirection,
bool aCenterOnCursor );
int ZoomFitScreen(const TOOL_EVENT &aEvent)
int ToggleOrtho(const TOOL_EVENT &aEvent)
double m_rotationIncrement
Rotation increment for the rotate actions (degrees)
int ZoomInOutCenter(const TOOL_EVENT &aEvent)
~EDA_3D_CONTROLLER() override
void SetRotationIncrement(double aRotIncrement)
Set the increment used by the RotateView actions.
int SetMaterial(const TOOL_EVENT &aEvent)
bool Init() override
Init() is called once upon a registration of the tool.
Implement a canvas based on a wxGLCanvas.
int ZoomRedraw(const TOOL_EVENT &aEvent)
int UpdateMenu(const TOOL_EVENT &aEvent)
int On3DGridSelection(const TOOL_EVENT &aEvent)
int doZoomInOut(bool aDirection, bool aCenterOnCursor)
void setTransitions() override
< Sets up handlers for various events.
A class used to derive camera objects from.
int ViewControl(const TOOL_EVENT &aEvent)
Create and handle a window for the 3d viewer connected to a Kiway and a pcbboard.
int ZoomInOut(const TOOL_EVENT &aEvent)
int PanControl(const TOOL_EVENT &aEvent)
double GetRotationIncrement()
Get the increment used by the RotateView actions.
int ToggleVisibility(const TOOL_EVENT &aEvent)
int Main(const TOOL_EVENT &aEvent)
int RotateView(const TOOL_EVENT &aEvent)
BOARD_ADAPTER * m_boardAdapter
Helper class to handle information needed to display 3D board.
void Reset(RESET_REASON aReason) override
Bring the tool to a known, initial state.