source: Sophya/trunk/SophyaPI/PIext/pistlist.h@ 4018

Last change on this file since 4018 was 344, checked in by ercodmgr, 26 years ago

1/ Extension de fonctionalites de gestion de repertoires (Lock, ...)
2/ Plus de NTupIntf_Adapter quand les objets heritent de NTupleInterface
3/ Support pour affichage info texte, ds PINtuple et PIStarList

File size: 865 bytes
Line 
1#ifndef PISTLIST_H
2#define PISTLIST_H
3
4#include "stlist.h"
5#include "pidrawer.h"
6
7class PIStarList : public PIDrawer {
8public:
9 PIStarList(StarList* stl, bool ad);
10 virtual ~PIStarList();
11
12 virtual void Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax);
13 virtual void UpdateLimits();
14
15 virtual void AppendTextInfo(string& info, double xmin, double ymin, double xmax, double ymax);
16
17 void SetFluxLimits(float min=1., float max=-1., int nl=5, bool dispflx=false, bool refr=false);
18
19 inline StarList* StList() { return(mStL); }
20 inline float FluxMin() { return(mFmin); }
21 inline float FluxMax() { return(mFmax); }
22
23protected:
24 StarList* mStL;
25 bool mAdDO;
26 float mFmin, mFmax;
27 int mNLev;
28 double mF0, mDLgF;
29 bool mDspFV;
30};
31
32#endif
Note: See TracBrowser for help on using the repository browser.