Public Member Functions |
void | setValues (int start, int num, const float q[][4]) |
| Sets num values starting at index start to the values in newValues .
|
void | set1Value (int index, float q0, float q1, float q2, float q3) |
| Sets the index'th value to the given quaternion.
|
void | set1Value (int index, const float q[4]) |
| Sets the index'th value to the given quaternion.
|
void | set1Value (int index, const SbVec3f &axis, float angle) |
| Sets the index'th value to the given axis/angle.
|
void | setValue (float q0, float q1, float q2, float q3) |
| Makes this field have exactly one value, given by the quaternion.
|
void | setValue (const float q[4]) |
| Set to one value from 4 floats in array.
|
void | setValue (const SbVec3f &axis, float angle) |
| Makes this field have exactly one value, given by axis and angle .
|
Static Public Member Functions |
static void | initClass () |
multiple-value field that contains any number of SbRotations.
SoMFRotations are written to file as one or more sets of four floating point values. Each set of 4 values is an axis of rotation followed by the amount of right-handed rotation about that axis, in radians.
When more than one value is present, all of the values are enclosed in square brackets and separated by commas; for example:
[ 1 0 0 0, -.707 -.707 0 1.57 ]
- See Also
- SbRotation
Definition at line 89 of file SoMFRotation.h.