50#ifndef _SO_MF_ROTATION_
51#define _SO_MF_ROTATION_
53#include <Inventor/fields/SoSubField.h>
54#include <Inventor/SbLinear.h>
127 void set1Value(
int index,
float q0,
float q1,
float q2,
float q3);
150 void setValue(
float q0,
float q1,
float q2,
float q3);
208 static void initClass();
209 static void exitClass();
Class for representing a rotation.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class for repres...
Multiple-value field containing any number of SbRotations.
void setValue(const SbRotationd &rd)
Sets the first value in the array to newValue , a double precision rotation, and deletes the second ...
void setValue(const float q[4])
Makes this field have exactly one value, given by the quaternion (x, y, z, w).
void set1Value(int index, const float q[4])
Sets the index 'th value to the given quaternion (x, y, z, w).
void set1Value(int index, float q0, float q1, float q2, float q3)
Sets the index 'th value to the given quaternion (x, y, z, w).
void setValue(float q0, float q1, float q2, float q3)
Makes this field have exactly one value, given by the quaternion (x, y, z, w).
void setValues(int start, int num, const SbRotationd *rd)
Sets num values starting at index start to the values in newValues , an array of double precisio...
void set1Value(int index, const SbVec3f &axis, float angle)
Sets the index 'th value to the given axis/angle.
void setValue(const SbVec3f &axis, float angle)
Makes this field have exactly one value, given by axis and angle .
void setValues(int start, int num, const float q[][4])
Sets values from an array of arrays of 4 floats.
void set1Value(int index, const SbRotationd &rd)
Sets the index 'th value in the array to newValue , a double precision rotation.
Base class for all multiple-valued fields.