Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4GUI/TGo4ASImage.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE 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 #ifdef __GO4USEASIMAGE__
00020 
00021 #include "TASImage.h"
00022 
00023 class TH2;
00024 
00032 class TGo4ASImage : public TASImage {
00033 
00034 public:
00035 
00036 
00037    TGo4ASImage (TH2* histogram);
00038    TGo4ASImage (): fxHistogram(0) {};
00039 
00040    virtual ~TGo4ASImage();
00041 
00042    TH2* GetHistogram(){return fxHistogram;}
00043 
00045    void SetHistogramRanges(TH2* histo);
00046 
00048    void SetZoom(TH2* histo);
00049 
00050 
00052    void ClosePaletteEditor();
00053 
00054 private:
00055 
00056    /* backpointer to data source histogram */
00057    TH2* fxHistogram;
00058 
00059 
00060 ClassDef(TGo4ASImage,1)
00061 };
00062 #else
00063 // give a dummy for the Qt Slots!
00064 #include "TObject.h"
00065 class TGo4ASImage : public TObject 
00066 {
00067     TGo4ASImage (){}
00068     virtual ~TGo4ASImage(){}
00069 ClassDef(TGo4ASImage,1)
00070 };
00071 
00072 ClassImp(TGo4ASImage)
00073 #endif // ASImage disable switch
00074 #endif //TGO4ASIMAGE_H
00075 
00076 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:55:59 2005 for Go4-v2.10-5 by doxygen1.2.15