All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Display3DView.h
Go to the documentation of this file.
1 ///
2 /// \file Display3DView.h
3 /// \brief A view showing a 3D rendering of the detector
4 /// \author messier@indiana.edu
5 ///
6 #ifndef EVD_DISPLAY3DVIEW_H
7 #define EVD_DISPLAY3DVIEW_H
8 #include "RQ_OBJECT.h"
9 
10 #include "nuevdb/EventDisplayBase/Canvas.h"
11 
12 namespace evd {
13  class Display3DPad;
14 
15  /// View of event shoing the XZ and YZ readout planes
16  class Display3DView : public evdb::Canvas {
17 
18  public:
19 
20  RQ_OBJECT("evd::Display3DView")
21 
22  public:
23  Display3DView(TGMainFrame* mf);
25 
26  const char* Description() const { return "3D Detector Display"; }
27  const char* PrintTag() const { return "lar3d"; }
28  void Draw(const char* opt="");
29  void CloseWindow();
30 
31  private:
32  Display3DPad* fDisplay3DPad; /// Pad showing 3D view of the detector
33  };
34 }
35 
36 #endif
37 ////////////////////////////////////////////////////////////////////////
const char * PrintTag() const
Definition: Display3DView.h:27
void Draw(const char *opt="")
A drawing pad showing a 3D rendering of the detector.
Definition: Display3DPad.h:22
View of event shoing the XZ and YZ readout planes.
Definition: Display3DView.h:16
Display3DView(TGMainFrame *mf)
Display3DPad * fDisplay3DPad
Definition: Display3DView.h:32
const char * Description() const
Definition: Display3DView.h:26