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
public static void PushMatrix( SoState state, out SbMatrix matrix, out SbMatrix localmatrix )