Click or drag to resize
SoLocalBBoxMatrixElement Class

Stores the transformation matrix from object space to some local coordinate space during application of an OIV.Inventor.Actions.SoGetBoundingBoxAction.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ElementsSoElement
      OIV.Inventor.ElementsSoLocalBBoxMatrixElement

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

The SoLocalBBoxMatrixElement 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 memberGet

Returns current matrix from the state.

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 methodStatic memberMakeIdentity

Sets the local matrix to the identity matrix.

Public methodStatic memberMult

Multiplies the given matrix into the local matrix.

Public methodPop

Pops element.

(Inherited from SoElement.)
Public methodStatic memberPopMatrix

This method is used by the TransformSeparator node.

Public methodPush

Overrides OIV.Inventor.Elements.SoLocalBBoxMatrixElement.Push(OIV.Inventor.Misc.SoState) method to copy values from next instance in the stack.

(Overrides SoElementPush(SoState).)
Public methodStatic memberPushMatrix

This method is used by the TransformSeparator node.

Public methodStatic memberResetAll

Resets all current instances in the state to identity.

Public methodStatic memberRotateBy

Multiplies a matrix that performs the specified transformation into the local matrix.

Public methodStatic memberScaleBy

Multiplies a matrix that performs the specified transformation into the local matrix.

Public methodStatic memberSet

Sets the local matrix to the given matrix.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberTranslateBy

Multiplies a matrix that performs the specified transformation into the local matrix.

Top
Remarks

This element stores the transformation matrix from object space to some local coordinate space during application of an OIV.Inventor.Actions.SoGetBoundingBoxAction. This element is needed to allow separators (and other caching nodes) to store cached bounding boxes in their own local space. Shapes that extend the current bounding box computed by the action use this matrix to transform the bounding box into local space. Separators cache this box, then transform it into the next local space up the hierarchy.

Because this element is set to identity by separators before traversing their children, it can never have an affect on any caching separator that it is not under. Therefore, it should never be tested for cache invalidation, so its matches() method prints an error message and returns false. It also means that it does not have to save node id's so there are no nodes passed in to any of the methods.

See Also