MeshLib Documentation
Loading...
Searching...
No Matches
MR::SpaceMouseHandlerHidapi Class Reference

#include <MRSpaceMouseHandlerHidapi.h>

+ Inheritance diagram for MR::SpaceMouseHandlerHidapi:

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_
 

Constructor & Destructor Documentation

◆ SpaceMouseHandlerHidapi()

MR::SpaceMouseHandlerHidapi::SpaceMouseHandlerHidapi ( )

◆ ~SpaceMouseHandlerHidapi()

MR::SpaceMouseHandlerHidapi::~SpaceMouseHandlerHidapi ( )
override

Member Function Documentation

◆ activateMouseScrollZoom()

MRVIEWER_API void MR::SpaceMouseHandlerHidapi::activateMouseScrollZoom ( bool activeMouseScrollZoom)

◆ handle()

void MR::SpaceMouseHandlerHidapi::handle ( )
overridevirtual

handle device state and call Viewer signals

Implements MR::SpaceMouseHandler.

◆ initialize()

bool MR::SpaceMouseHandlerHidapi::initialize ( )
overridevirtual

initialize device

Implements MR::SpaceMouseHandler.

◆ isMouseScrollZoomActive()

MRVIEWER_API bool MR::SpaceMouseHandlerHidapi::isMouseScrollZoomActive ( )
inline

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