public class SoRotationXYZ extends SoTransformation
File format/default:
RotationXYZ {
| axis | X |
| angle | 0 |
Action behavior:
SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction, SoRayPickAction
Accumulates rotation transformation into the current transformation. Sets: SoModelMatrixElement
SoGetMatrixAction
Returns the matrix corresponding to the rotation.
See also:
| Modifier and Type | Class and Description |
|---|---|
static class |
SoRotationXYZ.AxisType
Rotation axis enumeration values.
|
Inventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFFloat |
angle
Rotation angle (in radians), using the right-hand rule.
|
SoSFEnum<SoRotationXYZ.AxisType> |
axis
Rotation axis.
|
static int |
X
Deprecated.
Use
SoRotationXYZ.AxisType.X instead. |
static int |
Y
Deprecated.
Use
SoRotationXYZ.AxisType.Y instead. |
static int |
Z
Deprecated.
Use
SoRotationXYZ.AxisType.Z instead. |
VERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoRotationXYZ()
Creates a rotation node with default settings.
|
| Modifier and Type | Method and Description |
|---|---|
SbRotation |
getRotation()
Returns an
SbRotation equivalent to the specified rotation. |
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads@Deprecated public static final int X
SoRotationXYZ.AxisType.X instead.@Deprecated public static final int Y
SoRotationXYZ.AxisType.Y instead.@Deprecated public static final int Z
SoRotationXYZ.AxisType.Z instead.public final SoSFEnum<SoRotationXYZ.AxisType> axis
Axis. Default is X.public final SoSFFloat angle
public SoRotationXYZ()
public SbRotation getRotation()
SbRotation equivalent to the specified rotation.Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com