Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hdv_endviewAframe.h
Go to the documentation of this file.
1 
2 #ifndef _HDV_ENDVIEWAFRAME_H_
3 #define _HDV_ENDVIEWAFRAME_H_
4 
5 // This class is made into a ROOT dictionary ala rootcint.
6 // Therefore, do NOT include anything Hall-D specific here.
7 // It is OK to do that in the .cc file, just not here in the
8 // header.
9 
10 #include <iostream>
11 #include <cmath>
12 #include <string>
13 #include <vector>
14 #include <map>
15 
16 #include <TGClient.h>
17 #include <TGButton.h>
18 #include <TCanvas.h>
19 #include <TText.h>
20 #include <TRootEmbeddedCanvas.h>
21 #include <TTUBE.h>
22 #include <TNode.h>
23 #include <TGComboBox.h>
24 #include <TPolyLine.h>
25 #include <TEllipse.h>
26 #include <TMarker.h>
27 #include <TVector3.h>
28 #include <TGLabel.h>
29 #include <TTimer.h>
30 
31 class hdv_mainframe;
32 #if !(defined(__CINT__) || defined(__CLING__))
33 #include "hdv_mainframe.h"
34 #endif
35 
36 class hdv_endviewAframe:public TGMainFrame {
37 
38  public:
39  hdv_endviewAframe(hdv_mainframe *hdvmf, const TGWindow *p, UInt_t w, UInt_t h);
40  virtual ~hdv_endviewAframe(){};
41 
42  void DoDismiss(void);
43 
44  void SetRange(double xlo, double ylo, double xhi, double yhi);
45  void DrawObjects(vector<TObject*> &graphics_endA);
46 
47  private:
48 
50  TRootEmbeddedCanvas *ecanvas;
51 
52  ClassDef(hdv_endviewAframe,1)
53 };
54 
55 // The following line is supposed to avoid the warning messages about:
56 // "dereferencing type-punned pointer will break strict-aliasing rules"
57 #if (defined(__CINT__) || defined(__CLING__))
58 
59 #pragma link C++ class hdv_endviewAframe+;
60 #endif
61 
62 
63 
64 #endif //_HDV_ENDVIEWAFRAME_H_
TRootEmbeddedCanvas * ecanvas
virtual ~hdv_endviewAframe()
void DrawObjects(vector< TObject * > &graphics_endA)
hdv_endviewAframe(hdv_mainframe *hdvmf, const TGWindow *p, UInt_t w, UInt_t h)
void SetRange(double xlo, double ylo, double xhi, double yhi)
hdv_mainframe * hdvmf