LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Ortho3DView.h
Go to the documentation of this file.
1 
9 #ifndef EVD_ORTHO3DVIEW_H
10 #define EVD_ORTHO3DVIEW_H
11 #include <vector>
12 
14 
15 namespace evd {
16 
17  class Ortho3DPad;
18 
20 
21  class Ortho3DView : public evdb::Canvas {
22 
23  public:
24  // Constructor, destructor.
25 
26  Ortho3DView(TGMainFrame* mf);
27  virtual ~Ortho3DView();
28 
29  // Required methods.
30 
31  const char* Description() const { return "Orthographic 3D Detector Display"; }
32  const char* PrintTag() const { return "larortho3d"; }
33  void Draw(const char* opt = "");
34 
35  private:
36  // Attributes.
37 
38  // Graphics pads.
39 
40  std::vector<Ortho3DPad*> fOrtho3DPads;
41 
42  // Frames.
43 
44  TGCompositeFrame* fMetaFrame;
45  TGCompositeFrame* fWidgetFrame;
46  std::vector<TGCompositeFrame*> fWidgetSubFrames; // Frame holding widgets for one pad.
47  };
48 }
49 
50 #endif
51 
virtual ~Ortho3DView()
const char * PrintTag() const
Definition: Ortho3DView.h:32
Base class for define a detector display.
void Draw(const char *opt="")
View of event shoing orthographic view of 3D objects.
Definition: Ortho3DView.h:21
LArSoft includes.
TGCompositeFrame * fMetaFrame
Frame holding root canvas and widget frame.
Definition: Ortho3DView.h:44
const char * Description() const
Definition: Ortho3DView.h:31
std::vector< TGCompositeFrame * > fWidgetSubFrames
Definition: Ortho3DView.h:46
TGCompositeFrame * fWidgetFrame
Frame holding widgets.
Definition: Ortho3DView.h:45
std::vector< Ortho3DPad * > fOrtho3DPads
Graphics pads.
Definition: Ortho3DView.h:40
Ortho3DView(TGMainFrame *mf)
Definition: Ortho3DView.cxx:22