Histogram.h

00001 
00002 
00013 #ifndef __HISTOGRAM___
00014 #define __HISTOGRAM___
00015 #pragma once
00016 
00017 
00018 #include <QColor>
00019 #include <QVector>
00020 #include <QImage>
00021 #include "globals.h"
00022 
00025 class Histogram : QObject
00026 {
00027         public:
00028                 Histogram(void);
00029                 ~Histogram(void);
00030                 QImage getHistogram();
00031                 void addValue(int density);
00032                 int getMax(void);
00033         private:
00034                 QVector<int> values;
00035                 QImage *img;
00036  
00037 };
00038 
00039 
00040 #endif

Generated on Wed Dec 7 14:42:11 2005 for VisUE by  doxygen 1.4.5