Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

MarkerDetector.h

Go to the documentation of this file.
00001 
00045 #ifndef _AMIRE_COMMON_MARKER_DETECTOR_H
00046 #define _AMIRE_COMMON_MARKER_DETECTOR_H
00047 
00048 #include <amire/common/Defines.h>
00049 #include <amire/common/Matrix.h>
00050 #include <amire/common/Marker.h>
00051 #include <amire/common/Image.h>
00052 
00053 namespace amire {
00054   namespace common {
00058     class AMIRE_EXPORT_API MarkerDetector : public virtual osg::Referenced {
00059     protected:
00060       osg::ref_ptr<Image> image;
00061 
00062     public:
00066       MarkerDetector(const osg::ref_ptr<Image> &image);
00067 
00068       virtual ~MarkerDetector();
00069 
00073       bool detect(const osg::ref_ptr<Marker> &marker, float *transformation);
00074 
00078       bool detect(const osg::ref_ptr<Marker> &marker, double *transformation);
00079 
00083       bool detect(const std::vector<osg::ref_ptr<Marker> > &markers, float *transformation, int &index);
00084 
00088       bool detect(const std::vector<osg::ref_ptr<Marker> > &markers, double *transformation, int &index);
00089 
00093       virtual bool detect(const osg::ref_ptr<Marker> &marker, float *transformation, float &confidenceFactor) = 0;
00094 
00098       virtual bool detect(const osg::ref_ptr<Marker> &marker, double *transformation, double &confidenceFactor) = 0;
00099 
00103       virtual bool detect(const std::vector<osg::ref_ptr<Marker> > &markers, float *transformation, int &index, float &confidenceFactor) = 0;
00104 
00108       virtual bool detect(const std::vector<osg::ref_ptr<Marker> > &markers, double *transformation, int &index, double &confidenceFactor) = 0;
00109     };
00110   }
00111 }
00112 
00113 #endif

Generated on Tue May 20 17:23:53 2003 for AMIRE-Framework by doxygen1.3