Changeset 3125 in Sophya for trunk/SophyaPI/PIext/pihisto.h
- Timestamp:
- Jan 11, 2007, 7:02:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pihisto.h
r2523 r3125 1 1 // This may look like C code, but it is really -*- C++ -*- 2 2 // Classe traceur d histogramme 96-99 3 // C. Magneville / R. Ansari 2000-2007 3 4 // CEA-DAPNIA LAL-IN2P3/CNRS 5 4 6 #ifndef PIHISTO_H 5 7 #define PIHISTO_H 6 8 7 #include "histos.h"8 9 #include "pidrawer.h" 10 #include "phistwrapper.h" 11 9 12 10 13 class PIHisto : public PIDrawer { 11 14 public: 12 PIHisto( Histo* histo, bool ad=false);15 PIHisto(P1DHistoWrapper* histo, bool ad=true); 13 16 virtual ~PIHisto(); 14 17 virtual void Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax); … … 21 24 inline void SetError(short fg=0) {error=fg;} 22 25 inline void SetFilled(bool fg=false) {filled=fg;} 23 inline Histo* Histogram() {return(mHisto);}26 inline P1DHistoWrapper* HistoWrapper() {return(mHisto);} 24 27 25 28 // Methode de decodage des options … … 33 36 protected: 34 37 virtual void DrawStats(PIGraphicUC* g); 35 Histo*mHisto;38 P1DHistoWrapper* mHisto; 36 39 bool mAdDO; 37 40 bool stats,filled;
Note:
See TracChangeset
for help on using the changeset viewer.