Click or drag to resize
SoFenceSliceComputeBBox Method (SoAction, SbXfBox3d, SbVec3d)

Compute object oriented bounding box (OOB) for subclass using information in the given action (which may not necessarily be an OIV.Inventor.Actions.SoGetBoundingBoxAction).

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.2.1.0 (10.16.1.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public override void ComputeBBox(
	SoAction action,
	out SbXfBox3d box,
	out SbVec3d center
)

Parameters

action
Type: OIV.Inventor.ActionsSoAction
box
Type: OIV.InventorSbXfBox3d
center
Type: OIV.InventorSbVec3d
Remarks

This is used by OIV.VolumeViz.Nodes.SoFenceSlice.GetBoundingBox(OIV.Inventor.Actions.SoGetBoundingBoxAction) and when rendering or picking a shape with bounding-box complexity.

This method returns an Object Oriented Bounding Box (OOB), which may be more efficient for picking, colision detection, and culling compared to an axis aligned bounding box, at the cost of more computing time. Subclasses should override this method, if not then the axis aligned bounding bbox is used.

By default Open Inventor only uses the axis aligned bounding box (AABB). OOB can be enabled using OIV.Inventor.Nodes.SoComplexity or the OIV_USE_OOB environment variable.

See Also