dtHLAGM::EulerAngles Class Reference

A DIS/RPR-FOM euler angle type. More...

#include <distypes.h>

List of all members.

Public Member Functions

 EulerAngles (float psi=0.0f, float theta=0.0f, float phi=0.0f)
 Constructor.
 EulerAngles (const osg::Vec3f &copyVec)
 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.


Detailed Description

A DIS/RPR-FOM euler angle type.

Constructor & Destructor Documentation

dtHLAGM::EulerAngles::EulerAngles ( float  psi = 0.0f,
float  theta = 0.0f,
float  phi = 0.0f 
)

Constructor.

Parameters:
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.


Member Function Documentation

size_t dtHLAGM::EulerAngles::EncodedLength (  )  const

Returns the encoded length of this object.

Returns:
the encoded length of this object, in bytes

void dtHLAGM::EulerAngles::Encode ( char *  buf  )  const

Encodes this object into the specified buffer.

Parameters:
buf the buffer to contain the encoded object

void dtHLAGM::EulerAngles::Decode ( const char *  buf  ) 

Decodes the values contained in the specified buffer.

Parameters:
buf the buffer containing the encoded object

void dtHLAGM::EulerAngles::SetPsi ( float  psi  ) 

Sets the value of the psi field.

Parameters:
psi the value of the psi field

float dtHLAGM::EulerAngles::GetPsi (  )  const

Returns the value of the psi field.

Returns:
the value of the psi field

void dtHLAGM::EulerAngles::SetTheta ( float  theta  ) 

Sets the value of the theta field.

Parameters:
theta the value of the theta field

float dtHLAGM::EulerAngles::GetTheta (  )  const

Returns the value of the theta field.

Returns:
the value of the theta field

void dtHLAGM::EulerAngles::SetPhi ( float  phi  ) 

Sets the value of the phi field.

Parameters:
phi the value of the phi field

float dtHLAGM::EulerAngles::GetPhi (  )  const

Returns the value of the phi field.

Returns:
the value of the phi field


http://www.delta3d.org
2.0.0 generated 14 Feb 2008