Class SoEllipsoidDragger
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.misc.SoBase
com.openinventor.inventor.fields.SoFieldContainer
com.openinventor.inventor.nodes.SoNode
com.openinventor.inventor.nodekits.SoBaseKit
com.openinventor.inventor.nodekits.SoInteractionKit
com.openinventor.inventor.draggers.SoDragger
com.openinventor.inventor.draggers.SoTabPlaneDragger
com.openinventor.inventor.draggers.SoEllipsoidDragger
- All Implemented Interfaces:
SafeDisposable
Ellipsoid you can translate or scale within a plane by dragging with the mouse.
SoEllipsoidDragger
is derived from SoTabPlaneDragger
and has similar behavior. The difference is that the displayed shape is an ellipsoid that fills the extent of the dragger.
If you set the constrained
field to true, the edge tabs are hidden (only corner tabs are visible) and scaling is uniform.
The numSamples
field specifies the number of points used to draw the ellipsoid. You can ensure the displayed shape is a circle if you set the constrained
field to true before any scaling is applied.
The scaleUniform and lineWidth fields inherited from SoTabPlaneDragger
are ignored.
See SoDragger
for more information about using and customizing draggers, including code examples, using draggers in an immersive VR environment and using WYSIWYG draggers.
File format/default:
EllipsoidDragger {
boundingBoxCaching | AUTO |
renderCulling | AUTO |
pickCulling | AUTO |
isActive | false |
resizeHandles | false |
translation | 0 0 0 |
scaleFactor | 1 1 1 |
numSamples | 100 |
constrained | false |
scaleUniform | false |
twoSidedLighting | false |
lineWidth | 1 |
callbackList | NULL |
translator | <tabPlaneTranslator resource> |
scaleTabMaterial | <tabPlaneScaleTabMaterial resource> |
scaleTabHints | <tabPlaneScaleTabHints resource> |
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.draggers.SoDragger
SoDragger.TrackerDirectModes
Nested classes/interfaces inherited from class com.openinventor.inventor.nodekits.SoInteractionKit
SoInteractionKit.Cachings
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
FieldsModifier and TypeFieldDescriptionfinal SoSFBool
Hint about constrained scaling.final SoSFInt32
Number of samples composing the ellispoid.Fields inherited from class com.openinventor.inventor.draggers.SoTabPlaneDragger
lineWidth, resizeHandles, scaleFactor, scaleUniform, tabPixelSize, translation, twoSidedLighting
Fields inherited from class com.openinventor.inventor.draggers.SoDragger
enableCallbacks, isActive
Fields inherited from class com.openinventor.inventor.nodekits.SoInteractionKit
boundingBoxCaching, pickCulling, renderCaching, renderCulling
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalog
Returns theSoNodekitCatalog
for this class.Methods inherited from class com.openinventor.inventor.draggers.SoTabPlaneDragger
adjustScaleTabSize, showCornerScales, showEdgeScales
Methods inherited from class com.openinventor.inventor.draggers.SoDragger
addFinishCallback, addMotionCallback, addStartCallback, addValueChangedCallback, enableValueChangedCallbacks, getInitialTrackerDirectMode, getMinGesture, getMinGestureFloat, getMinScale, getMotionMatrix, getTrackerDirectMode, removeFinishCallback, removeMotionCallback, removeStartCallback, removeValueChangedCallback, setInitialTrackerDirectMode, setInitialTrackerDirectMode, setMinGesture, setMinGesture, setMinScale, setMotionMatrix, setTrackerDirectMode, setTrackerDirectMode
Methods inherited from class com.openinventor.inventor.nodekits.SoInteractionKit
setPartAsPath
Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
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, 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
-
Field Details
-
numSamples
Number of samples composing the ellispoid. -
constrained
Hint about constrained scaling.
-
-
Constructor Details
-
SoEllipsoidDragger
public SoEllipsoidDragger()Constructor.
-
-
Method Details
-
getClassNodekitCatalog
Returns theSoNodekitCatalog
for this class.
-