Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Related Pages  

AnimThread.h

00001 /* AnimThread.h
00002  * Last modified:
00003  * Authors: Daniel Venkitachalam <venki-d@ee.uwa.edu.au>
00004  *          Leon Koch <leon@redfishsoftware.com.au>
00005  */
00010 #ifndef ANIMTHREAD_H
00011 #define ANIMTHREAD_H
00012 
00013 #ifdef HAVE_CONFIG_H
00014 #include <config.h>
00015 #endif
00016 
00017 #include <sys/time.h>
00018 #include <time.h>
00019 
00020 // QT includes
00021 #include <qthread.h>
00022 #include <qapplication.h>
00023 
00024 #include "PixWidget.h"
00025 #include "imageSeq.h"
00026 #include "SrcWidget.h"
00027 
00028 // Number of samples to average for frames per second
00029 #define NUMPOINTS 4
00030 
00031 class AnimThread : public QThread
00032 {
00033         public:
00035                 void run();
00039                 void setFPS(int fps);
00043                 void setUnlimitedFPS(bool toggle);
00044 
00045         private:
00047                 int inv_fps;
00049                 bool unlimited;
00050 
00051 };
00052 
00053 #endif

Generated on Tue Apr 1 11:01:16 2003 for ImprovQT by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002