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