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