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

Last change on this file since 1532 was 1531, checked in by tbretz, 22 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 1.2 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 *fInterpol;
35 TGPopupMenu *fSetup;
36 TGPopupMenu *fLimMag;
37
38 MGCoordinates *fCRaDec;
39 MGCoordinates *fCZdAz;
40
41 StarCatalog fSao;
42
43 RaDec fRaDec;
44
45 int fWrtRate;
46 int fIntRate;
47
48 void SetPixSize(const double pixsize);
49
50public:
51 Starguider();
52 virtual ~Starguider();
53
54 void Update();
55
56 void Layout();
57 void CloseWindow();
58
59 Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
60
61 //
62 // Execution of one frame - this function may be overloaded!
63 //
64 void ProcessFrame(const unsigned long n, byte *img, struct timeval *tm);
65};
66
67#endif
Note: See TracBrowser for help on using the repository browser.