Class SoTabBoxManip
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class SoTabBoxManip extends SoTransformManip
Transform node with 3D Interface for editing scale and translation.SoTabBoxManip
is derived fromSoTransform
(by way ofSoTransformManip
). When its fields change, nodes following it in the scene graph scale, and/or translate.As a subclass of
SoTransformManip
, this manip also has a 3D interface to edit some of its fields. In this case, the interface edits the scaleFactor and translation fields.A manipulator differs from a dragger. When you move a dragger, no other nodes are affected. When you move an
SoTransformManip
, other nodes move along with it. (See the reference page forSoTransformManip
.)The interface for an
SoTabBoxManip
is exactly the same as that of theSoTabBoxDragger
. But note thatSoTabBoxManip
changes the defaultSoTabBoxDragger
line color to a brighter gray.- Clicking and dragging a corner tab does a 2D scaling in the plane of the tab by scaling about the opposite corner of that face of the dragger.
Note: Holding the SHIFT key while dragging a corner tab forces uniform scaling. - Clicking and dragging an edge tab does 1D scaling about the opposite edge of that face.
- Clicking and dragging a face does translation within the plane of the face. Although the face of the dragger is invisible (using the default dragger geometry) it is pickable.
Note: Holding the SHIFT key while dragging a face forces axis constrained dragging. The drag axis is determined by the initial drag direction.
To find out how the manipulator uses a dragger to provide its interface, see the reference page for
SoTransformManip
.On screen, this manip will surround the objects influenced by its motion. This is because it turns on the surroundScale part of the dragger (See the reference page for
SoSurroundScale
)File format/default:
TabBoxManip {
translation 0 0 0 rotation 0 0 1 0 scaleFactor 1 1 1 scaleOrientation 0 0 1 0 center 0 0 0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.nodes.SoTransform
center, rotation, scaleFactor, scaleOrientation, translation
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoTabBoxManip()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.manips.SoTransformManip
getDragger, replaceManip, replaceNode
-
Methods inherited from class com.openinventor.inventor.nodes.SoTransform
combineLeft, combineRight, getRotationSpaceMatrix, getScaleSpaceMatrix, getTranslationSpaceMatrix, multLeft, multRight, pointAt, recenter, setMatrix
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-