public class SoAntiSquish extends SoTransformation
SoTrackballDragger
that need to stay uniformly scaled no matter where they are located in the scene graph.
The magnitude of the new scale is determined by the current transformation matrix and the sizing field. This node does not change the translation or rotation in the matrix.
File format/default:
AntiSquish {
sizing | AVERAGE_DIMENSION |
recalcAlways | true |
Action behavior:
SoGLRenderAction
, SoCallbackAction
, SoGetBoundingBoxAction
, SoGetMatrixAction
, SoRayPickAction
Appends the current transformation with a new matrix to create an unsquished result.
See also:
SoCenterballDragger
, SoJackDragger
, SoTrackballDragger
, SoTransformerDragger
, SoTransformation
, SoTransformBoxDragger
Modifier and Type | Class and Description |
---|---|
static class |
SoAntiSquish.Sizings
Sizing.
|
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFBool |
recalcAlways
If recalcAlways is true, this node calculates its unsquishing matrix every time it is traversed.
|
SoSFEnum<SoAntiSquish.Sizings> |
sizing
Determines which of the algorithms enumerated by the type Sizing will be used to select the new scale when the x,y, and z scales are not equal.
|
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoAntiSquish()
Creates an anti-squish node with default settings.
|
Modifier and Type | Method and Description |
---|---|
void |
recalc()
Sets a flag so that the next time the node is traversed, it will recalculate its unsquishing matrix.
|
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
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public final SoSFEnum<SoAntiSquish.Sizings> sizing
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com