Display3DPad.h
Go to the documentation of this file.
1 ///
2 /// \file Display3DPad.h
3 /// \brief Drawing pad showing a 3D rendering of the detector
4 /// \author messier@indiana.edu
5 ///
6 #ifndef EVD_DISPLAY3DPAD_H
7 #define EVD_DISPLAY3DPAD_H
8 
9 #include <memory>
10 #include <vector>
11 
13 
14 class TH3F;
15 namespace evdb { class View3D; }
16 namespace evdb_tool { class ISim3DDrawer; class I3DDrawer;}
17 
18 
19 namespace evd {
20 
21 /// A drawing pad showing a 3D rendering of the detector
22 class Display3DPad : public DrawingPad {
23 public:
24  Display3DPad(const char* nm, const char* ti,
25  double x1, double y1,
26  double x2, double y2,
27  const char* opt);
28  ~Display3DPad();
29 
30 
31 
32  void Draw();
33 
34  void UpdateSeedCurve();
35 private:
36  evdb::View3D* fView; ///< Collection of graphics objects to render
37 
38  std::vector<std::unique_ptr<evdb_tool::ISim3DDrawer>> fSim3DDrawerVec;
39  std::vector<std::unique_ptr<evdb_tool::I3DDrawer>> fReco3DDrawerVec;
40 };
41 }
42 
43 #endif
44 ////////////////////////////////////////////////////////////////////////
std::vector< std::unique_ptr< evdb_tool::I3DDrawer > > fReco3DDrawerVec
Definition: Display3DPad.h:39
opt
Definition: train.py:196
A drawing pad showing a 3D rendering of the detector.
Definition: Display3DPad.h:22
LArSoft includes.
Definition: InfoTransfer.h:33
Base class for event display drawing pads.
Definition: DrawingPad.h:29
std::vector< std::unique_ptr< evdb_tool::ISim3DDrawer > > fSim3DDrawerVec
Definition: Display3DPad.h:38
void Draw(const char *plot, const char *title)
Definition: gXSecComp.cxx:580
evdb::View3D * fView
Collection of graphics objects to render.
Definition: Display3DPad.h:36