libalmath
1.12
|
00001 /* 00002 ** Author(s): 00003 ** - Chris Kilner 00004 ** - Cyrille Collette 00005 ** - David Gouaillier 00006 ** 00007 ** Copyright (C) 2011 Aldebaran Robotics 00008 */ 00009 00010 00011 #pragma once 00012 #ifndef _LIBALMATH_ALMATH_TYPES_ALAXISMASK_H_ 00013 #define _LIBALMATH_ALMATH_TYPES_ALAXISMASK_H_ 00014 00015 #include <bitset> 00016 00017 namespace AL { 00018 namespace Math { 00019 00037 typedef std::bitset<6> AXIS_MASK; 00038 00039 static const int AXIS_MASK_X = 1; 00040 static const int AXIS_MASK_Y = 2; 00041 static const int AXIS_MASK_XY = 3; 00042 static const int AXIS_MASK_Z = 4; 00043 static const int AXIS_MASK_WX = 8; 00044 static const int AXIS_MASK_WY = 16; 00045 static const int AXIS_MASK_WZ = 32; 00046 static const int AXIS_MASK_WYWZ = 48; 00047 static const int AXIS_MASK_ALL = 63; 00048 static const int AXIS_MASK_VEL = 7; 00049 static const int AXIS_MASK_ROT = 56; 00050 static const int AXIS_MASK_NONE = 0; 00051 } 00052 } 00053 #endif // _LIBALMATH_ALMATH_TYPES_ALAXISMASK_H_