![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Gaempad handler. More...
#include <GamepadInput.h>


Signals | |
| void | updated () |
Public Member Functions | |
| GamepadInput (QObject *parent=nullptr) | |
| Default constructor. More... | |
| virtual | ~GamepadInput () |
| Destructor. More... | |
| void | start () |
| void | stop () |
| void | update (QMainWindow *win) |
| Updates a window with the current gamepad state. More... | |
Gaempad handler.
Definition at line 41 of file GamepadInput.h.
|
explicit |
Default constructor.
Definition at line 19 of file GamepadInput.cpp.
|
virtual |
Destructor.
Definition at line 28 of file GamepadInput.cpp.
| void GamepadInput::start | ( | void | ) |
Definition at line 30 of file GamepadInput.cpp.
Referenced by ccGamepadManager::enableDevice().
| void GamepadInput::stop | ( | ) |
Definition at line 32 of file GamepadInput.cpp.
Referenced by ccGamepadManager::enableDevice(), and ccGamepadManager::releaseDevice().
| void GamepadInput::update | ( | QMainWindow * | win | ) |
Updates a window with the current gamepad state.
Definition at line 34 of file GamepadInput.cpp.
References ecvViewportParameters::computeDistanceToHalfWidthRatio(), ecvViewportParameters::computeWidthAtFocalDist(), ecvDisplayTools::GetViewportParameters(), cloudViewer::GreaterThanEpsilon(), ecvDisplayTools::MoveCamera(), ecvViewportParameters::objectCenteredView, ecvViewportParameters::perspectiveView, ecvDisplayTools::RedrawDisplay(), ecvDisplayTools::RotateBaseViewMat(), Tuple3Tpl< Type >::x, X, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
Referenced by ccGamepadManager::onGamepadInput().
|
signal |
Referenced by ccGamepadManager::setupGamepadInput().