physics::Orientation3D Class Reference

#include <orientation.h>

List of all members.

Public Member Functions

void getAxisRotation (float &radians, float &x, float &y, float &z)
Orientation3D operator- () const
Orientation3D operator+ (const Orientation3D &o) const
Orientation3D operator- (const Orientation3D &o) const
Orientation3Doperator+= (const Rotation3D &o)
Orientation3Doperator-= (const Rotation3D &o)
Vector3D operator* (const Vector3D &v) const
Vector3D transform (const Vector3D &v) const
Vector3D inverseTransform (const Vector3D &v) const

Static Public Member Functions

static Orientation3D random ()

Detailed Description

Stores an orientation in 3D.

Member Function Documentation

Orientation3D physics::Orientation3D::random (  )  [inline, static]

Creates a random orientation.

void physics::Orientation3D::getAxisRotation ( float &  radians,
float &  x,
float &  y,
float &  z 

Get this orientation as a rotation about some axis.

Orientation3D physics::Orientation3D::operator- (  )  const [inline]

Get the negation of this orientation (the same value in the opposite direction).

Orientation3D physics::Orientation3D::operator+ ( const Orientation3D o  )  const [inline]

Combine two orientations.

Orientation3D physics::Orientation3D::operator- ( const Orientation3D o  )  const [inline]

Get a relative orientation.

Orientation3D & physics::Orientation3D::operator+= ( const Rotation3D o  )  [inline]

Rotate this orientation. A Rotation object in this context is just a change of orientation.

Orientation3D & physics::Orientation3D::operator-= ( const Rotation3D o  )  [inline]

Rotate this orientation in the opposite direction. A Rotation object in this context is just a change of orientation.

Vector3D physics::Orientation3D::operator* ( const Vector3D v  )  const [inline]

Transform a point by this orientation.

Vector3D physics::Orientation3D::transform ( const Vector3D v  )  const [inline]

Rotate a point using this orientation.

Vector3D physics::Orientation3D::inverseTransform ( const Vector3D v  )  const [inline]

Rotate a point in the opposite direction to this orientation.

The documentation for this class was generated from the following file:

Generated on Thu Apr 23 22:51:40 2009 for Large Polygon Collider - Modular 2D/3D Physics Engine by  doxygen 1.5.6