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[] (
size_t 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.This vector class is used...
Definition: SbVec4f.h:49
The SbRotation class represents a rotation in 3D space.SbRotation is used extensively throughout the ...
Definition: SbRotation.h:44
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:51
The SbMatrix class is a 4x4 dimensional representation of a matrix.SbMatrix is used by many other cla...
Definition: SbMatrix.h:46
The SbString class is a string class with convenience functions for string operations.This is the class used for storing and working with character strings. It automatically takes care of supporting all the "bookkeeping" tasks usually associated with working with character strings, like memory allocation and deallocation etc.
Definition: SbString.h:52
float operator[](size_t n) const
returns the n'th quaternion of this rotation
Definition: SbRotation.h:92