Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
hrplib
hrpCollision
Opcode
Ice
IceAxes.h
Go to the documentation of this file.
1
8
11
// Include Guard
12
#ifndef __ICEAXES_H__
13
#define __ICEAXES_H__
14
15
enum
PointComponent
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
37
class
ICEMATHS_API
Axes
38
{
39
public
:
40
41
inline_
Axes
(
AxisOrder
order)
42
{
43
mAxis0 = (order ) & 3;
44
mAxis1 = (order>>2) & 3;
45
mAxis2 = (order>>4) & 3;
46
}
47
inline_
~Axes
() {}
48
49
udword
mAxis0
;
50
udword
mAxis1
;
51
udword
mAxis2
;
52
};
53
54
#endif // __ICEAXES_H__
PointComponent
PointComponent
Definition:
IceAxes.h:15
_Z
Definition:
IceAxes.h:19
_FORCE_DWORD
Definition:
IceAxes.h:22
Axes::~Axes
inline_ ~Axes()
Definition:
IceAxes.h:47
Axes
Definition:
IceAxes.h:37
AXES_YZX
Definition:
IceAxes.h:30
AxisOrder
AxisOrder
Definition:
IceAxes.h:25
inline_
#define inline_
Definition:
IcePreprocessor.h:103
ICEMATHS_API
#define ICEMATHS_API
Definition:
OPC_IceHook.h:51
_Y
Definition:
IceAxes.h:18
Axes::mAxis0
udword mAxis0
Definition:
IceAxes.h:49
udword
unsigned int udword
sizeof(udword) must be 4
Definition:
IceTypes.h:65
AXES_XYZ
Definition:
IceAxes.h:27
Axes::Axes
inline_ Axes(AxisOrder order)
Definition:
IceAxes.h:41
AXES_ZXY
Definition:
IceAxes.h:31
AXES_ZYX
Definition:
IceAxes.h:32
AXES_XZY
Definition:
IceAxes.h:28
AXES_YXZ
Definition:
IceAxes.h:29
AXES_FORCE_DWORD
Definition:
IceAxes.h:34
_X
Definition:
IceAxes.h:17
_W
Definition:
IceAxes.h:20
Axes::mAxis2
udword mAxis2
Definition:
IceAxes.h:51
Axes::mAxis1
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