SoJackManip

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

Purpose

SoJackDragger is a composite dragger in the shape of a jack from the children’s game jacks. Three lines along the x, y, and z axes form the central star shape, which you can drag with the mouse to rotate the jack. Dragging any of the small cubes mounted at the end of the axes will scale the jack uniformly in all 3 dimensions. At the core of the jack is an SoDragPointDragger for translating the jack.

Each of these shapes is a different dragger with the default geometry changed. All of them are parts of the jack dragger, which keeps them moving together. The star is an SoRotateSphericalDragger, and dragging it updates the rotation field of the jack dragger. The small cubes are an SoScaleUniformDragger, tied to the Scale Factor field. The position of the SoDragPointDragger is given by the Translation field. As with all draggers, if you change the fields the dragger will move to match the new settings.

Remember: This is not a SoTransform! If you want to move other objects with this dragger, you can either:

  1. Use a SoJackManip, which is subclassed from SoTransform. It creates one of these draggers and uses it as the interface to change its fields.
  2. Use field-to-field connections to connect the fields of this dragger to those of any SoTransform-node.

Windows

Default Panel

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Center: Vector3
Rotation: Rotation
Scale Factor: Vector3
Scale Orientation: Rotation
Translation: Vector3

Visible Fields

Translation

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

The position of the dragger.

Rotation

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

Orientation of the dragger. Three lines along the x, y, and z axes form the central star shape, which you can drag with the mouse to rotate the dragger.

Scale Factor

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

With the small cubes you change the Scale Factor field.

Scale Orientation

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

Orientation of scaling.

Center

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

Center of rotation and scaling.