SoTransformerManip¶
-
InventorModule
¶ genre InventorManipulators
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def
Purpose¶
This is a new manipulator with some improvements over the older inventor manipulators. It has the following features:
- full interface for rotate, translate, and scale
- better feedback
- locate highlighting.
SoTransformerManip is derived SoTransform (by way of SoTransformerManip
). When its fields change, nodes following it in the scene graph rotate, scale, and/or translate.
As a subclass of SoTransformerManip
, this manipulator also has a 3D interface to edit some of its fields. In this case, the interface edits the Scale Factor
, rotation and translation fields.
A manipulator differs from a dragger. When you move a dragger, no other nodes are affected. When you move an SoTransformerManip
, other nodes move along with it. (See the reference page for SoTransformerManip
).
To find out how the manipulator uses a dragger to provide its interface, see the reference page for SoTransformerManip.)
On screen, this manipulator will surround the objects influenced by its motion. This is because it turns on the surroundScale part of the dragger.
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 translation is given by the translation field.
Rotation¶
-
name:
rotation
, type:
Rotation
, default:
0 0 1 0
¶ Rotation of the manipulator. Three lines along the x, y, and z axes form the central star shape, which you can manipulate with the mouse to rotate.
Scale Factor¶
-
name:
scaleFactor
, type:
Vector3
, default:
1 1 1
¶ The small cubes are an SoScaleUniformDragger, tied to the scaleFactor field.