|
Last change
on this file since 1991 was 1971, checked in by ansari, 24 years ago |
|
1/ Basculement de decodage des options de display aux methodes
PIDrawer/PIWdg::DecodeOptionString()
2/ Possibilite de Show/Hide de la partie Zoom/ColorMap/Stat du MainWindow
Reza 30/4/2002
|
|
File size:
889 bytes
|
| Line | |
|---|
| 1 | // This may look like C code, but it is really -*- C++ -*-
|
|---|
| 2 | // Classe traceur d histogramme 96-99
|
|---|
| 3 | // CEA-DAPNIA LAL-IN2P3/CNRS
|
|---|
| 4 | #ifndef PIHISTO_H
|
|---|
| 5 | #define PIHISTO_H
|
|---|
| 6 |
|
|---|
| 7 | #include "histos.h"
|
|---|
| 8 | #include "pidrawer.h"
|
|---|
| 9 |
|
|---|
| 10 | class PIHisto : public PIDrawer {
|
|---|
| 11 | public:
|
|---|
| 12 | PIHisto(Histo* histo, bool ad=false);
|
|---|
| 13 | virtual ~PIHisto();
|
|---|
| 14 | virtual void Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax);
|
|---|
| 15 | virtual void UpdateLimits();
|
|---|
| 16 | inline void SetStats(bool fg=true) { stats = fg; }
|
|---|
| 17 | inline Histo* Histogram() { return(mHisto); }
|
|---|
| 18 |
|
|---|
| 19 | // Methode de decodage des options
|
|---|
| 20 | virtual int DecodeOptionString(vector<string> & opt, bool rmdecopt=true);
|
|---|
| 21 |
|
|---|
| 22 | protected:
|
|---|
| 23 | virtual void DrawStats(PIGraphicUC* g);
|
|---|
| 24 | Histo* mHisto;
|
|---|
| 25 | bool mAdDO;
|
|---|
| 26 | bool stats; // true -> indication des stats d'histo
|
|---|
| 27 | };
|
|---|
| 28 |
|
|---|
| 29 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.