|
Atlas Sim Interface
1.0
|
The AtlasVec4f class is a light-weight 4 vector. More...
#include <AtlasVectorTypes.h>
The AtlasVec4f class is a light-weight 4 vector.
Public Member Functions | |
| AtlasVec4f () | |
| Default constructor. Vector values are uninitialized. | |
| AtlasVec4f (float initial_value) | |
| Constructor. All vector values initialized to passed value. | |
| AtlasVec4f (float x, float y, float z, float w) | |
| Constructor. Vector values initialized to passed values. | |
| float | x () |
| x value if vector is interpreted as position | |
| float | y () |
| y value of position | |
| float | z () |
| z value of position | |
| float | w () |
| w value of position | |
| void | set_x (float f) |
| set x value of position | |
| void | set_y (float f) |
| set y value of position | |
| void | set_z (float f) |
| set z value of position | |
| void | set_w (float f) |
| set w value of position | |
| float | rz () |
| z axis rotation if vector is interpreted as euler angle set | |
| float | rx () |
| x axis rotation of euler angle set | |
| float | ry () |
| y axis rotation of euler angle set | |
| void | set_rz (float f) |
| set z axis rotation of euler angle | |
| void | set_rx (float f) |
| set x axis rotation of euler angle | |
| void | set_ry (float f) |
| set y axis rotation of euler angle | |
| float | yaw () |
| z axis rotation if vector is interpreted as euler angle set | |
| float | roll () |
| x axis rotation of euler angle set | |
| float | pitch () |
| y axis rotation of euler angle set | |
| void | set_yaw (float f) |
| set z axis rotation of euler angle | |
| void | set_roll (float f) |
| set x axis rotation of euler angle | |
| void | set_pitch (float f) |
| set y axis rotation of euler angle | |
Public Attributes | |
| float | n [4] |
| Current vector values. Can be accessed directly or through accessor functions. | |
| AtlasVec4f::AtlasVec4f | ( | ) | [inline] |
Default constructor. Vector values are uninitialized.
| AtlasVec4f::AtlasVec4f | ( | float | initial_value | ) | [inline] |
Constructor. All vector values initialized to passed value.
| [in] | initial_value | - initial value of all vector values |
| AtlasVec4f::AtlasVec4f | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | w | ||
| ) | [inline] |
Constructor. Vector values initialized to passed values.
| [in] | x | - 1st vector value |
| [in] | y | - 2nd vector value |
| [in] | z | - 3rd vector value |
| [in] | w | - 4th vector value |
| float AtlasVec4f::x | ( | ) | [inline] |
x value if vector is interpreted as position
| float AtlasVec4f::y | ( | ) | [inline] |
y value of position
| float AtlasVec4f::z | ( | ) | [inline] |
z value of position
| float AtlasVec4f::w | ( | ) | [inline] |
w value of position
| void AtlasVec4f::set_x | ( | float | f | ) | [inline] |
set x value of position
| void AtlasVec4f::set_y | ( | float | f | ) | [inline] |
set y value of position
| void AtlasVec4f::set_z | ( | float | f | ) | [inline] |
set z value of position
| void AtlasVec4f::set_w | ( | float | f | ) | [inline] |
set w value of position
| float AtlasVec4f::rz | ( | ) | [inline] |
z axis rotation if vector is interpreted as euler angle set
| float AtlasVec4f::rx | ( | ) | [inline] |
x axis rotation of euler angle set
| float AtlasVec4f::ry | ( | ) | [inline] |
y axis rotation of euler angle set
| void AtlasVec4f::set_rz | ( | float | f | ) | [inline] |
set z axis rotation of euler angle
| void AtlasVec4f::set_rx | ( | float | f | ) | [inline] |
set x axis rotation of euler angle
| void AtlasVec4f::set_ry | ( | float | f | ) | [inline] |
set y axis rotation of euler angle
| float AtlasVec4f::yaw | ( | ) | [inline] |
z axis rotation if vector is interpreted as euler angle set
| float AtlasVec4f::roll | ( | ) | [inline] |
x axis rotation of euler angle set
| float AtlasVec4f::pitch | ( | ) | [inline] |
y axis rotation of euler angle set
| void AtlasVec4f::set_yaw | ( | float | f | ) | [inline] |
set z axis rotation of euler angle
| void AtlasVec4f::set_roll | ( | float | f | ) | [inline] |
set x axis rotation of euler angle
| void AtlasVec4f::set_pitch | ( | float | f | ) | [inline] |
set y axis rotation of euler angle
| float AtlasVec4f::n[4] |
Current vector values. Can be accessed directly or through accessor functions.
1.7.6.1