![]() |
Eigen-unsupported
3.4.90 (git rev 67eeba6e720c5745abc77ae6c92ce0a44aa7b7ae)
|
Represents a fixed Euler rotation system.
This meta-class goal is to represent the Euler system in compilation time, for EulerAngles.
You can use this class to get two things:
Euler rotation is a set of three rotation on fixed axes. (see EulerAngles) This meta-class store constantly those signed axes. (see EulerAxis)
All and only valid 3 dimension Euler rotation over standard signed axes{+X,+Y,+Z,-X,-Y,-Z} are supported:
Since EulerSystem support both positive and negative directions, you may call this rotation distinction in other names:
Notice all axed combination are valid, and would trigger a static assertion. Same unsigned axes can't be neighbors, e.g. {X,X,Y} is invalid. This yield two and only two classes:
Only intrinsic Euler systems are supported for simplicity. If you want to use extrinsic Euler systems, just use the equal intrinsic opposite order for axes and angles. I.e axes (A,B,C) becomes (C,B,A), and angles (a,b,c) becomes (c,b,a).
Convenient typedefs for EulerSystem exist (only for positive axes Euler systems), in a form of EulerSystem{A}{B}{C}, e.g. EulerSystemXYZ.
More information about Euler angles: https://en.wikipedia.org/wiki/Euler_angles
_AlphaAxis | the first fixed EulerAxis |
_BetaAxis | the second fixed EulerAxis |
_GammaAxis | the third fixed EulerAxis |
Public Types | |
enum | { AlphaAxisAbs , BetaAxisAbs , GammaAxisAbs , IsAlphaOpposite , IsBetaOpposite , IsGammaOpposite , IsOdd , IsEven , IsTaitBryan } |
Static Public Attributes | |
static constexpr int | AlphaAxis |
static constexpr int | BetaAxis |
static constexpr int | GammaAxis |
anonymous enum |
|
staticconstexpr |
The first rotation axis
|
staticconstexpr |
The second rotation axis
|
staticconstexpr |
The third rotation axis