Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4ASImage.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef TGO4ASIMAGE_H
00017 #define TGO4ASIMAGE_H
00018 
00019 class TH2;
00020 class TPad;
00021 class TGo4ViewPanel;
00022 
00023 #ifdef __GO4ASI__
00024 
00025 #include "TASImage.h"
00026 
00034 class TGo4ASImage : public TASImage {
00035    public:
00036       TGo4ASImage();
00037       virtual ~TGo4ASImage();
00038 
00039       void SetHistogramContent(TH2* histo);
00040 
00041       void SetDrawData(TH2* histo, TGo4ViewPanel* panel, TPad* pad);
00042 
00043       void SetSelectedRange(double rxmin, double rxmax, double rymin, double rymax);
00044 
00045       virtual void Zoom(UInt_t offX, UInt_t offY, UInt_t width, UInt_t height); //*MENU*
00046 
00047       virtual void UnZoom(); //*MENU*
00048 
00050       void ClosePaletteEditor();
00051 
00052       // old code
00053       TGo4ASImage(TH2*) {}
00054 
00055       TH2* GetHistogram() const { return 0; }
00056 
00058       void SetHistogramRanges(TH2*) {}
00059 
00061       void SetZoom(TH2*) {}
00062 
00063    private:
00064 
00065       TGo4ViewPanel* fxPanel; 
00066 
00067       TPad*         fxPad;   
00068 
00069       double        fxMinX;  
00070       double        fxMaxX;  
00071       double        fxMinY;  
00072       double        fxMaxY;  
00073 
00074 };
00075 
00076 #else
00077 
00078 // give a dummy for the Qt Slots!
00079 #include "TObject.h"
00080 
00081 class TGo4ASImage : public TObject {
00082    public:
00083       TGo4ASImage() {}
00084       virtual ~TGo4ASImage() {}
00085 
00086       void SetHistogramContent(TH2*) {}
00087 
00088       void SetDrawData(TH2*, TGo4ViewPanel*, TPad*) {}
00089 
00090       void SetSelectedRange(double, double, double, double) {}
00091 };
00092 
00093 #endif // ASImage disable switch
00094 
00095 #endif //TGO4ASIMAGE_H
00096 
00097 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:20 2008 for Go4-v3.04-1 by  doxygen 1.4.2