DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
View3D.h
Go to the documentation of this file.
1 // $Id: $
2 //==========================================================================
3 // AIDA Detector description implementation for LCD
4 //--------------------------------------------------------------------------
5 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
6 // All rights reserved.
7 //
8 // For the licensing terms see $DD4hepINSTALL/LICENSE.
9 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
10 //
11 //
12 // Author : M.Frank
13 // Original Author: Matevz Tadel 2009 (MultiView.C)
14 //
15 //==========================================================================
16 #ifndef DD4HEP_DDEVE_VIEW3D_H
17 #define DD4HEP_DDEVE_VIEW3D_H
18 
19 // Framework include files
20 #include "DDEve/View.h"
21 
23 namespace DD4hep {
24 
26  /*
27  * \author M.Frank
28  * \version 1.0
29  * \ingroup DD4HEP_EVE
30  */
31  class View3D : public View {
32  protected:
33 
34  public:
36  View3D(Display* eve, const std::string& name);
38  virtual ~View3D();
40  virtual View& Build(TEveWindow* slot);
41 
43  ClassDef(View3D,0);
44  };
45 } /* End namespace DD4hep */
46 
47 
48 #endif /* DD4HEP_DDEVE_VIEW3D_H */
virtual View & Build(TEveWindow *slot)
Build the 3d view and map it to the given slot.
Definition: View3D.cpp:35
View TEveWindowSlot * slot
Definition: MultiView.cpp:30
class View View.h DDEve/View.h
Definition: View.h:46
class View3D View3D.h DDEve/View3D.h
Definition: View3D.h:31
virtual ~View3D()
Default destructor.
Definition: View3D.cpp:31
View3D(Display *eve, const std::string &name)
Initializing constructor.
The main class of the DDEve display.
Definition: Display.h:57
const std::string & name() const
Access to the view name/title.
Definition: View.h:85
ClassDef(View3D, 0)
Root implementation macro.