Class SoBBoxModelMatrixElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoAccumulatedElement
com.openinventor.inventor.elements.SoModelMatrixElement
com.openinventor.inventor.elements.SoBBoxModelMatrixElement
Stores the current model matrix for use with the
SoGetBoundingBoxAction
.
This element stores the current model matrix for use with the SoGetBoundingBoxAction
. Overrides the virtual methods on SoModelMatrixElement
to also set the current SoLocalBBoxMatrixElement
.
This class relies on SoModelMatrixElement
to store the matrix in the instance, and inherits most of its methods from it.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
Deprecated.As of Open Inventor 9.3.0.0.static void
See description for pushMatrix().void
Overridespush()
method to copy values from next instance in the stack.static void
Allows theSoGetBoundingBoxAction
to reset the current model matrix to identity and all currently-open local matrices to identity.Methods inherited from class com.openinventor.inventor.elements.SoModelMatrixElement
get, getCombinedCullMatrix, makeIdentity, mult, popMatrix, pushMatrix, rotateBy, scaleBy, set, set, setCullMatrix, translateBy
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
popMatrix
See description for pushMatrix(). -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
push
Overridespush()
method to copy values from next instance in the stack.- Overrides:
push
in classSoModelMatrixElement
-
reset
Allows theSoGetBoundingBoxAction
to reset the current model matrix to identity and all currently-open local matrices to identity.
-