Class SoBBoxModelMatrixElement


public class SoBBoxModelMatrixElement extends SoModelMatrixElement
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:
  • Method Details

    • popMatrix

      public static void popMatrix(SoState state, SbMatrix matrix, SbMatrix localmatrix)
      See description for pushMatrix().
    • getClassStackIndex

      @Deprecated(since="9.3.0.0") public static int getClassStackIndex()
      Deprecated.
      As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)
      Returns the stack id for this element. ] *
    • push

      public void push(SoState state)
      Overrides push() method to copy values from next instance in the stack.
      Overrides:
      push in class SoModelMatrixElement
    • reset

      public static void reset(SoState state, SoNode node)
      Allows the SoGetBoundingBoxAction to reset the current model matrix to identity and all currently-open local matrices to identity.