osgViewer.Keystone

class osgViewer.Keystone
Represents

c++ class

Wraps

osgViewer::Keystone

Bases

osg.Object

Constructors:

osgViewer.Keystone()

osgViewer.Keystone(osgViewer.Keystone other)

Параметры

other (osgViewer.Keystone) –

Methods:

:setKeystoneEditingEnabled(bool flag)

Параметры

flag (bool) –

:getKeystoneEditingEnabled()

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

bool

:setGridColor(osg.Vec4 color)

Параметры

color (osg.Vec4) –

:getGridColor()

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

osg.Vec4

:setBottomLeft(osg.Vec2 v)

Параметры

v (osg.Vec2) –

:getBottomLeft()

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

osg.Vec2

:setBottomRight(osg.Vec2 v)

Параметры

v (osg.Vec2) –

:getBottomRight()

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

osg.Vec2

:setTopLeft(osg.Vec2 v)

Параметры

v (osg.Vec2) –

:getTopLeft()

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

osg.Vec2

:setTopRight(osg.Vec2 v)

Параметры

v (osg.Vec2) –

:getTopRight()

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

osg.Vec2

:compute3DPositions(osg.DisplaySettings ds)

Параметры

ds (osg.DisplaySettings) –

:createKeystoneDistortionMesh()

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

osg.Geode

:createGrid()

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

osg.Node

:writeToFile()

Write the file specified by the filename user value field. Return true if file successfully written.

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

bool

Static Methods:

.loadKeystoneFiles(osg.DisplaySettings ds)

Convenience function that loads and assigns any keystone files specified in the osg.DisplaySettings’s field KeystoneFileNames list, return true if Keystone’s assigned to osg.DisplaySettings.

Параметры

ds (osg.DisplaySettings) –

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

bool