#include <SFRotation.h>
Inheritance diagram for SFRotation:
Public Member Functions | |
SFRotation (float x, float y, float z, float w) | |
SFRotation (const float *value) | |
SFRotation (Vec3f euler, int mode) | |
SFRotation (const Quaternion &q) | |
SFRotation (const Matrix &mat) | |
virtual int | getType () const |
virtual const char * | getTypeName () const |
virtual void | write (FILE *f, int indent) const |
virtual bool | equals (const FieldValue *value) const |
virtual FieldValue * | copy () |
const float * | getValue () const |
Vec3f | getEulerAngles (int order) |
void | setEulerAngles (Vec3f angles, int order) |
const Quaternion & | getQuat () const |
Vec3f | operator * (const Vec3f &v) const |
Private Attributes | |
Quaternion | _quaternion |
float | _value [4] |
Vec3f | _euler |
int | _eulerOrder |
bool | _eulerDirty |
SFRotation::SFRotation | ( | float | x, | |
float | y, | |||
float | z, | |||
float | w | |||
) |
SFRotation::SFRotation | ( | const float * | value | ) |
SFRotation::SFRotation | ( | Vec3f | euler, | |
int | mode | |||
) |
SFRotation::SFRotation | ( | const Quaternion & | q | ) |
SFRotation::SFRotation | ( | const Matrix & | mat | ) |
virtual int SFRotation::getType | ( | ) | const [inline, virtual] |
Implements FieldValue.
virtual const char* SFRotation::getTypeName | ( | ) | const [inline, virtual] |
Implements FieldValue.
void SFRotation::write | ( | FILE * | f, | |
int | indent | |||
) | const [virtual] |
Implements FieldValue.
bool SFRotation::equals | ( | const FieldValue * | value | ) | const [virtual] |
Implements FieldValue.
virtual FieldValue* SFRotation::copy | ( | ) | [inline, virtual] |
Implements FieldValue.
const float* SFRotation::getValue | ( | ) | const [inline] |
Vec3f SFRotation::getEulerAngles | ( | int | order | ) |
void SFRotation::setEulerAngles | ( | Vec3f | angles, | |
int | order | |||
) |
const Quaternion & SFRotation::getQuat | ( | ) | const |
Quaternion SFRotation::_quaternion [private] |
float SFRotation::_value[4] [private] |
Vec3f SFRotation::_euler [private] |
int SFRotation::_eulerOrder [private] |
bool SFRotation::_eulerDirty [private] |