Click or drag to resize
SoBBoxModelMatrixElementPushMatrix Method

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.

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public static void PushMatrix(
	SoState state,
	out SbMatrix matrix,
	out SbMatrix localmatrix
)

Parameters

state
Type: OIV.Inventor.MiscSoState
matrix
Type: OIV.InventorSbMatrix
localmatrix
Type: OIV.InventorSbMatrix
Remarks

See Also