KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SPACEMOUSE_HANDLER Class Referenceabstract

#include <spacenav_driver.h>

Inheritance diagram for SPACEMOUSE_HANDLER:
SPNAV_2D_PLUGIN SPNAV_VIEWER_PLUGIN

Public Member Functions

virtual ~SPACEMOUSE_HANDLER ()=default
 
virtual void OnPan (double x, double y, double z)=0
 Handle translation (pan) events.
 
virtual void OnRotate (double rx, double ry, double rz)=0
 Handle rotational events.
 
virtual void OnButton (int button, bool pressed)=0
 Handle button press/release events.
 

Detailed Description

Definition at line 25 of file spacenav_driver.h.

Constructor & Destructor Documentation

◆ ~SPACEMOUSE_HANDLER()

virtual SPACEMOUSE_HANDLER::~SPACEMOUSE_HANDLER ( )
virtualdefault

Member Function Documentation

◆ OnButton()

virtual void SPACEMOUSE_HANDLER::OnButton ( int button,
bool pressed )
pure virtual

Handle button press/release events.

Implemented in SPNAV_2D_PLUGIN, and SPNAV_VIEWER_PLUGIN.

◆ OnPan()

virtual void SPACEMOUSE_HANDLER::OnPan ( double x,
double y,
double z )
pure virtual

Handle translation (pan) events.

Units are driver dependent.

Implemented in SPNAV_2D_PLUGIN, and SPNAV_VIEWER_PLUGIN.

◆ OnRotate()

virtual void SPACEMOUSE_HANDLER::OnRotate ( double rx,
double ry,
double rz )
pure virtual

Handle rotational events.

Units are driver dependent.

Implemented in SPNAV_2D_PLUGIN, and SPNAV_VIEWER_PLUGIN.


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