00001 #ifndef COIN_SOMFROTATION_H
00002 #define COIN_SOMFROTATION_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include <Inventor/fields/SoMField.h>
00028 #include <Inventor/fields/SoSubField.h>
00029 #include <Inventor/SbRotation.h>
00030
00031 class COIN_DLL_API SoMFRotation : public SoMField {
00032 typedef SoMField inherited;
00033
00034 SO_MFIELD_HEADER(SoMFRotation, SbRotation, const SbRotation &);
00035
00036 public:
00037 static void initClass(void);
00038
00039 void setValues(const int start, const int num, const float q[][4]);
00040 void set1Value(const int idx, const float q0, const float q1, const float q2, const float q3);
00041 void set1Value(const int idx, const float q[4]);
00042 void set1Value(const int idx, const SbVec3f & axis, const float angle);
00043 void setValue(const float q0, const float q1, const float q2, const float q3);
00044 void setValue(const float q[4]);
00045 void setValue(const SbVec3f & axis, const float angle);
00046 };
00047
00048 #endif // !COIN_SOMFROTATION_H