SFRotation Class Reference

#include <SFRotation.h>

Inheritance diagram for SFRotation:

FieldValue List of all members.

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 FieldValuecopy ()
const float * getValue () const
Vec3f getEulerAngles (int order)
void setEulerAngles (Vec3f angles, int order)
const QuaterniongetQuat () const
Vec3f operator * (const Vec3f &v) const

Private Attributes

Quaternion _quaternion
float _value [4]
Vec3f _euler
int _eulerOrder
bool _eulerDirty

Constructor & Destructor Documentation

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  ) 


Member Function Documentation

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

Vec3f SFRotation::operator * ( const Vec3f v  )  const


Member Data Documentation

Quaternion SFRotation::_quaternion [private]

float SFRotation::_value[4] [private]

Vec3f SFRotation::_euler [private]

int SFRotation::_eulerOrder [private]

bool SFRotation::_eulerDirty [private]


Generated on Thu Jan 18 10:06:22 2007 for vhdPLUS by  doxygen 1.5.1-p1