osgUtil.IntersectionVisitor

class osgUtil.IntersectionVisitor
Represents

c++ class

Wraps

osgUtil::IntersectionVisitor

Bases

osg.NodeVisitor

Constructors:

osgUtil.IntersectionVisitor()

osgUtil.IntersectionVisitor(osgUtil.Intersector intersector)

Параметры

intersector (osgUtil.Intersector) –

Methods:

:setIntersector(osgUtil.Intersector intersector)

Параметры

intersector (osgUtil.Intersector) –

:getIntersector()

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

osgUtil.Intersector

:setUseKdTreeWhenAvailable(bool useKdTrees)

Параметры

useKdTrees (bool) –

:getUseKdTreeWhenAvailable()

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

bool

:setDoDummyTraversal(bool dummy)

Параметры

dummy (bool) –

:getDoDummyTraversal()

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

bool

:pushWindowMatrix(osg.RefMatrix matrix)

Параметры

matrix (osg.RefMatrix) –

:pushWindowMatrix(osg.Viewport viewport)

Параметры

viewport (osg.Viewport) –

:popWindowMatrix()

:getWindowMatrix()

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

osg.RefMatrix

:pushProjectionMatrix(osg.RefMatrix matrix)

Параметры

matrix (osg.RefMatrix) –

:popProjectionMatrix()

:getProjectionMatrix()

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

osg.RefMatrix

:pushViewMatrix(osg.RefMatrix matrix)

Параметры

matrix (osg.RefMatrix) –

:popViewMatrix()

:getViewMatrix()

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

osg.RefMatrix

:pushModelMatrix(osg.RefMatrix matrix)

Параметры

matrix (osg.RefMatrix) –

:popModelMatrix()

:getModelMatrix()

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

osg.RefMatrix

:setReferenceEyePoint(osg.Vec3 ep)

Параметры

ep (osg.Vec3) –

:getReferenceEyePoint()

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

osg.Vec3

:setReferenceEyePointCoordinateFrame(osgUtil.Intersector.CoordinateFrame cf)

Параметры

cf (osgUtil.Intersector.CoordinateFrame) –

:getReferenceEyePointCoordinateFrame()

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

osgUtil.Intersector.CoordinateFrame

:getEyePoint()

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

osg.Vec3

:setLODSelectionMode(osgUtil.IntersectionVisitor.LODSelectionMode mode)

Параметры

mode (osgUtil.IntersectionVisitor.LODSelectionMode) –

:getLODSelectionMode()

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

osgUtil.IntersectionVisitor.LODSelectionMode

:getDistanceToEyePoint(osg.Vec3 pos, bool withLODScale)

Параметры
  • pos (osg.Vec3) –

  • withLODScale (bool) –

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

double