FeatherPlotWidgetSlice.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
00020
00021
00022
00023
00024
00025
00026 #ifndef FEATHERPLOTWIDGETSLICE_H_
00027 #define FEATHERPLOTWIDGETSLICE_H_
00028
00029 #include <guitools/Feather/FeatherPlotWidget.qo.h>
00030
00031 namespace casa {
00032
00037 class FeatherPlotWidgetSlice : public FeatherPlotWidget {
00038 public:
00039 typedef FeatherCurveType::CurveType CurveType;
00040 typedef FeatherDataType::DataType DataType;
00041 FeatherPlotWidgetSlice(const QString& title, FeatherPlot::PlotType plotType, QWidget *parent = 0);
00042 virtual ~FeatherPlotWidgetSlice();
00043 virtual void addZoomNeutralCurves();
00044
00045 protected:
00046 virtual void resetColors();
00047 virtual void addSumData();
00048 virtual void zoomRectangleOther( double minX, double maxX, double minY, double maxY );
00049 virtual void zoom90Other( double dishPosition );
00050
00051 private:
00052 void zoom90( double dishPosition, CurveType cType, DataType dType );
00053 void zoomRect( double minX, double maxX, CurveType cType, DataType dType );
00054 void addSumData( bool logScale );
00055
00056 void addDisplayedPlotCurve( FeatherCurveType::CurveType curveType,
00057 FeatherDataType::DataType dataType );
00058
00059 };
00060
00061 }
00062 #endif