osgUtil.IntersectionVisitor

class osgUtil.IntersectionVisitor
Represents:

c++ class

Wraps:

osgUtil::IntersectionVisitor

Bases:

osg.NodeVisitor

Constructors:

osgUtil.IntersectionVisitor()

osgUtil.IntersectionVisitor(osgUtil.Intersector intersector)

Parameters:

intersector (osgUtil.Intersector) –

Methods:

:setIntersector(osgUtil.Intersector intersector)

Parameters:

intersector (osgUtil.Intersector) –

:getIntersector()

Return type:

osgUtil.Intersector

:setUseKdTreeWhenAvailable(bool useKdTrees)

Parameters:

useKdTrees (bool) –

:getUseKdTreeWhenAvailable()

Return type:

bool

:setDoDummyTraversal(bool dummy)

Parameters:

dummy (bool) –

:getDoDummyTraversal()

Return type:

bool

:pushWindowMatrix(osg.RefMatrix matrix)

Parameters:

matrix (osg.RefMatrix) –

:pushWindowMatrix(osg.Viewport viewport)

Parameters:

viewport (osg.Viewport) –

:popWindowMatrix()

:getWindowMatrix()

Return type:

osg.RefMatrix

:pushProjectionMatrix(osg.RefMatrix matrix)

Parameters:

matrix (osg.RefMatrix) –

:popProjectionMatrix()

:getProjectionMatrix()

Return type:

osg.RefMatrix

:pushViewMatrix(osg.RefMatrix matrix)

Parameters:

matrix (osg.RefMatrix) –

:popViewMatrix()

:getViewMatrix()

Return type:

osg.RefMatrix

:pushModelMatrix(osg.RefMatrix matrix)

Parameters:

matrix (osg.RefMatrix) –

:popModelMatrix()

:getModelMatrix()

Return type:

osg.RefMatrix

:setReferenceEyePoint(osg.Vec3 ep)

Parameters:

ep (osg.Vec3) –

:getReferenceEyePoint()

Return type:

osg.Vec3

:setReferenceEyePointCoordinateFrame(osgUtil.Intersector.CoordinateFrame cf)

Parameters:

cf (osgUtil.Intersector.CoordinateFrame) –

:getReferenceEyePointCoordinateFrame()

Return type:

osgUtil.Intersector.CoordinateFrame

:getEyePoint()

Return type:

osg.Vec3

:setLODSelectionMode(osgUtil.IntersectionVisitor.LODSelectionMode mode)

Parameters:

mode (osgUtil.IntersectionVisitor.LODSelectionMode) –

:getLODSelectionMode()

Return type:

osgUtil.IntersectionVisitor.LODSelectionMode

:getDistanceToEyePoint(osg.Vec3 pos, bool withLODScale)

Parameters:
  • pos (osg.Vec3) –

  • withLODScale (bool) –

Return type:

double