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;
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:44
float operator[](int n) const
returns the n'th quaternion of this rotation
Definition SbRotation.h:92
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:51
The SbVec4f class is a 4 dimensional vector with floating point coordinates.
Definition SbVec4f.h:49