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
-
public class SoBBoxModelMatrixElement extends SoModelMatrixElement
Stores the current model matrix for use with theSoGetBoundingBoxAction
. This element stores the current model matrix for use with theSoGetBoundingBoxAction
. Overrides the virtual methods onSoModelMatrixElement
to also set the currentSoLocalBBoxMatrixElement
.This class relies on
SoModelMatrixElement
to store the matrix in the instance, and inherits most of its methods from it.- See Also:
SoTransformSeparator
,SoResetTransform
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static int
getClassStackIndex()
Deprecated.As of Open Inventor 9300.static void
popMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)
See description for pushMatrix().void
push(SoState state)
Overridespush()
method to copy values from next instance in the stack.static void
reset(SoState state, SoNode node)
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 Detail
-
popMatrix
public static void popMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)
See description for pushMatrix().
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
push
public void push(SoState state)
Overridespush()
method to copy values from next instance in the stack.- Overrides:
push
in classSoModelMatrixElement
-
reset
public static void reset(SoState state, SoNode node)
Allows theSoGetBoundingBoxAction
to reset the current model matrix to identity and all currently-open local matrices to identity.
-
-