EVosgHMD.DeviceTraits

class EVosgHMD.DeviceTraits
Represents:

c++ class

Wraps:

EVosgHMD::DeviceTraits

Bases:

osg.Referenced

Constructors:

EVosgHMD.DeviceTraits()

Methods:

:resolution()

Return type:

osg.Vec2

:setResolution(int w, int h)

Parameters:
  • w (int) –

  • h (int) –

:screenSize()

Return type:

osg.Vec2

:setScreenSize(osg.Vec2 aScreenSize)

Parameters:

aScreenSize (osg.Vec2) –

Return type:

osg.Vec2

:viewportSize()

Return type:

osg.Vec2

:setViewportSize(osg.Vec2 aViewportSize)

Parameters:

aViewportSize (osg.Vec2) –

:interLensDistance()

Return type:

double

:setInterLensDistance(double aInterLensDistance)

Parameters:

aInterLensDistance (double) –

:screenToLensDistance()

Return type:

double

:setScreenToLensDistance(double aScreenToLensDistance)

Parameters:

aScreenToLensDistance (double) –

:trayToLensDistance()

Return type:

double

:setTrayToLensDistance(double aTrayToLensDistance)

Parameters:

aTrayToLensDistance (double) –

:leftLensCenter()

Return type:

osg.Vec2

:setLeftLensCenter(osg.Vec2 aLeftLensCenter)

Parameters:

aLeftLensCenter (osg.Vec2) –

:rightLensCenter()

Return type:

osg.Vec2

:setRightLensCenter(osg.Vec2 aRightLensCenter)

Parameters:

aRightLensCenter (osg.Vec2) –

:distortionModel()

Return type:

EVosgHMD.DeviceTraits.DistortionModel

:setDistortionModel(EVosgHMD.DeviceTraits.DistortionModel aModel)

Parameters:

aModel (EVosgHMD.DeviceTraits.DistortionModel) –

:distortionCoeffs()

Return type:

osg.Vec4

:setDistortionCoeffs(osg.Vec4 aDistortionCoeffs)

Parameters:

aDistortionCoeffs (osg.Vec4) –

:aberrCoeffs()

Return type:

osg.Vec3

:setAberrCoeffs(osg.Vec3 aAberrCoeffs)

Parameters:

aAberrCoeffs (osg.Vec3) –

:warpScale()

Return type:

double

:setWarpScale(double aWarpScale)

Parameters:

aWarpScale (double) –

:ipd()

Return type:

double

:setIpd(double aIpd)

Parameters:

aIpd (double) –

:leftEyeModelViewMatrix()

Return type:

osg.Matrix

:setLeftEyeModelViewMatrix(osg.Matrix aMatrix)

Parameters:

aMatrix (osg.Matrix) –

:rightEyeModelViewMatrix()

Return type:

osg.Matrix

:setRightEyeModelViewMatrix(osg.Matrix aMatrix)

Parameters:

aMatrix (osg.Matrix) –

:fov()

Return type:

double

:setFov(double aFov)

Parameters:

aFov (double) –

:leftEyeProjectionMatrix()

Return type:

osg.Matrix

:setLeftEyeProjectionMatrix(osg.Matrix aMatrix)

Parameters:

aMatrix (osg.Matrix) –

:rightEyeProjectionMatrix()

Return type:

osg.Matrix

:setRightEyeProjectionMatrix(osg.Matrix aMatrix)

Parameters:

aMatrix (osg.Matrix) –