/home/fwph/code/wurde/modules/eye/GuiControl.h

Go to the documentation of this file.
00001 #ifndef __GUICONTROL_H__
00002 #define __GUICONTROL_H__
00003 
00004 #include <CommsManager.H>
00005 #include <Logger.H>
00006 #include <opencv/cv.h>
00007 #include <opencv/highgui.h>
00008 #include <stdio.h>
00009 #include <stdlib.h>
00010 #include <PTUnit.H>
00011 #include <signal.h>
00012 #include <FL/Fl_Bitmap.H>
00013 #include "FL/Fl_BMP_Image.H"
00014 
00015 class GUI;
00016 
00017 #define sfree(obj) if(obj) { delete obj; obj = NULL; }
00018 #define sfreea(obj) if(obj) { delete[] obj; obj = NULL; }
00019 
00020 
00021 class GuiControl {
00022 public:
00023   GuiControl();
00024   ~GuiControl();
00025   void Tick(double pDTime);
00026   void SetUI(GUI *pGui) { mGui = pGui; }
00027   void PTUKeyPressed(int pKey);
00028 private:
00029 
00030   void getImage();  
00031 
00032   bool gotInfo;
00033   GUI *mGui;
00034   Fl_RGB_Image *mImage,*oldImage;
00035 
00036 };
00037 
00038 #endif

Generated on Thu Feb 1 15:31:52 2007 for WURDE by  doxygen 1.5.1