osgGA.EventQueue¶
-
class
osgGA.EventQueue¶ Represents: c++ class Wraps: osgGA::EventQueue Bases: osg.ReferencedMethods:
-
:
empty()¶ -
Return type: bool
-
:
addEvent(osgGA.Event event)¶ -
Parameters: event ( osgGA.Event) –
-
:
setUseFixedMouseInputRange(bool useFixedMouseInputRange)¶ -
Parameters: useFixedMouseInputRange ( bool) –
-
:
getUseFixedMouseInputRange()¶ -
Return type: bool
-
:
setGraphicsContext(osg.GraphicsContext context)¶ -
Parameters: context ( osg.GraphicsContext) –
-
:
getGraphicsContext()¶ -
Return type: osg.GraphicsContext
-
:
syncWindowRectangleWithGraphicsContext()¶
-
:
setMouseInputRange(double xMin, double yMin, double xMax, double yMax)¶ -
Parameters: - xMin (
double) – - yMin (
double) – - xMax (
double) – - yMax (
double) –
- xMin (
-
:
windowResize(int x, int y, int width, int height)¶ -
Parameters: - x (
int) – - y (
int) – - width (
int) – - height (
int) –
- x (
-
:
windowResize(int x, int y, int width, int height, double time) -
Parameters: - x (
int) – - y (
int) – - width (
int) – - height (
int) – - time (
double) –
- x (
-
:
mouseScroll(osgGA.GUIEventAdapter.ScrollingMotion sm)¶ -
Parameters: sm ( osgGA.GUIEventAdapter.ScrollingMotion) –
-
:
mouseScroll(osgGA.GUIEventAdapter.ScrollingMotion sm, double time) -
Parameters: - sm (
osgGA.GUIEventAdapter.ScrollingMotion) – - time (
double) –
- sm (
-
:
mouseScroll2D(double x, double y)¶ -
Parameters: - x (
double) – - y (
double) –
- x (
-
:
mouseScroll2D(double x, double y, double time) -
Parameters: - x (
double) – - y (
double) – - time (
double) –
- x (
-
:
mouseWarped(double x, double y)¶ -
Parameters: - x (
double) – - y (
double) –
- x (
-
:
mouseMotion(double x, double y)¶ -
Parameters: - x (
double) – - y (
double) –
- x (
-
:
mouseMotion(double x, double y, double time) -
Parameters: - x (
double) – - y (
double) – - time (
double) –
- x (
-
:
mouseButtonPress(double x, double y, unsigned button)¶ -
Parameters: - x (
double) – - y (
double) – - button (
unsigned) –
- x (
-
:
mouseButtonPress(double x, double y, unsigned button, double time) -
Parameters: - x (
double) – - y (
double) – - button (
unsigned) – - time (
double) –
- x (
-
:
mouseDoubleButtonPress(double x, double y, unsigned button)¶ -
Parameters: - x (
double) – - y (
double) – - button (
unsigned) –
- x (
-
:
mouseDoubleButtonPress(double x, double y, unsigned button, double time) -
Parameters: - x (
double) – - y (
double) – - button (
unsigned) – - time (
double) –
- x (
-
:
mouseButtonRelease(double x, double y, unsigned button)¶ -
Parameters: - x (
double) – - y (
double) – - button (
unsigned) –
- x (
-
:
mouseButtonRelease(double x, double y, unsigned button, double time) -
Parameters: - x (
double) – - y (
double) – - button (
unsigned) – - time (
double) –
- x (
-
:
keyPress(int key)¶ -
Parameters: key ( int) –
-
:
keyPress(int key, double time) -
Parameters: - key (
int) – - time (
double) –
- key (
-
:
keyPress(int key, int unmodifiedKey, double time) -
Parameters: - key (
int) – - unmodifiedKey (
int) – - time (
double) –
- key (
-
:
keyRelease(int key)¶ -
Parameters: key ( int) –
-
:
keyRelease(int key, double time) -
Parameters: - key (
int) – - time (
double) –
- key (
-
:
keyRelease(int key, int unmodifiedKey, double time) -
Parameters: - key (
int) – - unmodifiedKey (
int) – - time (
double) –
- key (
-
:
touchBegan(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y)¶ -
Parameters: - id (
unsigned) – - phase (
osgGA.GUIEventAdapter.TouchPhase) – - x (
double) – - y (
double) –
Return type: - id (
-
:
touchBegan(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, double time) -
Parameters: - id (
unsigned) – - phase (
osgGA.GUIEventAdapter.TouchPhase) – - x (
double) – - y (
double) – - time (
double) –
Return type: - id (
-
:
touchMoved(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y)¶ -
Parameters: - id (
unsigned) – - phase (
osgGA.GUIEventAdapter.TouchPhase) – - x (
double) – - y (
double) –
Return type: - id (
-
:
touchMoved(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, double time) -
Parameters: - id (
unsigned) – - phase (
osgGA.GUIEventAdapter.TouchPhase) – - x (
double) – - y (
double) – - time (
double) –
Return type: - id (
-
:
touchEnded(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, unsigned tap_count)¶ -
Parameters: - id (
unsigned) – - phase (
osgGA.GUIEventAdapter.TouchPhase) – - x (
double) – - y (
double) – - tap_count (
unsigned) –
Return type: - id (
-
:
touchEnded(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, unsigned tap_count, double time) -
Parameters: - id (
unsigned) – - phase (
osgGA.GUIEventAdapter.TouchPhase) – - x (
double) – - y (
double) – - tap_count (
unsigned) – - time (
double) –
Return type: - id (
-
:
closeWindow()¶
-
:
closeWindow(double time) -
Parameters: time ( double) –
-
:
quitApplication()¶
-
:
quitApplication(double time) -
Parameters: time ( double) –
-
:
frame(double time)¶ -
Parameters: time ( double) –
-
:
setStartTick(uint64 tick)¶ -
Parameters: tick ( uint64) –
-
:
getStartTick()¶ -
Return type: uint64
-
:
getTime()¶ -
Return type: double
-
:
clear()¶
-
:
createEvent()¶ -
Return type: osgGA.GUIEventAdapter
-
:
setCurrentEventState(osgGA.GUIEventAdapter ea)¶ -
Parameters: ea ( osgGA.GUIEventAdapter) –
-
:
getCurrentEventState()¶ -
Return type: osgGA.GUIEventAdapter
-
:
userEvent(osg.Referenced userEventData)¶ -
Parameters: userEventData ( osg.Referenced) –
-
:
userEvent(osg.Referenced userEventData, double time) -
Parameters: - userEventData (
osg.Referenced) – - time (
double) –
- userEventData (
-
:
setFirstTouchEmulatesMouse(bool b)¶ -
Parameters: b ( bool) –
-
:
getFirstTouchEmulatesMouse()¶ -
Return type: bool
-
: