osgViewer.GraphicsWindow¶
-
class
osgViewer.
GraphicsWindow
¶ Represents: c++ class Wraps: osgViewer::GraphicsWindow Bases: osg.GraphicsContext
,osgGA.GUIActionAdapter
Methods:
-
:
setEventQueue
(osgGA.EventQueue queue)¶ -
Параметры: queue ( osgGA.EventQueue
) –
-
:
getEventQueue
()¶ -
Тип результата: osgGA.EventQueue
-
:
checkEvents
()¶ -
Тип результата: bool
-
:
setWindowRectangle
(int x, int y, int width, int height)¶ -
Параметры: - x (
int
) – - y (
int
) – - width (
int
) – - height (
int
) –
- x (
-
:
setWindowRectangleImplementation
(int x, int y, int width, int height)¶ -
Параметры: - x (
int
) – - y (
int
) – - width (
int
) – - height (
int
) –
Тип результата: bool
- x (
-
:
getWindowRectangle
()¶
-
:
setWindowDecoration
(bool wd)¶ -
Параметры: wd ( bool
) –
-
:
setWindowDecorationImplementation
(bool wd)¶ -
Параметры: wd ( bool
) –Тип результата: bool
-
:
getWindowDecoration
()¶ -
Тип результата: bool
-
:
grabFocus
()¶
-
:
grabFocusIfPointerInWindow
()¶
-
:
raiseWindow
()¶
-
:
setWindowName
(std.string name)¶ -
Параметры: name ( std.string
) –
-
:
getWindowName
()¶ -
Тип результата: std.string
-
:
useCursor
(bool cursorOn)¶ -
Параметры: cursorOn ( bool
) –
-
:
setCursor
(osgViewer.GraphicsWindow.MouseCursor cursor)¶ -
Параметры: cursor ( osgViewer.GraphicsWindow.MouseCursor
) –
-
:
setSyncToVBlank
(bool on)¶ -
Параметры: on ( bool
) –
-
:
getSyncToVBlank
()¶ -
Тип результата: bool
-
:
setSwapGroup
(bool on, GLenum.Value group, GLenum.Value barrier)¶ -
Параметры: - on (
bool
) – - group (
GLenum.Value
) – - barrier (
GLenum.Value
) –
- on (
-
:
getSwapGroup
()¶
-
:
valid
()¶ -
Тип результата: bool
-
: