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