| 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 MGEMBEDDEDCANVAS_H
|
|---|
| 11 | #include "MGEmbeddedCanvas.h"
|
|---|
| 12 | #endif
|
|---|
| 13 |
|
|---|
| 14 | class TList;
|
|---|
| 15 | class TText;
|
|---|
| 16 | class TArrow;
|
|---|
| 17 | class TCanvas;
|
|---|
| 18 |
|
|---|
| 19 | class XY;
|
|---|
| 20 | class ZdAz;
|
|---|
| 21 | class SlaPlanets;
|
|---|
| 22 |
|
|---|
| 23 | class 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 |
|
|---|
| 48 | public:
|
|---|
| 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.