source: Sophya/trunk/SophyaPI/PIext/pigfd1.h@ 4042

Last change on this file since 4042 was 2517, checked in by cmv, 22 years ago

GetDistanceToPoint cmv 17/03/04

File size: 896 bytes
Line 
1// Cette classe est maintenant obsolete: generaldata <==> ntuple pour le dessin
2
3#ifndef PIGFD1_H
4#define PIGFD1_H
5
6#include "generaldata.h"
7#include "pidrawer.h"
8
9class PIGenFitDat : public PIDrawer {
10public:
11 PIGenFitDat(GeneralFitData* gfd, bool ad);
12 virtual ~PIGenFitDat();
13
14 virtual void Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax);
15 virtual void UpdateLimits();
16
17 void SelectX(int varx);
18 void SelectErrBar(bool erbx,bool erby);
19
20// Renvoie une distance au point x,y
21 virtual double GetDistanceToPoint(double x, double y);
22
23protected:
24 GeneralFitData* mGFD;
25 bool mAdDO;
26 int VarX; // numero de variable X ds le GeneralFitData
27 bool ErrX,ErrY; // Erreur en X et Y ?
28 long NptDraw; // nombre de points effectivement dessines dans la fenetre
29};
30
31#endif
32
Note: See TracBrowser for help on using the repository browser.