source: trunk/MagicSoft/Cosy/gui/MGStarguider.h@ 1621

Last change on this file since 1621 was 1531, checked in by tbretz, 22 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 1.5 KB
Line 
1#ifndef MGSTARGUIDER_H
2#define MGSTARGUIDER_H
3
4#ifndef ROOT_TGFrame
5#include <TGFrame.h>
6#endif
7#ifndef CAMERA_H
8#include "Camera.h"
9#endif
10
11#include "MGList.h"
12#include "MGImage.h"
13
14class AltAz;
15class RaDec;
16
17class TGMenuBar;
18class TGPopupMenu;
19class TGTextEntry;
20
21class MGImage;
22class MGCoordinates;
23
24class StarCatalog;
25class MStarList;
26
27class MGStarguider : public Camera, public TGMainFrame
28{
29private:
30 MGList *fList;
31
32 TGMenuBar *fMenu;
33 MGImage *fImage;
34 MGImage *fZoomImage;
35
36 TGPopupMenu *fDisplay;
37 TGPopupMenu *fWrite;
38 TGPopupMenu *fFileType;
39 TGPopupMenu *fWriteType;
40 TGPopupMenu *fWriteRate;
41 TGPopupMenu *fInterpol;
42 TGPopupMenu *fSetup;
43 TGPopupMenu *fLimMag;
44
45 MGCoordinates *fCRaDec;
46 MGCoordinates *fCZdAz;
47
48 TGTextEntry *fPixSize;
49
50 StarCatalog *fSao;
51
52 RaDec *fRaDec;
53
54 Int_t fDx;
55 Int_t fDy;
56
57 int fIntRate;
58 int fWrtRate;
59
60 void SetPixSize(const double pixsize);
61 void Toggle(TGPopupMenu *p, UInt_t id);
62 void GetCoordinates();
63 void CalcTrackingError(MStarList &, MStarList &);
64
65public:
66 MGStarguider();
67 virtual ~MGStarguider();
68
69 //void Update();
70
71 void Layout();
72 void CloseWindow();
73
74 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
75 Bool_t HandleDoubleClick(Event_t *event);
76
77 //
78 // Execution of one frame - this function may be overloaded!
79 //
80 void ProcessFrame(const unsigned long n, byte *img, struct timeval *tm);
81
82 ClassDef(MGStarguider, 0)
83};
84
85#endif
Note: See TracBrowser for help on using the repository browser.