#include <distypes.h>
Public Member Functions | |
| EulerAngles (float psi=0.0f, float theta=0.0f, float phi=0.0f) | |
| Constructor. | |
| EulerAngles (const osg::Vec3f ©Vec) | |
| Allow the superclass copy constructor. | |
| size_t | EncodedLength () const |
| Returns the encoded length of this object. | |
| void | Encode (char *buf) const |
| Encodes this object into the specified buffer. | |
| void | Decode (const char *buf) |
| Decodes the values contained in the specified buffer. | |
| void | SetPsi (float psi) |
| Sets the value of the psi field. | |
| float | GetPsi () const |
| Returns the value of the psi field. | |
| void | SetTheta (float theta) |
| Sets the value of the theta field. | |
| float | GetTheta () const |
| Returns the value of the theta field. | |
| void | SetPhi (float phi) |
| Sets the value of the phi field. | |
| float | GetPhi () const |
| Returns the value of the phi field. | |
| dtHLAGM::EulerAngles::EulerAngles | ( | float | psi = 0.0f, |
|
| float | theta = 0.0f, |
|||
| float | phi = 0.0f | |||
| ) |
Constructor.
| psi | the value of the psi field | |
| theta | the value of the theta field | |
| phi | the value of the phi field |
| dtHLAGM::EulerAngles::EulerAngles | ( | const osg::Vec3f & | copyVec | ) | [inline] |
Allow the superclass copy constructor.
| size_t dtHLAGM::EulerAngles::EncodedLength | ( | ) | const |
Returns the encoded length of this object.
| void dtHLAGM::EulerAngles::Encode | ( | char * | buf | ) | const |
Encodes this object into the specified buffer.
| buf | the buffer to contain the encoded object |
| void dtHLAGM::EulerAngles::Decode | ( | const char * | buf | ) |
Decodes the values contained in the specified buffer.
| buf | the buffer containing the encoded object |
| void dtHLAGM::EulerAngles::SetPsi | ( | float | psi | ) |
Sets the value of the psi field.
| psi | the value of the psi field |
| float dtHLAGM::EulerAngles::GetPsi | ( | ) | const |
Returns the value of the psi field.
| void dtHLAGM::EulerAngles::SetTheta | ( | float | theta | ) |
Sets the value of the theta field.
| theta | the value of the theta field |
| float dtHLAGM::EulerAngles::GetTheta | ( | ) | const |
Returns the value of the theta field.
| void dtHLAGM::EulerAngles::SetPhi | ( | float | phi | ) |
Sets the value of the phi field.
| phi | the value of the phi field |
| float dtHLAGM::EulerAngles::GetPhi | ( | ) | const |
Returns the value of the phi field.