source: Sophya/trunk/SophyaPI/PIext/pi2dvec.h@ 3559

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

GetDistanceToPoint cmv 17/03/04

File size: 1.1 KB
Line 
1// This may look like C code, but it is really -*- C++ -*-
2// Classe PI2dVecDrawer : trace de flow chart
3// (c) DAPNIA (CEA) LAL (IN2P3/CNRS)
4// R. Ansari O.Perdereau 01/2002
5//
6//=========================================================//
7
8#ifndef PI2DVEC_H_SEEN
9#define PI2DVEC_H_SEEN
10#include "pistdimgapp.h"
11#include "piscdrawwdg.h"
12#include "ntupintf.h"
13
14class PI2dVecDrawer : public PIDrawer{
15public:
16
17 PI2dVecDrawer(NTupleInterface* nti,bool autodel);
18 virtual ~PI2dVecDrawer();
19 virtual void Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax);
20 virtual void UpdateLimits();
21 virtual int SelectXY(const char* px, const char* py);
22 virtual int SelectVW(const char* px, const char* py);
23
24// Renvoie une distance au point x,y
25 virtual double GetDistanceToPoint(double x, double y);
26
27protected:
28 bool _autodel;
29 NTupleInterface* _nti;
30
31 int xK, yK; // Index du nom de variable en X/Y ds le ntuple
32 int vK, wK; // Index du nom de variable des longueurs des vecteurs ds le ntuple
33
34};
35
36//
37//
38//
39
40#endif
Note: See TracBrowser for help on using the repository browser.