#include <distypes.h>
Public Member Functions | |
| VelocityVector (float x=0.0f, float y=0.0f, float z=0.0f) | |
| Constructor. | |
| VelocityVector (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 | SetX (float x) |
| Sets the value of the x field. | |
| float | GetX () const |
| Returns the value of the x field. | |
| void | SetY (float y) |
| Sets the value of the y field. | |
| float | GetY () const |
| Returns the value of the y field. | |
| void | SetZ (float z) |
| Sets the value of the z field. | |
| float | GetZ () const |
| Returns the value of the z field. | |
| dtHLAGM::VelocityVector::VelocityVector | ( | float | x = 0.0f, |
|
| float | y = 0.0f, |
|||
| float | z = 0.0f | |||
| ) |
Constructor.
| x | the value of the x field | |
| y | the value of the y field | |
| z | the value of the z field |
| dtHLAGM::VelocityVector::VelocityVector | ( | const osg::Vec3f & | copyVec | ) | [inline] |
Allow the superclass copy constructor.
| size_t dtHLAGM::VelocityVector::EncodedLength | ( | ) | const |
Returns the encoded length of this object.
| void dtHLAGM::VelocityVector::Encode | ( | char * | buf | ) | const |
Encodes this object into the specified buffer.
| buf | the buffer to contain the encoded object |
| void dtHLAGM::VelocityVector::Decode | ( | const char * | buf | ) |
Decodes the values contained in the specified buffer.
| buf | the buffer containing the encoded object |
| void dtHLAGM::VelocityVector::SetX | ( | float | newX | ) |
Sets the value of the x field.
| psi | the value of the x field |
| float dtHLAGM::VelocityVector::GetX | ( | ) | const |
Returns the value of the x field.
| void dtHLAGM::VelocityVector::SetY | ( | float | newY | ) |
Sets the value of the y field.
| theta | the value of the y field |
| float dtHLAGM::VelocityVector::GetY | ( | ) | const |
Returns the value of the y field.
| void dtHLAGM::VelocityVector::SetZ | ( | float | newZ | ) |
Sets the value of the z field.
| phi | the value of the z field |
| float dtHLAGM::VelocityVector::GetZ | ( | ) | const |
Returns the value of the z field.