Package com.openinventor.inventor.nodes
Class SoScale
- All Implemented Interfaces:
- SafeDisposable
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:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNodeSoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.InventorInventor.ConstructorCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal SoSFVec3fThe scaling factors in the x, y, and z dimensions.Fields inherited from class com.openinventor.inventor.InventorVERBOSE_LEVEL, ZeroHandle
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.openinventor.inventor.nodes.SoNodeaffectsState, 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, writeMethods inherited from class com.openinventor.inventor.fields.SoFieldContainercopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBasedispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.InventorgetNativeResourceHandle
- 
Field Details- 
scaleFactorThe scaling factors in the x, y, and z dimensions. Negative and null values may cause undesirable results.
 
- 
- 
Constructor Details- 
SoScalepublic SoScale()Creates a scale node with default settings.
 
-