Main Page | Class Hierarchy | Class List | Class Members

EulerAnglesAndTranslation Class Reference

List of all members.

Public Member Functions

 EulerAnglesAndTranslation (const Matrix4D &m)
 EulerAnglesAndTranslation (const Matrix4D &m, const EulerAnglesAndTranslation &euler)
EulerAnglesAndTranslation operator- (void) const
EulerAnglesAndTranslation operator * (double scale) const
EulerAnglesAndTranslationoperator *= (double scale)
EulerAnglesAndTranslation operator/ (double scale) const
EulerAnglesAndTranslationoperator/= (double scale)
EulerAnglesAndTranslation operator+ (const EulerAnglesAndTranslation &q) const
EulerAnglesAndTranslationoperator+= (const EulerAnglesAndTranslation &q)
EulerAnglesAndTranslation operator- (const EulerAnglesAndTranslation &q) const
EulerAnglesAndTranslationoperator-= (const EulerAnglesAndTranslation &q)

Public Attributes

Point3D eulerAngles
Point3D translate

Detailed Description

This class represents a transformation by the Euler angles and the translation


Constructor & Destructor Documentation

EulerAnglesAndTranslation::EulerAnglesAndTranslation const Matrix4D m  ) 
 

This constructor sets the Euler angles and translation vector from the transformation matrix

EulerAnglesAndTranslation::EulerAnglesAndTranslation const Matrix4D m,
const EulerAnglesAndTranslation euler
 

Because the Euler angles are not unique, the following method sets the Euler angles so that they are closest to the input ones


Member Function Documentation

EulerAnglesAndTranslation EulerAnglesAndTranslation::operator * double  scale  )  const
 

This method scales the transformation parameters.

EulerAnglesAndTranslation & EulerAnglesAndTranslation::operator *= double  scale  ) 
 

This method scales the current transformation parameters by a constant factor.

EulerAnglesAndTranslation EulerAnglesAndTranslation::operator+ const EulerAnglesAndTranslation q  )  const
 

This method adds two sets of transformation parameters and returns their sum.

EulerAnglesAndTranslation & EulerAnglesAndTranslation::operator+= const EulerAnglesAndTranslation q  ) 
 

This method adds a set of transformation parameters to the current transformation parameters.

EulerAnglesAndTranslation EulerAnglesAndTranslation::operator- const EulerAnglesAndTranslation q  )  const
 

This method subtracts two sets of transformation parameters and returns their difference.

EulerAnglesAndTranslation EulerAnglesAndTranslation::operator- void   )  const
 

This method returns the negative of the transformation parameters

EulerAnglesAndTranslation & EulerAnglesAndTranslation::operator-= const EulerAnglesAndTranslation q  ) 
 

This method subtracts a set of transformation parameters from the current transformation parameters.

EulerAnglesAndTranslation EulerAnglesAndTranslation::operator/ double  scale  )  const
 

This method divides the coefficients of a the transformation parameters by a constant factor.

EulerAnglesAndTranslation & EulerAnglesAndTranslation::operator/= double  scale  ) 
 

This method divides the coefficients of the current transformation parameters by a constant factor.


Member Data Documentation

Point3D EulerAnglesAndTranslation::eulerAngles
 

The Euler angles of the transformation

Point3D EulerAnglesAndTranslation::translate
 

The translation vector


Generated on Wed Feb 22 15:44:22 2006 for Assignment 2 by  doxygen 1.4.1