BoundingBoxListener

MacroModule
genre InventorMain
author Christian Schumann
package FMEstable/ReleaseMeVis
definition BoundingBoxListener.def

Purpose

Notifies changes of the scene bounding box. Optionally an object selection is used. Can be used to trigger viewAll() on a SoExaminerViewer on scene change for example

Usage

Connect scene below.

Windows

Default Panel

../../../Projects/BoundingBoxListener/Modules/mhelp/Images/Screenshots/BoundingBoxListener._default.png

Input Fields

scene

name: scene, type: SoNode

Input inventor scene.

Parameter Fields

Field Index

Bounding Box Changed: Trigger
Center: Vector3
Max: Vector3
Min: Vector3
Object Center: Vector3
On: Bool
Size: Vector3

Visible Fields

On

name: on, type: Bool, default: TRUE

Turns module on/off

Min

name: min, type: Vector3, persistent: no

Output of minimal bounding box coordinates

Max

name: max, type: Vector3, persistent: no

Output of maximal bounding box coordinates

Center

name: center, type: Vector3, persistent: no

Output of bounding box center

Object Center

name: objectCenter, type: Vector3, persistent: no

Output of object center

Size

name: size, type: Vector3, persistent: no

Output of bounding box size

Bounding Box Changed

name: boundingBoxChanged, type: Trigger

Triggered on any change of the bounding box