source: Sophya/trunk/SophyaPI/PI/pistlist.h@ 52

Last change on this file since 52 was 52, checked in by ansari, 28 years ago

Nouvelles fonctionalites pour le PIBaseWdg (non implemente mac)
Classe PIDrawer, traceur en coordonnes user, pouvant etre attaches a
tout PIBaseWdg. Optimisation trace (Backing-store en X, Trace de
zones a rafraichir pour les ScDrawer, ...)
Nouveau classe de trace de points a partir de NTuples
Reza 08/08/97

File size: 1.2 KB
RevLine 
[37]1#ifndef PISTLIST_H
2#define PISTLIST_H
3
[52]4#include "stlist.h"
[37]5#include "piscdrawwdg.h"
6
7class PIStarList : public PIScDrawer {
8public:
[52]9 PIStarList(StarList* stl, bool ad, int ayud=kAxeDirUpDown);
[37]10 virtual ~PIStarList();
11
[52]12 virtual void Draw(double xmin, double ymin, double xmax, double ymax);
13 virtual void UpdateSize();
[37]14
15 void SetFluxLimits(float min=1., float max=-1., int nl=5,
16 int msz0=0, bool refr=false);
17 void SetXYLimits(float xmin=1., float xmax=-1., float ymin=1., float ymax=-1.,
18 bool dfv=false, bool refr=false);
19
20 inline StarList* StList() { return(mStL); }
21 inline float XMin() { return(mXMin); }
22 inline float XMax() { return(mXMax); }
23 inline float YMin() { return(mYMin); }
24 inline float YMax() { return(mYMax); }
25 inline float FluxMin() { return(mFmin); }
26 inline float FluxMax() { return(mFmax); }
27
28protected:
29 StarList* mStL;
30 float mFmin, mFmax;
31 int mNLev, mMSz0;
32 double mF0, mDLgF;
33 float mXMin, mXMax;
34 float mYMin, mYMax;
35 bool mDspFV;
[52]36 int mAYdir;
[37]37
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.