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 intDeprecated.As of Open Inventor 9.3.0.0.static voidSee description for pushMatrix().voidOverridespush()method to copy values from next instance in the stack.static voidAllows theSoGetBoundingBoxActionto 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, translateByMethods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, popMethods 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:
pushin classSoModelMatrixElement
-
reset
Allows theSoGetBoundingBoxActionto reset the current model matrix to identity and all currently-open local matrices to identity.
-