ARToolKitPlus.h
Go to the documentation of this file.
00001 /* ========================================================================
00002 * PROJECT: ARToolKitPlus
00003 * ========================================================================
00004 * This work is based on the original ARToolKit developed by
00005 *   Hirokazu Kato
00006 *   Mark Billinghurst
00007 *   HITLab, University of Washington, Seattle
00008 * http://www.hitl.washington.edu/artoolkit/
00009 *
00010 * Copyright of the derived and new portions of this work
00011 *     (C) 2006 Graz University of Technology
00012 *
00013 * This framework is free software; you can redistribute it and/or modify
00014 * it under the terms of the GNU General Public License as published by
00015 * the Free Software Foundation; either version 2 of the License, or
00016 * (at your option) any later version.
00017 *
00018 * This framework is distributed in the hope that it will be useful,
00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021 * GNU General Public License for more details.
00022 *
00023 * You should have received a copy of the GNU General Public License
00024 * along with this framework; if not, write to the Free Software
00025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00026 *
00027 * For further information please contact 
00028 *   Dieter Schmalstieg
00029 *   <schmalstieg@icg.tu-graz.ac.at>
00030 *   Graz University of Technology, 
00031 *   Institut for Computer Graphics and Vision,
00032 *   Inffeldgasse 16a, 8010 Graz, Austria.
00033 * ========================================================================
00034 ** @author   Daniel Wagner
00035 *
00036 * $Id: ARToolKitPlus.h 167 2006-05-18 17:00:58Z daniel $
00037 * @file
00038 * ======================================================================== */
00039 
00040 
00041 #ifndef __ARTOOLKITPLUS_HEADERFILE__
00042 #define __ARTOOLKITPLUS_HEADERFILE__
00043 
00044 
00045 #include <ARToolKitPlus/Logger.h>
00046 
00047 
00048 #ifdef ARTOOLKITPLUS_DLL
00049 #  ifdef ARTOOLKITPLUS_EXPORTS
00050 #    define ARTOOLKITPLUS_API __declspec(dllexport)
00051 #  else
00052 #    define ARTOOLKITPLUS_API __declspec(dllimport)
00053 #  endif // ARTOOLKITPLUS_EXPORTS
00054 #else
00055 #  define ARTOOLKITPLUS_API
00056 #endif // ARTOOLKITPLUS_DLL
00057 
00058 
00059 #define ARTOOLKITPLUS_VERSION_MAJOR 2
00060 #define ARTOOLKITPLUS_VERSION_MINOR 1
00061 
00062 
00063 namespace ARToolKitPlus
00064 {
00065 
00066 
00067 enum {
00068         DEF_CAMWIDTH = 320,
00069         DEF_CAMHEIGHT = 240
00070 };
00071 
00072 
00073 enum PIXEL_FORMAT {
00074         PIXEL_FORMAT_ABGR = 1,
00075         PIXEL_FORMAT_BGRA = 2,
00076         PIXEL_FORMAT_BGR = 3,
00077         PIXEL_FORMAT_RGBA = 4,
00078         PIXEL_FORMAT_RGB = 5,
00079         PIXEL_FORMAT_RGB565 = 6,
00080         PIXEL_FORMAT_LUM = 7
00081 };
00082 
00083 
00084 enum UNDIST_MODE {
00085         UNDIST_NONE = 1,
00086         UNDIST_STD = 2,
00087         UNDIST_LUT = 3
00088 };
00089 
00090 
00091 enum IMAGE_PROC_MODE {
00092         IMAGE_HALF_RES,
00093         IMAGE_FULL_RES
00094 };
00095 
00096 
00097 // ARToolKitPlus versioning
00098 //
00099 enum ARTKP_VERSION {
00100         VERSION_MAJOR = ARTOOLKITPLUS_VERSION_MAJOR,
00101         VERSION_MINOR = ARTOOLKITPLUS_VERSION_MINOR
00102 };
00103 
00104 
00105 //enum IDMARKER_MODE {
00106 //      IDMARKER_SIMPLE,
00107 //      IDMARKER_BCH
00108 //};
00109 
00110 enum MARKER_MODE {
00111         MARKER_TEMPLATE,
00112         MARKER_ID_SIMPLE,
00113         MARKER_ID_BCH,
00114         //MARKER_ID_BCH2                // upcomming, not implemented yet
00115 };
00116 
00117 enum POSE_ESTIMATOR {
00118         POSE_ESTIMATOR_ORIGINAL = 1,                    // original "normal" pose estimator
00119         POSE_ESTIMATOR_ORIGINAL_CONT = 2,               // original "cont" pose estimator
00120         POSE_ESTIMATOR_RPP = 3                                  // new "Robust Planar Pose" estimator
00121 };
00122 
00123 
00124 class TrackerSingleMarker;
00125 class MemoryManager;
00126 
00127 
00128 ARTOOLKITPLUS_API ARToolKitPlus::TrackerSingleMarker* createTrackerSingleMarker(int nWidth, int nHeight,
00129                                                                                                                                                                 int nMarkerSizeX, int nMarkerSizeY, int nMarkerSampleNum,
00130                                                                                                                                                                 ARToolKitPlus::PIXEL_FORMAT nPixelFormat = ARToolKitPlus::PIXEL_FORMAT_RGB);
00131 
00132 
00133 ARTOOLKITPLUS_API void setMemoryManager(MemoryManager* nManager);
00134 
00135 ARTOOLKITPLUS_API MemoryManager* getMemoryManager();
00136 
00137 
00138 }  // namespace ARToolKitPlus
00139 
00140 
00141 
00142 #endif //__ARTOOLKITPLUS_HEADERFILE__


v4r_artoolkitplus
Author(s): Markus Bader
autogenerated on Wed Aug 26 2015 16:41:52