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) –

: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) –

: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) –

:mouseMotion(double x, double y)

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

  • y (double) –

:mouseMotion(double x, double y, double time)

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

  • y (double) –

  • 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) –

: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) –

: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) –

: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) –

: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

: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

: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

: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)

Параметры:
:setFirstTouchEmulatesMouse(bool b)

Параметры:

b (bool) –

:getFirstTouchEmulatesMouse()

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

bool