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

Last change on this file since 745 was 738, checked in by tbretz, 24 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
35 MGCoordinates *fCRaDec;
36 MGCoordinates *fCZdAz;
37
38 StarCatalog fSao;
39
40 RaDec fRaDec;
41
42 int fWrtRate;
43
44 void SetPixSize(const double pixsize);
45
46public:
47 Starguider();
48 virtual ~Starguider();
49
50 void Update();
51
52 void Layout();
53 void CloseWindow();
54
55 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
56
57 //
58 // Execution of one frame - this function may be overloaded!
59 //
60 void Execute(const unsigned long n, char *img, struct timeval *tm);
61};
62
63#endif
Note: See TracBrowser for help on using the repository browser.