public class SoVRMLOrientationInterpolator extends SoVRMLInterpolator
<font color="#0000FF">NOTE:</font> This class does not exist in Open Inventor 10.0 and later.
This section describes the expected behavior of the node in a conforming VRML97 browser application. In some cases, the application is responsible for implementing portions of the expected behavior. Open Inventor viewer classes and IVF classes implement some of the application behaviors.
This section may reference portions of the VRML97 specification that are not present in this help file. The complete VRML97 spec is available at
This node interpolates among a set of SFRotation values. The rotations are absolute in object space and are, therefore, not cumulative. The keyValue
field must contain exactly as many rotations as there are keyframes in the key
field, or an error will be generated and results will be undefined.
An orientation represents the final position of an object after a rotation has been applied. An SoVRMLOrientationInterpolator
will interpolate between two orientations by computing the shortest path on the unit sphere between the two orientations. The interpolation will be linear in arc length along this path. The path between two diagonally opposed orientations will be any one of the infinite possible paths with arc length pi.
If two consecutive keyValue values exist such that the arc length between them is greater than pi, then the interpolation will take place on the arc complement. For example, the interpolation between the orientations:
is equivalent to the rotation between the two orientations:0 1 0 0 --> 0 1 0 5.0
Refer to "Concepts - Interpolators" for a more detailed discussion of interpolators.0 1 0 2*PI --> 0 1 0 5.0
File format/default:
VRMLOrientationInterpolator {
key | [] |
keyValue | [] |
metadata | NULL |
SoSFFloat | set_fraction |
SoMFFloat | set_key |
SoMFRotation | set_keyValue |
SoSFNode | set_metadata |
SoSFRotation | value_changed |
SoMFFloat | key_changed |
SoMFRotation | keyValue_changed |
SoSFNode | metadata_changed |
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoMFFloat |
key
Deprecated.
|
SoMFRotation |
keyValue
Deprecated.
|
metadata
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoVRMLOrientationInterpolator()
Deprecated.
Constructor.
|
copy, evaluateWrapper, getByName, getOutput, getOutputName
affectsState, callback, copy, distribute, doAction, getAlternateRep, getBoundingBox, getMatrix, getPrimitiveCount, 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, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public final SoMFFloat key
public final SoMFRotation keyValue
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com