SoCenterballDragger

InventorModule
genre InventorDraggers
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def

Purpose

SoCenterballDragger is a composite dragger displayed as a striped ball that you can rotate and re-center by dragging with the mouse. Its shape is a sphere defined by three intersecting circles. At the intersections of the circles (where the x, y, and z axes meet), there are sets of small green crosshairs. Dragging a pair of crosshairs translates the entire centerball within the plane of the crosshairs. The interface of the sphere and circles is similar to that of SoTrackballDragger. Dragging a circle rotates the centerball about a constrained axis, while dragging the areas between the circles allows for free rotation of the sphere about its center. An invisible but pickable sphere initiates the free-rotation dragging.

When you drag the crosshairs, the center field is updated; there is no translation field. Dragging other parts of the centerball updates the rotation field. As with all draggers, if you change the fields, the dragger moves in response.

Windows

Default Panel

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Is Active

name: isActive, type: Bool, persistent: no

Shows whether the user is currently interacting with this dragger.

Rotation

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

Sets and shows the orientation of the dragger.

Center

name: center, type: Vector3, default: 0 0 0

Sets and shows the center of rotation and scale of the dragger.

Hidden Fields

enable

name: enable, type: Bool, default: TRUE