#include <MRSpaceMouseHandlerHidapi.h>
Public Member Functions | |
SpaceMouseHandlerHidapi () | |
~SpaceMouseHandlerHidapi () override | |
bool | initialize () override |
initialize device | |
void | handle () override |
handle device state and call Viewer signals | |
MRVIEWER_API void | activateMouseScrollZoom (bool activeMouseScrollZoom) |
MRVIEWER_API bool | isMouseScrollZoomActive () |
Public Member Functions inherited from MR::SpaceMouseHandler | |
virtual | ~SpaceMouseHandler ()=default |
virtual void | updateConnected (int, int) |
update after connect / disconnect devices | |
Public Member Functions inherited from MR::PostFocusListener | |
MR_ADD_CTOR_DELETE_MOVE (PostFocusListener) | |
virtual | ~PostFocusListener ()=default |
virtual MRVIEWER_API void | connect (Viewer *viewer, int group, boost::signals2::connect_position pos) override |
Public Member Functions inherited from MR::ConnectionHolder | |
virtual | ~ConnectionHolder ()=default |
virtual void | disconnect () |
Public Member Functions inherited from MR::IConnectable | |
virtual | ~IConnectable ()=default |
Additional Inherited Members | |
Protected Attributes inherited from MR::ConnectionHolder | |
boost::signals2::scoped_connection | connection_ |
MR::SpaceMouseHandlerHidapi::SpaceMouseHandlerHidapi | ( | ) |
|
override |
MRVIEWER_API void MR::SpaceMouseHandlerHidapi::activateMouseScrollZoom | ( | bool | activeMouseScrollZoom | ) |
|
overridevirtual |
handle device state and call Viewer signals
Implements MR::SpaceMouseHandler.
|
overridevirtual |
initialize device
Implements MR::SpaceMouseHandler.
|
inline |