Package com.openinventor.inventor.nodes
Class SoScale
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class SoScale extends SoTransformation
Node representing a 3D geometric scaling. This node defines a 3D scaling about the origin. If the components of the scaling vector are not all the same, this produces a non-uniform scale.File format/default:
Scale {
scaleFactor 1 1 1 Action behavior:
SoGLRenderAction
,SoCallbackAction
,SoGetBoundingBoxAction
,SoRayPickAction
Accumulates scaling transformation into the current transformation. Sets:SoModelMatrixElement
SoGetMatrixAction
Returns the matrix corresponding to the scaling.- See Also:
SoTransform
,SoUnits
-
-
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 Modifier and Type Field Description SoSFVec3f
scaleFactor
The scaling factors in the x, y, and z dimensions.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoScale()
Creates a scale node with default settings.
-
Method Summary
-
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
-
-
-
-
Field Detail
-
scaleFactor
public final SoSFVec3f scaleFactor
The scaling factors in the x, y, and z dimensions. Non-positive values may cause undesirable results.
-
-