osgViewer.View¶
-
class
osgViewer.
View
¶ Represents: c++ class Wraps: osgViewer::View Bases: osg.View
,osgGA.GUIActionAdapter
Constructors:
-
osgViewer.
View
()¶
Methods:
-
:
getViewerBase
()¶ -
Тип результата: osgViewer.ViewerBase
-
:
setStartTick
(uint64 tick)¶ -
Параметры: tick ( uint64
) –
-
:
getStartTick
()¶ -
Тип результата: uint64
-
:
getScene
()¶ -
Тип результата: osgViewer.Scene
-
:
setEventQueue
(osgGA.EventQueue queue)¶ -
Параметры: queue ( osgGA.EventQueue
) –
-
:
getEventQueue
()¶ -
Тип результата: osgGA.EventQueue
-
:
setCameraManipulator
(osgGA.CameraManipulator manipulator)¶ -
Параметры: manipulator ( osgGA.CameraManipulator
) –
-
:
setCameraManipulator
(osgGA.CameraManipulator manipulator, bool resetPosition) -
Параметры: - manipulator (
osgGA.CameraManipulator
) – - resetPosition (
bool
) –
- manipulator (
-
:
getCameraManipulator
()¶ -
Тип результата: osgGA.CameraManipulator
-
:
home
()¶
-
:
addEventHandler
(osgGA.EventHandler eventHandler)¶ -
Параметры: eventHandler ( osgGA.EventHandler
) –
-
:
removeEventHandler
(osgGA.EventHandler eventHandler)¶ -
Параметры: eventHandler ( osgGA.EventHandler
) –
-
:
setDisplaySettings
(osg.DisplaySettings ds)¶ -
Параметры: ds ( osg.DisplaySettings
) –
-
:
getDisplaySettings
()¶ -
Тип результата: osg.DisplaySettings
-
:
apply
(osgViewer.ViewConfig config)¶ -
Параметры: config ( osgViewer.ViewConfig
) –
-
:
getLastAppliedViewConfig
()¶ -
Тип результата: osgViewer.ViewConfig
-
:
setUpViewAcrossAllScreens
()¶
-
:
setUpViewInWindow
(int x, int y, int width, int height)¶ -
Параметры: - x (
int
) – - y (
int
) – - width (
int
) – - height (
int
) –
- x (
-
:
setUpViewInWindow
(int x, int y, int width, int height, unsigned screenNum) -
Параметры: - x (
int
) – - y (
int
) – - width (
int
) – - height (
int
) – - screenNum (
unsigned
) –
- x (
-
:
setUpViewOnSingleScreen
()¶
-
:
setUpViewOnSingleScreen
(unsigned screenNum) -
Параметры: screenNum ( unsigned
) –
-
:
containsCamera
(osg.Camera camera)¶ -
Параметры: camera ( osg.Camera
) –Тип результата: bool
-
:
init
()¶
-
:
assignSceneDataToCameras
()¶
-
:
assignSceneDataToCameras
()
-
:
createDistortionTexture
(int width, int height)¶ -
Параметры: - width (
int
) – - height (
int
) –
Тип результата: - width (
-
:
assignRenderToTextureCamera
(osg.GraphicsContext gc, int width, int height, osg.Texture texture)¶ -
Параметры: - gc (
osg.GraphicsContext
) – - width (
int
) – - height (
int
) – - texture (
osg.Texture
) –
Тип результата: - gc (
-
:
assignKeystoneDistortionCamera
(osg.DisplaySettings ds, osg.GraphicsContext gc, int x, int y, int width, int height, int buffer, osg.Texture texture, osgViewer.Keystone keystone)¶ -
Параметры: - ds (
osg.DisplaySettings
) – - gc (
osg.GraphicsContext
) – - x (
int
) – - y (
int
) – - width (
int
) – - height (
int
) – - buffer (
int
) – - texture (
osg.Texture
) – - keystone (
osgViewer.Keystone
) –
Тип результата: - ds (
-
:
assignStereoCamera
(osg.DisplaySettings ds, osg.GraphicsContext gc, int x, int y, int width, int height, int buffer, double eyeScale)¶ -
Параметры: - ds (
osg.DisplaySettings
) – - gc (
osg.GraphicsContext
) – - x (
int
) – - y (
int
) – - width (
int
) – - height (
int
) – - buffer (
int
) – - eyeScale (
double
) –
Тип результата: - ds (
-
:
assignStereoOrKeystoneToCamera
(osg.Camera camera, osg.DisplaySettings ds)¶ -
Параметры: - camera (
osg.Camera
) – - ds (
osg.DisplaySettings
) –
- camera (
-