osgUtil.CullVisitor¶
-
class
osgUtil.CullVisitor¶ Represents: c++ class Wraps: osgUtil::CullVisitor Bases: osg.NodeVisitorConstructors:
-
osgUtil.CullVisitor()¶
Methods:
-
:
getDistanceToEyePoint(osg.Vec3 pos, bool withLODScale)¶ -
Parameters: - pos (
osg.Vec3) – - withLODScale (
bool) –
Return type: double - pos (
-
:
getDistanceFromEyePoint(osg.Vec3 pos, bool withLODScale)¶ -
Parameters: - pos (
osg.Vec3) – - withLODScale (
bool) –
Return type: double - pos (
-
:
getDistanceToViewPoint(osg.Vec3 pos, bool withLODScale)¶ -
Parameters: - pos (
osg.Vec3) – - withLODScale (
bool) –
Return type: double - pos (
-
:
pushStateSet(osg.StateSet stateSet)¶ -
Parameters: stateSet ( osg.StateSet) –
-
:
popStateSet()¶
-
:
getCurrentCamera()¶ -
Return type: osg.Camera
-
:
setCalculatedNearPlane(double value)¶ -
Parameters: value ( double) –
-
:
getCalculatedNearPlane()¶ -
Return type: double
-
:
setCalculatedFarPlane(double value)¶ -
Parameters: value ( double) –
-
:
getCalculatedFarPlane()¶ -
Return type: double
-
:
updateCalculatedNearFar(osg.Matrix matrix, osg.BoundingBox bbox)¶ -
Parameters: - matrix (
osg.Matrix) – - bbox (
osg.BoundingBox) –
Return type: bool - matrix (
-
:
updateCalculatedNearFar(osg.Matrix matrix, osg.Drawable dw) -
Parameters: - matrix (
osg.Matrix) – - dw (
osg.Drawable) –
Return type: bool - matrix (
-
:
updateCalculatedNearFar(osg.Matrix matrix, osg.Drawable dw, bool isBillboard) -
Parameters: - matrix (
osg.Matrix) – - dw (
osg.Drawable) – - isBillboard (
bool) –
Return type: bool - matrix (
-
:
updateCalculatedNearFar(osg.Vec3 pos) -
Parameters: pos ( osg.Vec3) –
-
:
addDrawable(osg.Drawable drawable, osg.RefMatrix matrix)¶ -
Parameters: - drawable (
osg.Drawable) – - matrix (
osg.RefMatrix) –
- drawable (
-
:
addDrawableAndDepth(osg.Drawable drawable, osg.RefMatrix matrix, double depth)¶ -
Parameters: - drawable (
osg.Drawable) – - matrix (
osg.RefMatrix) – - depth (
double) –
- drawable (
-
:
addPositionedAttribute(osg.RefMatrix matrix, osg.StateAttribute attrib)¶ -
Parameters: - matrix (
osg.RefMatrix) – - attrib (
osg.StateAttribute) –
- matrix (
-
:
addPositionedTextureAttribute(unsigned textureUnit, osg.RefMatrix matrix, osg.StateAttribute attrib)¶ -
Parameters: - textureUnit (
unsigned) – - matrix (
osg.RefMatrix) – - attrib (
osg.StateAttribute) –
- textureUnit (
-
:
computeNearPlane()¶
-
:
popProjectionMatrix()¶
-
:
popProjectionMatrix()
-
:
clampProjectionMatrix(osg.Matrix projection)¶ -
Parameters: projection ( osg.Matrix) –Return type: bool
-
:
reset()¶
-
:
pushCullingSet()¶
-
:
popCullingSet()¶
-
:
pushViewport(osg.Viewport vp)¶ -
Parameters: vp ( osg.Viewport) –
-
:
popViewport()¶
-
:
pushProjectionMatrix(osg.RefMatrix matrix)¶ -
Parameters: matrix ( osg.RefMatrix) –
-
:
pushModelViewMatrix(osg.RefMatrix matrix, osg.Transform.ReferenceFrame rf)¶ -
Parameters: - matrix (
osg.RefMatrix) – - rf (
osg.Transform.ReferenceFrame) –
- matrix (
-
:
popModelViewMatrix()¶
-
:
getFrustumVolume()¶ -
Return type: double
-
:
pixelSize(osg.Vec3 v, double radius)¶ -
Parameters: - v (
osg.Vec3) – - radius (
double) –
Return type: double - v (
-
:
pixelSize(osg.BoundingSphere bs) -
Parameters: bs ( osg.BoundingSphere) –Return type: double
-
:
clampedPixelSize(osg.Vec3 v, double radius)¶ -
Parameters: - v (
osg.Vec3) – - radius (
double) –
Return type: double - v (
-
:
clampedPixelSize(osg.BoundingSphere bs) -
Parameters: bs ( osg.BoundingSphere) –Return type: double
-
:
isCulled(osg.BoundingBox bb)¶ -
Parameters: bb ( osg.BoundingBox) –Return type: bool
-
:
isCulled(osg.BoundingSphere bs) -
Parameters: bs ( osg.BoundingSphere) –Return type: bool
-
:
isCulled(osg.Node node) -
Parameters: node ( osg.Node) –Return type: bool
-
:
pushCurrentMask()¶
-
:
popCurrentMask()¶
-
:
getViewport()¶ -
Return type: osg.Viewport
-
:
getModelViewMatrix()¶ -
Return type: osg.RefMatrix
-
:
getProjectionMatrix()¶ -
Return type: osg.RefMatrix
-
:
getWindowMatrix()¶ -
Return type: osg.Matrix
-
:
popReferenceViewPoint()¶
-