SoTransformBoxDragger

InventorModule
genre InventorDraggers
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
keywords interaction, 3D

Purpose

SoTransformBoxDragger is a composite dragger shaped like a box with small cubes at the corners. Click and drag any of these cubes to scale the box uniformly. Drag any edge of the box to rotate the entire dragger about its center, along an axis parallel to that edge. Pick any face of the box for 2D translation in the plane of that face.

Although the box looks just about like a wire frame cube, it is composed of many different simple draggers arranged in a composite assembly. When one part is dragged, the transformBox makes sure they all move together. Each of the parts of the box is a different dragger with the default geometry changed. The faces of the box are SoTranslate2Dragger, the edges are SoRotateCylindricalDragger, and the cubes are SoScaleUniformDragger. Drag them and the dragger will update its Translation, Rotation and Scale Factor fields to reflect the changes. As with all draggers, if you change the fields the dragger will move to match the new settings.

Interaction

Press Shift to constrain the translation to a single direction.

Windows

Default Panel

../../../Modules/Inventor/InventorBase/mhelp/Images/Screenshots/SoTransformBoxDragger._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

enable: Bool
Is Active: Bool
Rotation: Rotation
Scale Factor: Vector3
Translation: Vector3

Visible Fields

Is Active

name: isActive, type: Bool, persistent: no

Shows whether the dragger is active.

Rotation

name: rotation, type: Rotation, default: 0 0 1 0

Sets and shows the orientation of the dragger.

Translation

name: translation, type: Vector3, default: 0 0 0

Sets and shows the position of the dragger.

Scale Factor

name: scaleFactor, type: Vector3, default: 1 1 1

Sets and shows the scale of the dragger.

Hidden Fields

enable

name: enable, type: Bool, default: TRUE