source: trunk/MagicSoft/Cosy/Starguider.h@ 1018

Last change on this file since 1018 was 909, checked in by tbretz, 23 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#ifndef STARGUIDER_H
2#define STARGUIDER_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#include "StarCatalog.h"
14
15class TGMenuBar;
16class TGPopupMenu;
17
18class MGImage;
19class MGCoordinates;
20
21class Starguider : public Camera, public TGMainFrame
22{
23private:
24 MGList fList;
25
26 TGMenuBar *fMenu;
27 MGImage *fImage;
28
29 TGPopupMenu *fDisplay;
30 TGPopupMenu *fWrite;
31 TGPopupMenu *fFileType;
32 TGPopupMenu *fWriteType;
33 TGPopupMenu *fWriteRate;
34 TGPopupMenu *fSetup;
35 TGPopupMenu *fLimMag;
36
37 MGCoordinates *fCRaDec;
38 MGCoordinates *fCZdAz;
39
40 StarCatalog fSao;
41
42 RaDec fRaDec;
43
44 int fWrtRate;
45
46 void SetPixSize(const double pixsize);
47
48public:
49 Starguider();
50 virtual ~Starguider();
51
52 void Update();
53
54 void Layout();
55 void CloseWindow();
56
57 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
58
59 //
60 // Execution of one frame - this function may be overloaded!
61 //
62 void ProcessFrame(const unsigned long n, byte *img, struct timeval *tm);
63};
64
65#endif
Note: See TracBrowser for help on using the repository browser.