55#ifndef _SO_MF_ROTATION_
56#define _SO_MF_ROTATION_
98 void setValues(
int start,
int num,
const float q[][4]);
101 void set1Value(
int index,
float q0,
float q1,
float q2,
float q3);
110 void setValue(
float q0,
float q1,
float q2,
float q3);
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_MFIELD_HEADER(className, valueType, valueRef)
This macro is all that is needed for most multiple-value field classes.
Class for representing a rotation.
Multiple-value field containing any number of SbRotations.
void setValue(const float q[4])
Set to one value from 4 floats in array.
void set1Value(int index, const float q[4])
Sets the index'th value to the given quaternion.
void set1Value(int index, float q0, float q1, float q2, float q3)
Sets the index'th value to the given quaternion.
void setValue(float q0, float q1, float q2, float q3)
Makes this field have exactly one value, given by the quaternion.
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 num values starting at index start to the values in newValues.
Base class for all multiple-valued fields.