source: trunk/MagicSoft/Cosy/gui/MGVelocity.h@ 9223

Last change on this file since 9223 was 4076, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 945 bytes
Line 
1#ifndef MGVELOCITY_H
2#define MGVELOCITY_H
3
4//
5// This File contains the declaration of the MGCoordinates-class
6//
7// Author: Thomas Bretz
8// Version: V1.0 (1-8-2000)
9
10#ifndef COSY_MGEmbeddedCanvas
11#include "MGEmbeddedCanvas.h"
12#endif
13
14class TList;
15class TText;
16class TArrow;
17class TCanvas;
18
19class XY;
20class ZdAz;
21class SlaPlanets;
22
23class MGVelocity : public MGEmbeddedCanvas
24{
25 TArrow *fArrow;
26
27 TArrow *fArrowX;
28 TArrow *fArrowY;
29
30 TArrow *fArrowAvg;
31
32 TText *fText;
33// TText *fTextVel;
34
35 XY *fOld;
36 XY *fAvg;
37 Char_t fPos;
38
39 Float_t fScale;
40
41 Bool_t UpdateAvg(const float x, const float y);
42
43 void InitVelocity();
44 void DrawCoordinateSystem();
45 void UpdateText();
46 //void UpdateVelText(Float_t x, Float_t y);
47
48public:
49 MGVelocity(const TGWindow* p, const char *name, const UInt_t w);
50 ~MGVelocity();
51
52 void Update(ZdAz &pos);
53
54 ClassDef(MGVelocity, 0)
55};
56
57#endif // MGSKYPOSITION_H
Note: See TracBrowser for help on using the repository browser.