00001
00021 #ifndef __ARTOOLKITPLUS_HEADERFILE__
00022 #define __ARTOOLKITPLUS_HEADERFILE__
00023
00024 #include <vector>
00025
00026 #define ARTOOLKITPLUS_VERSION_MAJOR 2
00027 #define ARTOOLKITPLUS_VERSION_MINOR 2
00028
00029 namespace ARToolKitPlus {
00030
00031 enum PIXEL_FORMAT {
00032 PIXEL_FORMAT_ABGR = 1,
00033 PIXEL_FORMAT_BGRA = 2,
00034 PIXEL_FORMAT_BGR = 3,
00035 PIXEL_FORMAT_RGBA = 4,
00036 PIXEL_FORMAT_RGB = 5,
00037 PIXEL_FORMAT_RGB565 = 6,
00038 PIXEL_FORMAT_LUM = 7
00039 };
00040
00041 enum UNDIST_MODE {
00042 UNDIST_NONE, UNDIST_STD, UNDIST_LUT
00043 };
00044
00045 enum IMAGE_PROC_MODE {
00046 IMAGE_HALF_RES, IMAGE_FULL_RES
00047 };
00048
00049 enum HULL_TRACKING_MODE {
00050 HULL_OFF, HULL_FOUR, HULL_FULL
00051 };
00052
00053
00054 enum ARTKP_VERSION {
00055 VERSION_MAJOR = ARTOOLKITPLUS_VERSION_MAJOR, VERSION_MINOR = ARTOOLKITPLUS_VERSION_MINOR
00056 };
00057
00058 enum MARKER_MODE {
00059 MARKER_TEMPLATE, MARKER_ID_SIMPLE, MARKER_ID_BCH,
00060 };
00061
00062 enum POSE_ESTIMATOR {
00063 POSE_ESTIMATOR_ORIGINAL,
00064 POSE_ESTIMATOR_ORIGINAL_CONT,
00065 POSE_ESTIMATOR_RPP
00066 };
00067
00068 struct CornerPoint {
00069 CornerPoint() :
00070 x(0), y(0) {
00071 }
00072
00073 CornerPoint(int nX, int nY) :
00074 x(static_cast<short> (nX)), y(static_cast<short> (nY)) {
00075 }
00076
00077 short x, y;
00078 };
00079
00080 typedef std::vector<CornerPoint> CornerPoints;
00081
00082 }
00083
00084
00085 #endif //__ARTOOLKITPLUS_HEADERFILE__