00001 #ifndef VHistogram_h 00002 #define VHistogram_h 00003 00004 #include <vector> 00005 using namespace std; 00006 00010 class VHistogram 00011 { 00013 int * hist; 00015 int length; 00016 int width; 00017 int height; 00018 int x; 00019 int y; 00021 vector<int> clamped_hist; 00023 int peak; 00024 public: 00033 VHistogram(int *,int,int,int,int,int); 00034 ~VHistogram(void); 00035 void draw(); 00036 }; 00037 00038 #endif