osgGA.EventQueue

class osgGA.EventQueue
Represents:c++ class
Wraps:osgGA::EventQueue
Bases:osg.Referenced

Methods:

:addEvent(osgGA.Event event)

Параметры:event (osgGA.Event) –
:clear()

:closeWindow()

:closeWindow(double time)

Параметры:time (double) –
:createEvent()

Тип результата:osgGA.GUIEventAdapter
:empty()

Тип результата:bool
:frame(double time)

Параметры:time (double) –
:getCurrentEventState()

Тип результата:osgGA.GUIEventAdapter
:getFirstTouchEmulatesMouse()

Тип результата:bool
:getGraphicsContext()

Тип результата:osg.GraphicsContext
:getStartTick()

Тип результата:osg.Timer.Type
:getTime()

Тип результата:double
:getUseFixedMouseInputRange()

Тип результата:bool
:keyPress(int key)

Параметры:key (int) –
:keyPress(int key, double time)

Параметры:
  • key (int) –
  • time (double) –
:keyPress(int key, int unmodifiedKey, double time)

Параметры:
  • key (int) –
  • unmodifiedKey (int) –
  • time (double) –
:keyRelease(int key)

Параметры:key (int) –
:keyRelease(int key, double time)

Параметры:
  • key (int) –
  • time (double) –
:keyRelease(int key, int unmodifiedKey, double time)

Параметры:
  • key (int) –
  • unmodifiedKey (int) –
  • time (double) –
:mouseButtonPress(double x, double y, unsigned button)

Параметры:
  • x (double) –
  • y (double) –
  • button (unsigned) –
:mouseButtonPress(double x, double y, unsigned button, double time)

Параметры:
  • x (double) –
  • y (double) –
  • button (unsigned) –
  • time (double) –
:mouseButtonRelease(double x, double y, unsigned button)

Параметры:
  • x (double) –
  • y (double) –
  • button (unsigned) –
:mouseButtonRelease(double x, double y, unsigned button, double time)

Параметры:
  • x (double) –
  • y (double) –
  • button (unsigned) –
  • time (double) –
:mouseDoubleButtonPress(double x, double y, unsigned button)

Параметры:
  • x (double) –
  • y (double) –
  • button (unsigned) –
:mouseDoubleButtonPress(double x, double y, unsigned button, double time)

Параметры:
  • x (double) –
  • y (double) –
  • button (unsigned) –
  • time (double) –
:mouseMotion(double x, double y)

Параметры:
  • x (double) –
  • y (double) –
:mouseMotion(double x, double y, double time)

Параметры:
  • x (double) –
  • y (double) –
  • time (double) –
:mouseScroll(osgGA.GUIEventAdapter.ScrollingMotion sm)

Параметры:sm (osgGA.GUIEventAdapter.ScrollingMotion) –
:mouseScroll(osgGA.GUIEventAdapter.ScrollingMotion sm, double time)

Параметры:
:mouseScroll2D(double x, double y)

Параметры:
  • x (double) –
  • y (double) –
:mouseScroll2D(double x, double y, double time)

Параметры:
  • x (double) –
  • y (double) –
  • time (double) –
:mouseWarped(double x, double y)

Параметры:
  • x (double) –
  • y (double) –
:quitApplication()

:quitApplication(double time)

Параметры:time (double) –
:setCurrentEventState(osgGA.GUIEventAdapter ea)

Параметры:ea (osgGA.GUIEventAdapter) –
:setFirstTouchEmulatesMouse(bool b)

Параметры:b (bool) –
:setGraphicsContext(osg.GraphicsContext context)

Параметры:context (osg.GraphicsContext) –
:setMouseInputRange(double xMin, double yMin, double xMax, double yMax)

Параметры:
  • xMin (double) –
  • yMin (double) –
  • xMax (double) –
  • yMax (double) –
:setStartTick(osg.Timer.Type tick)

Параметры:tick (osg.Timer.Type) –
:setUseFixedMouseInputRange(bool useFixedMouseInputRange)

Параметры:useFixedMouseInputRange (bool) –
:syncWindowRectangleWithGraphicsContext()

:touchBegan(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y)

Параметры:
Тип результата:

osgGA.GUIEventAdapter

:touchBegan(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, double time)

Параметры:
Тип результата:

osgGA.GUIEventAdapter

:touchEnded(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, unsigned tap_count)

Параметры:
Тип результата:

osgGA.GUIEventAdapter

:touchEnded(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, unsigned tap_count, double time)

Параметры:
Тип результата:

osgGA.GUIEventAdapter

:touchMoved(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y)

Параметры:
Тип результата:

osgGA.GUIEventAdapter

:touchMoved(unsigned id, osgGA.GUIEventAdapter.TouchPhase phase, double x, double y, double time)

Параметры:
Тип результата:

osgGA.GUIEventAdapter

:userEvent(osg.Referenced userEventData)

Параметры:userEventData (osg.Referenced) –
:userEvent(osg.Referenced userEventData, double time)

Параметры:
:windowResize(int x, int y, int width, int height)

Параметры:
  • x (int) –
  • y (int) –
  • width (int) –
  • height (int) –
:windowResize(int x, int y, int width, int height, double time)

Параметры:
  • x (int) –
  • y (int) –
  • width (int) –
  • height (int) –
  • time (double) –