ml::RotationField Class Reference
[Fields]

Field to encapsulate a vector of 4 double values representing a rotation with all properties of Vector4Field. More...

#include <mlFields.h>

Inheritance diagram for ml::RotationField:

ml::Vector4Field ml::Field

List of all members.

Public Member Functions

 RotationField (const std::string &name="")
 Constructor: Create a field with name name to manage a vector of 4 double values interpreted as rotation.
void setRotationValue (const Vector3 &vec, double angle)
 Set rotation as rotation axes and angle how much to rotate.
void setRotationValue (const Rotation &rot)
 Sets rotation value by a rotation instance.
void getRotationValue (Vector3 &vec, double &angle) const
 Returns rotation as vector and rotation angle.
Rotation getRotationValue () const
 Returns rotation value as a rotation class instance.


Detailed Description

Field to encapsulate a vector of 4 double values representing a rotation with all properties of Vector4Field.

Definition at line 2632 of file mlFields.h.


Constructor & Destructor Documentation

ml::RotationField::RotationField ( const std::string &  name = ""  )  [inline]

Constructor: Create a field with name name to manage a vector of 4 double values interpreted as rotation.

Definition at line 2640 of file mlFields.h.


Member Function Documentation

Rotation ml::RotationField::getRotationValue (  )  const

Returns rotation value as a rotation class instance.

void ml::RotationField::getRotationValue ( Vector3 vec,
double &  angle 
) const

Returns rotation as vector and rotation angle.

void ml::RotationField::setRotationValue ( const Rotation rot  ) 

Sets rotation value by a rotation instance.

void ml::RotationField::setRotationValue ( const Vector3 vec,
double  angle 
)

Set rotation as rotation axes and angle how much to rotate.


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

Generated on Sat Sep 3 18:37:45 2011 for MLReference by  doxygen 1.5.8