Click or drag to resize
SoBBoxModelMatrixElement Class

Stores the current model matrix for use with the SoGetBoundingBoxAction.

Inheritance Hierarchy

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public class SoBBoxModelMatrixElement : SoModelMatrixElement

The SoBBoxModelMatrixElement type exposes the following members.

Methods
  NameDescription
Public methodCallSetElt Obsolete.
Calls CallSetElt(matrix, true).
(Inherited from SoModelMatrixElement.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetClassStackIndex Obsolete.

Returns the stack id for this element.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodStatic memberPopMatrix

See description for pushMatrix().

Public methodPush

Overrides push() method to copy values from next instance in the stack.

(Overrides SoModelMatrixElementPush(SoState).)
Public methodStatic memberPushMatrix

Because two model matrices are kept track of during the getBoundingBoxAction (the local model matrix, used by separators to calculate their bbox caches, and the real model matrix), replacement routines for pushMatrix/popMatrix must be given; SoTransformSeparator.getBoundingBox uses these methods to correctly keep both matrices up-to-date.

Public methodStatic memberReset

Allows the SoGetBoundingBoxAction to reset the current model matrix to identity and all currently-open local matrices to identity.

Public methodSetElt Obsolete.
Calls SetElt(matrix, true).
(Inherited from SoModelMatrixElement.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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