LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 
25  // Constructor, destructor.
26 
27  Ortho3DView(TGMainFrame* mf);
28  virtual ~Ortho3DView();
29 
30  // Required methods.
31 
32  const char* Description() const { return "Orthographic 3D Detector Display"; }
33  const char* PrintTag() const { return "larortho3d"; }
34  void Draw(const char* opt="");
35 
36  private:
37 
38  // Attributes.
39 
40  // Graphics pads.
41 
42  std::vector<Ortho3DPad*> fOrtho3DPads;
43 
44  // Frames.
45 
46  TGCompositeFrame* fMetaFrame;
47  TGCompositeFrame* fWidgetFrame;
48  std::vector<TGCompositeFrame*> fWidgetSubFrames; // Frame holding widgets for one pad.
49  };
50 }
51 
52 #endif
53 
virtual ~Ortho3DView()
const char * PrintTag() const
Definition: Ortho3DView.h:33
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:46
const char * Description() const
Definition: Ortho3DView.h:32
std::vector< TGCompositeFrame * > fWidgetSubFrames
Definition: Ortho3DView.h:48
TGCompositeFrame * fWidgetFrame
Frame holding widgets.
Definition: Ortho3DView.h:47
std::vector< Ortho3DPad * > fOrtho3DPads
Graphics pads.
Definition: Ortho3DView.h:42
Ortho3DView(TGMainFrame *mf)
Definition: Ortho3DView.cxx:23