BiasValImage.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef BIASVALIMAGE_h
00020 #define BIASVALIMAGE_h
00021 #include <qwidget.h>
00022 #include <qspinbox.h>
00023 #include "Qt/ImageCanvas.h"
00024 #include "Channels/ComplexChannel.H"
00025 #include "Channels/SingleChannel.H"
00026 #include "Image/MathOps.H"
00027 #include "Image/ColorOps.H"
00028
00029
00030 class BiasValImage : public QWidget {
00031 Q_OBJECT
00032
00033 public:
00034 BiasValImage(ComplexChannel& cc, SingleChannel &sc, int submap, QWidget *parent);
00035 ~BiasValImage() {}
00036
00037 signals:
00038 void updateOutput();
00039
00040 public slots:
00041 void updateValues();
00042 void setShowRaw(bool val);
00043 void setResizeToSLevel(bool val);
00044
00045 private slots:
00046 void updateBias(int val);
00047
00048 private:
00049 ComplexChannel& itsCC;
00050 SingleChannel &itsSC;
00051 int itsSubmap;
00052 ImageCanvas *itsSubmapDisp;
00053 QSpinBox *itsBiasVal;
00054 bool itsShowRaw;
00055 bool itsResizeToSLevel;
00056
00057 };
00058
00059 #endif
00060