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; SoTransformSeparator.getBoundingBox uses these methods to correctly keep both matrices up-to-date.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic static void PushMatrix(
SoState state,
out SbMatrix matrix,
out SbMatrix localmatrix
)
Public Shared Sub PushMatrix (
state As SoState,
<OutAttribute> ByRef matrix As SbMatrix,
<OutAttribute> ByRef localmatrix As SbMatrix
)
public:
static void PushMatrix(
SoState^ state,
[OutAttribute] SbMatrix% matrix,
[OutAttribute] SbMatrix% localmatrix
)
static member PushMatrix :
state : SoState *
matrix : SbMatrix byref *
localmatrix : SbMatrix byref -> unit
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- matrix
- Type: OIV.InventorSbMatrix
- localmatrix
- Type: OIV.InventorSbMatrix
Remarks
See Also