56#ifndef  _SO_SF_ROTATIOND_ 
   57#define  _SO_SF_ROTATIOND_ 
   96        { 
evaluate(); value.getValue(axis, angle); }
 
 
   99    void        setValue(
double q0, 
double q1, 
double q2, 
double q3);
 
 
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
 
#define SO_SFIELD_HEADER(className, valueType, valueRef)
This macro is all that is needed for most single-value field classes.
 
Class for representing a rotation with double values.
 
3D vector class with double values.
 
void evaluate() const
Evaluates the field from whatever it's connected to.
 
Field containing a rotation of double values.
 
void setValue(double q0, double q1, double q2, double q3)
Set the field to the given quaternion.
 
void setValue(const SbVec3d &axis, double angle)
Set the field to the rotation given by axis/angle.
 
void getValue(SbVec3d &axis, double &angle) const
Some additional convenience functions:
 
void setValue(const double q[4])
Set value from array of 4 doubles defining rotation quaternion.