Class Context

Class Documentation

class Context

Describes the axis alignment of the coordinate system.

Public Functions

inline Context()

All axis set to None.

inline Context(const Context &other)

Copy constructor.

inline bool valid()

Returns true if all the axis are defined and orthogonal.

inline int axisId(enum Direction d)

Numerical representation for each axis Left/Right =1, Up/Down=2, Forward/Back = 3.

inline Context(Direction x, Direction y, Direction z)

Constuctor to define each axis.

inline Context Mobu()

X = Right, Y = Up, Z = Back.

inline Context Unreal()

X = Forward, Y = Right, Z = Up.

Public Members

enum Direction mX
enum Direction mY
enum Direction mZ