Public Member Functions | Public Attributes

quaternion_t Struct Reference
[Core Geometry Objects]

#include <quaternion.h>

List of all members.

Public Member Functions

 quaternion_t (void) throw ()
 quaternion_t (const quaternion_t &q) throw ()
void clear (void) throw ()
void setEulerZYX (float yaw, float pitch, float roll) throw ()
 set quaternion based on the provided Euler angles
void setEulerZYX (const point3d_t &euler) throw ()
void operator= (const quaternion_t &q) throw ()
void dump (const char *msg) const throw ()

Public Attributes

float x
float y
float z
float w

Detailed Description

Basic quaternion object. Mostly used for 3D object orientation.

Definition at line 49 of file quaternion.h.


Constructor & Destructor Documentation

quaternion_t::quaternion_t ( void   )  throw () [inline]

Definition at line 51 of file quaternion.h.

quaternion_t::quaternion_t ( const quaternion_t q  )  throw () [inline]

Definition at line 52 of file quaternion.h.


Member Function Documentation

void quaternion_t::clear ( void   )  throw () [inline]

Definition at line 55 of file quaternion.h.

void quaternion_t::setEulerZYX ( float  yaw,
float  pitch,
float  roll 
) throw ()

set quaternion based on the provided Euler angles

Definition at line 56 of file quaternion.cpp.

void quaternion_t::setEulerZYX ( const point3d_t euler  )  throw () [inline]

Definition at line 63 of file quaternion.h.

void quaternion_t::operator= ( const quaternion_t q  )  throw () [inline]

Definition at line 67 of file quaternion.h.

void quaternion_t::dump ( const char *  msg  )  const throw () [inline]

Definition at line 74 of file quaternion.h.


Member Data Documentation

Definition at line 80 of file quaternion.h.

Definition at line 81 of file quaternion.h.

Definition at line 82 of file quaternion.h.

Definition at line 83 of file quaternion.h.


The documentation for this struct was generated from the following files: