1#ifndef COIN_SBROTATION_H
2#define COIN_SBROTATION_H
37#include <Inventor/SbVec4f.h>
38#include <Inventor/SbString.h>
48 SbRotation(
const float q0,
const float q1,
const float q2,
const float q3);
51 const float * getValue(
void)
const;
52 void getValue(
float & q0,
float & q1,
float & q2,
float & q3)
const;
53 SbRotation & setValue(
const float q0,
const float q1,
54 const float q2,
const float q3);
55 void getValue(
SbVec3f & axis,
float & radians)
const;
56 void getValue(
SbMatrix & matrix)
const;
67 float operator[] (
int n)
const;
69 SbBool equals(
const SbRotation & r,
float tolerance)
const;
73 void scaleAngle(
const float scaleFactor);
79 SbBool fromString(
const SbString & str);
81 void print(FILE * fp)
const;
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition SbMatrix.h:47
The SbRotation class represents a rotation in 3D space.
Definition SbRotation.h:43
float operator[](int n) const
returns the n'th quaternion of this rotation
Definition SbRotation.h:91
The SbString class is a string class with convenience functions for string operations.
Definition SbString.h:52
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:50
The SbVec4f class is a 4 dimensional vector with floating point coordinates.
Definition SbVec4f.h:49