1 /** @file displayprojection.hpp
2 @package snark14Display
3 @author Bruno M. Carvalho and Deniz Sarioz
4 licensed under (open-source) QPL v1.0
5 which accompanies this distribution in the file QPL
8 #ifndef DISPLAYPROJECTION_H
9 #define DISPLAYPROJECTION_H
11 #include "variables.hpp"
12 #include "displaywidget.hpp"
28 class displayprojection : public QDialog
33 displayprojection( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, int x = 0, int y = 0 );
40 double lowthreshold,highthreshold;
44 displayWidget* displaywidget;
48 QPushButton* setzoombutton;
49 QRadioButton* globalthresholdbutton;
50 QRadioButton* differencebutton;
51 QRadioButton* intensitybutton;
52 QLabel* lowthreshlabel;
53 QSlider* lowthreshslider;
55 QPushButton* setlowthreshbutton;
56 QLabel* highthreshlabel;
57 QSlider* highthreshslider;
58 QLineEdit* highthresh;
59 QPushButton* sethighthreshbutton;
60 QLabel* pixelposlabel;
62 QLabel* pixelvaluelabel;
63 QLineEdit* pixelvalue;
64 QPushButton* profilebutton;
65 QPushButton* linesbutton;
66 QPushButton* savebutton;
67 QPushButton* closebutton;
70 void updateClickedPixel(int cx,int cy);
72 void updateZoomslider();
74 void updateLowthresh();
75 double getLowthresh();
76 void updateLowthreshslider();
77 void updateHighthresh();
78 double getHighthresh();
79 void updateHighthreshslider();
82 void resetImageRange();
87 #endif // DISPLAYPROJECTION_H