TrackerMultiMarker.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: TrackerMultiMarker.h 164 2006-05-02 11:29:10Z daniel $
00037 * @file
00038 * ======================================================================== */
00039 
00040 
00041 #ifndef __TRACKERMULTIMARKER_HEADERFILE__
00042 #define __TRACKERMULTIMARKER_HEADERFILE__
00043 
00044 
00045 #include <ARToolKitPlus/Tracker.h>
00046 #include <ARToolKitPlus/Logger.h>
00047 
00048 
00049 namespace ARToolKitPlus
00050 {
00051 
00052 
00054 
00058 class TrackerMultiMarker : public Tracker
00059 {
00060 public:
00061         virtual ~TrackerMultiMarker()
00062         {}
00063 
00066 
00071         virtual bool init(const char* nCamParamFile, const char* nMultiFile, ARFloat nNearClip, ARFloat nFarClip,
00072                                           ARToolKitPlus::Logger* nLogger=NULL) = 0;
00073     virtual bool init(Camera* camerae, const char* nMultiFile, ARFloat nNearClip, ARFloat nFarClip,
00074                       ARToolKitPlus::Logger* nLogger=NULL) = 0;
00075 
00077 
00080         virtual int calc(const unsigned char* nImage) = 0;
00081 
00083         virtual int getNumDetectedMarkers() const = 0;
00084 
00086 
00091         virtual void setUseDetectLite(bool nEnable) = 0;
00092 
00094 
00097         virtual void getDetectedMarkers(int*& nMarkerIDs) = 0;
00098 
00100         virtual const ARMarkerInfo& getDetectedMarker(int nWhich) const = 0;
00101 
00103 
00107         virtual const ARMultiMarkerInfoT* getMultiMarkerConfig() const = 0;
00108 
00109 
00111 
00117         virtual void getARMatrix(ARFloat nMatrix[3][4]) const = 0;
00118 };
00119 
00120 
00121 };      // namespace ARToolKitPlus
00122 
00123 
00124 #endif //__TRACKERMULTIMARKER_HEADERFILE__


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