Click or drag to resize
SoBBoxModelMatrixElement Class

Stores the current model matrix for use with the OIV.Inventor.Actions.SoGetBoundingBoxAction.

Inheritance Hierarchy

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

The SoBBoxModelMatrixElement type exposes the following members.

Methods
  NameDescription
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 OIV.Inventor.Elements.SoBBoxModelMatrixElement.PushMatrix(OIV.Inventor.Misc.SoState, OIV.Inventor.SbMatrix@, OIV.Inventor.SbMatrix@).

Public methodPush

Overrides OIV.Inventor.Elements.SoBBoxModelMatrixElement.Push(OIV.Inventor.Misc.SoState) 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; OIV.Inventor.Nodes.SoTransformSeparator.GetBoundingBox(OIV.Inventor.Actions.SoGetBoundingBoxAction) uses these methods to correctly keep both matrices up-to-date.

Public methodStatic memberReset

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

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 OIV.Inventor.Actions.SoGetBoundingBoxAction. Overrides the virtual methods on OIV.Inventor.Elements.SoModelMatrixElement to also set the current OIV.Inventor.Elements.SoLocalBBoxMatrixElement.

This class relies on OIV.Inventor.Elements.SoModelMatrixElement to store the matrix in the instance, and inherits most of its methods from it.

See Also