![]() |
Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents a cartesian axis direction. More...
#include <omGraphicsGUIAxis.h>
Public Types | |
| enum | Enum { X = 0, Y = 1, Z = 2, W = 3 } |
| An enum that specifies the different standard axes. More... | |
Public Member Functions | |
| Axis (Enum newAxis) | |
| Create a new orientation using the specified axis type enum value. More... | |
| Index | getIndex () const |
| Convert this axis to its index (0 = X, 1 = Y, 2 = Z). More... | |
| operator Enum () const | |
| Convert this axis to an enum value. More... | |
| String | toString () const |
| Return a string representation of the axis. More... | |
| operator String () const | |
| Convert this axis into a string representation. More... | |
A class that represents a cartesian axis direction.
This class can be used to specify how certain GUI elements are rotated, allowing them to specify an orientation aligned with a given axis.
|
inline |
Create a new orientation using the specified axis type enum value.
|
inline |
Convert this axis to its index (0 = X, 1 = Y, 2 = Z).
|
inline |
Convert this axis to an enum value.
| String om::graphics::gui::base::Axis::toString | ( | ) | const |
Return a string representation of the axis.
|
inline |
Convert this axis into a string representation.
1.8.11