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 |
|
---|
14 | class RaDec;
|
---|
15 |
|
---|
16 | class TGMenuBar;
|
---|
17 | class TGPopupMenu;
|
---|
18 | class TGTextEntry;
|
---|
19 |
|
---|
20 | class MGImage;
|
---|
21 | class MGCoordinates;
|
---|
22 |
|
---|
23 | class StarCatalog;
|
---|
24 |
|
---|
25 | class MGStarguider : public Camera, public TGMainFrame
|
---|
26 | {
|
---|
27 | private:
|
---|
28 | MGList *fList;
|
---|
29 |
|
---|
30 | TGMenuBar *fMenu;
|
---|
31 | MGImage *fImage;
|
---|
32 |
|
---|
33 | TGPopupMenu *fDisplay;
|
---|
34 | TGPopupMenu *fWrite;
|
---|
35 | TGPopupMenu *fFileType;
|
---|
36 | TGPopupMenu *fWriteType;
|
---|
37 | TGPopupMenu *fWriteRate;
|
---|
38 | TGPopupMenu *fSetup;
|
---|
39 | TGPopupMenu *fLimMag;
|
---|
40 |
|
---|
41 | MGCoordinates *fCRaDec;
|
---|
42 | MGCoordinates *fCZdAz;
|
---|
43 |
|
---|
44 | TGTextEntry *fPixSize;
|
---|
45 |
|
---|
46 | StarCatalog *fSao;
|
---|
47 |
|
---|
48 | RaDec *fRaDec;
|
---|
49 |
|
---|
50 | int fWrtRate;
|
---|
51 |
|
---|
52 | void SetPixSize(const double pixsize);
|
---|
53 | void Toggle(TGPopupMenu *p, UInt_t id);
|
---|
54 | void GetCoordinates();
|
---|
55 |
|
---|
56 | public:
|
---|
57 | MGStarguider();
|
---|
58 | virtual ~MGStarguider();
|
---|
59 |
|
---|
60 | //void Update();
|
---|
61 |
|
---|
62 | void Layout();
|
---|
63 | void CloseWindow();
|
---|
64 |
|
---|
65 | Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
|
---|
66 |
|
---|
67 | //
|
---|
68 | // Execution of one frame - this function may be overloaded!
|
---|
69 | //
|
---|
70 | void ProcessFrame(const unsigned long n, byte *img, struct timeval *tm);
|
---|
71 |
|
---|
72 | ClassDef(MGStarguider, 0)
|
---|
73 | };
|
---|
74 |
|
---|
75 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.