5#ifndef WinEventToSoEvent_h
6#define WinEventToSoEvent_h
8#include <Inventor/ViewerComponents/SoEventBuilder.h>
9#include <Inventor/Events/SoMouseButtonEvent.h>
72 static bool initClass();
77 static std::map<DWORD, unsigned int> m_touchIDMap;
80 static int keyMapInitFlag;
82 static bool m_ctrlModifier;
83 static bool m_altModifier;
84 static bool m_shiftModifier;
86 static SbVec2s getMousePosition( LPARAM loc );
Class to render an OpenInventor scene in a Qt OpenGL window.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Utility class th...
Keyboard key press and release events.
static SoKeyboardEvent * getKeyPressEvent(WPARAM param, RenderArea *)
Transform a Win key press event to a SoKeyboardEvent.
static SoMouseButtonEvent * getMouseReleaseEvent(LPARAM loc, SoMouseButtonEvent::Button button, RenderArea *renderArea)
Transform a Win mouse release event to a SoMouseButtonEvent.
static SoLocation2Event * getMouseLeaveEvent(RenderArea *)
Transform a Win mouse leave the window event to a SoLocation2Event.
static SoMouseButtonEvent * getMouseDoubleClickEvent(LPARAM loc, SoMouseButtonEvent::Button button, RenderArea *renderArea)
Transform a Win mouse double click event to a SoMouseButtonEvent.
static void getTouchEvents(WPARAM wParam, LPARAM lParam, RenderArea *, std::vector< const SoEvent * > &eventsList)
Transform Win touch events to a vector of SoEvent.
static SoKeyboardEvent * getKeyReleaseEvent(WPARAM param, RenderArea *)
Transform a Win key release event to a SoKeyboardEvent.
static SoLocation2Event * getMouseEnterEvent(RenderArea *)
Transform a Win mouse enter in the window event to a SoLocation2Event.
static SoMouseWheelEvent * getMouseWheelEvent(short zDelta, RenderArea *)
Transform a Win mouse wheel event to a SoMouseWheelEvent.
static SoMouseButtonEvent * getMousePressEvent(LPARAM loc, SoMouseButtonEvent::Button button, RenderArea *renderArea)
Transform a Win mouse press event to a SoMouseButtonEvent.
static SoLocation2Event * getMouseMoveEvent(LPARAM loc, RenderArea *renderArea)
Transform a Win mouse move event to a SoLocation2Event.