IceAxes.h
Go to the documentation of this file.
1 
8 
11 // Include Guard
12 #ifndef __ICEAXES_H__
13 #define __ICEAXES_H__
14 
16  {
17  _X = 0,
18  _Y = 1,
19  _Z = 2,
20  _W = 3,
21 
22  _FORCE_DWORD = 0x7fffffff
23  };
24 
25  enum AxisOrder
26  {
27  AXES_XYZ = (_X)|(_Y<<2)|(_Z<<4),
28  AXES_XZY = (_X)|(_Z<<2)|(_Y<<4),
29  AXES_YXZ = (_Y)|(_X<<2)|(_Z<<4),
30  AXES_YZX = (_Y)|(_Z<<2)|(_X<<4),
31  AXES_ZXY = (_Z)|(_X<<2)|(_Y<<4),
32  AXES_ZYX = (_Z)|(_Y<<2)|(_X<<4),
33 
34  AXES_FORCE_DWORD = 0x7fffffff
35  };
36 
38  {
39  public:
40 
42  {
43  mAxis0 = (order ) & 3;
44  mAxis1 = (order>>2) & 3;
45  mAxis2 = (order>>4) & 3;
46  }
48 
52  };
53 
54 #endif // __ICEAXES_H__
PointComponent
Definition: IceAxes.h:15
Definition: IceAxes.h:19
inline_ ~Axes()
Definition: IceAxes.h:47
Definition: IceAxes.h:37
AxisOrder
Definition: IceAxes.h:25
#define inline_
#define ICEMATHS_API
Definition: OPC_IceHook.h:51
Definition: IceAxes.h:18
udword mAxis0
Definition: IceAxes.h:49
unsigned int udword
sizeof(udword) must be 4
Definition: IceTypes.h:65
inline_ Axes(AxisOrder order)
Definition: IceAxes.h:41
Definition: IceAxes.h:17
Definition: IceAxes.h:20
udword mAxis2
Definition: IceAxes.h:51
udword mAxis1
Definition: IceAxes.h:50


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:38