1 #ifndef COIN_SBROTATION_H 2 #define COIN_SBROTATION_H 37 #include <Inventor/SbVec4f.h> 38 #include <Inventor/SbByteBuffer.h> 39 #include <Inventor/SbString.h> 49 SbRotation(
const float q0,
const float q1,
const float q2,
const float q3);
52 const float * getValue(
void)
const;
53 void getValue(
float & q0,
float & q1,
float & q2,
float & q3)
const;
54 SbRotation & setValue(
const float q0,
const float q1,
55 const float q2,
const float q3);
56 void getValue(
SbVec3f & axis,
float & radians)
const;
57 void getValue(
SbMatrix & matrix)
const;
68 float operator[] (
int n)
const;
70 SbBool equals(
const SbRotation & r,
float tolerance)
const;
74 void scaleAngle(
const float scaleFactor);
80 SbBool fromString(
const SbString & str);
82 void print(FILE * fp)
const;
98 #endif // !COIN_SBROTATION_H The SbVec4f class is a 4 dimensional vector with floating point coordinates.
Definition: SbVec4f.h:49
float operator[](int n) const
returns the n'th quaternion of this rotation
Definition: SbRotation.h:92
int operator==(const SbBox2s &b1, const SbBox2s &b2)
Definition: SbBox2s.h:102
int operator!=(const SbBox2s &b1, const SbBox2s &b2)
Definition: SbBox2s.h:106
The SbRotation class represents a rotation in 3D space.
Definition: SbRotation.h:44
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:47
SbVec2s operator*(const SbVec2s &v, int d)
The SbString class is a string class with convenience functions for string operations.
Definition: SbString.h:52