Hauptseite | Liste aller Namensbereiche | Klassenhierarchie | Alphabetische Liste | Übersicht | Auflistung der Dateien | Elemente eines Namensbereiches | Datenstruktur-Elemente | Datei-Elemente

polar.h

gehe zur Dokumentation dieser Datei
00001 #ifndef POLAROUTPUT_H
00002 #define POLAROUTPUT_H
00003 
00004 #include "output.h"
00005 #include "../recognition/searchradius.h"
00006 #include <opencv/cv.hpp>
00007 #include <iostream>
00008 
00009 extern "C"
00010 {
00011   #include <opencv/highgui.h>
00012 }
00013 
00014 using namespace std;
00015 
00016 namespace seemicro
00017 {
00018 
00019 class PolarOutput : public OutputModule
00020 {
00021   PolarModule& p;
00022 public:
00023   PolarOutput(PolarModule& Ap) : p(Ap)
00024   {
00025     if(1 != cvNamedWindow("Polar", 1))
00026     { cerr << "cvNamedWindow(Polar): error" << endl; exit(1); }
00027   }
00028 
00029   ~PolarOutput()
00030   {
00031     cvDestroyWindow("Polar");
00032   }
00033 
00034   void output(bool keyframe)
00035   {
00036     cvShowImage("Polar", p.img);
00037 //    cvResizeWindow("Polar", 200, 200);
00038   }
00039 
00040 }; // PolarOutput
00041 
00042 } // seemicro
00043 
00044 #endif
00045 

Erzeugt am Sun Oct 3 12:52:47 2004 für seemicro von doxygen 1.3.2