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.cpp
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 // Author : M.Frank
12 // Original Author: Matevz Tadel 2009 (MultiView.C)
13 //
14 //==========================================================================
15 
16 // Framework include files
17 #include "DDEve/View3D.h"
18 #include "DDEve/Factories.h"
19 
20 using namespace DD4hep;
21 
24 
26 View3D::View3D(Display* eve, const std::string& nam) : View(eve, nam)
27 {
28 }
29 
32 }
33 
35 View& View3D::Build(TEveWindow* slot) {
36  return CreateScenes().Map(slot);
37 }
#define DECLARE_VIEW_FACTORY(x)
Definition: Factories.h:31
ClassImp(View3D) View3D
Initializing constructor.
Definition: View3D.cpp:22
virtual View & Build(TEveWindow *slot)
Build the 3d view and map it to the given slot.
Definition: View3D.cpp:35
virtual View & Map(TEveWindow *slot)
Map the view view to the slot.
Definition: View.cpp:335
View TEveWindowSlot * slot
Definition: MultiView.cpp:30
class View View.h DDEve/View.h
Definition: View.h:46
virtual View & CreateScenes()
Create the geometry and the event scene.
Definition: View.cpp:307
class View3D View3D.h DDEve/View3D.h
Definition: View3D.h:31
virtual ~View3D()
Default destructor.
Definition: View3D.cpp:31
The main class of the DDEve display.
Definition: Display.h:57