DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
DDEve
src
EveShapeContextMenu.cpp
Go to the documentation of this file.
1
//==========================================================================
2
// AIDA Detector description implementation
3
//--------------------------------------------------------------------------
4
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5
// All rights reserved.
6
//
7
// For the licensing terms see $DD4hepINSTALL/LICENSE.
8
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9
//
10
// Author : M.Frank
11
//
12
//==========================================================================
13
14
// Framework include files
15
#include <
DD4hep/Printout.h
>
16
#include <
DDEve/EveShapeContextMenu.h
>
17
18
// ROOT include files
19
#include <TEveGeoShape.h>
20
#include <TEveManager.h>
21
22
// C/C++ include files
23
#include <stdexcept>
24
25
using namespace
dd4hep
;
26
27
ClassImp
(
EveShapeContextMenu
)
28
29
EveShapeContextMenu
&
EveShapeContextMenu::install
(
Display
* m) {
31
static
EveShapeContextMenu
s(m);
32
return
s;
33
}
34
36
EveShapeContextMenu::EveShapeContextMenu
(
Display
* disp)
37
:
EveUserContextMenu
(disp)
38
{
39
InstallGeometryContextMenu
(TEveGeoShape::Class());
40
}
41
43
EveShapeContextMenu::~EveShapeContextMenu
() {
44
}
dd4hep::Display
The main class of the DDEve display.
Definition:
Display.h:56
ClassImp
ClassImp(EveShapeContextMenu) EveShapeContextMenu &EveShapeContextMenu
Instantiator.
Definition:
EveShapeContextMenu.cpp:27
dd4hep::EveShapeContextMenu::EveShapeContextMenu
EveShapeContextMenu(Display *m)
Initializing constructor.
Definition:
EveShapeContextMenu.cpp:36
dd4hep::EveShapeContextMenu::~EveShapeContextMenu
virtual ~EveShapeContextMenu()
Default destructor.
Definition:
EveShapeContextMenu.cpp:43
EveShapeContextMenu.h
dd4hep::EveUserContextMenu::InstallGeometryContextMenu
void InstallGeometryContextMenu(TClass *cl)
Install the geometry context menu.
Definition:
EveUserContextMenu.cpp:105
dd4hep::EveShapeContextMenu::install
static EveShapeContextMenu & install(Display *m)
Instantiator.
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
dd4hep::EveUserContextMenu
class EveUserContextMenu EveUserContextMenu.h DDEve/EveUserContextMenu.h
Definition:
EveUserContextMenu.h:34
Printout.h
dd4hep::EveShapeContextMenu
class EveShapeContextMenu EveShapeContextMenu.h DDEve/EveShapeContextMenu.h
Definition:
EveShapeContextMenu.h:28
Generated on Thu Nov 7 2024 13:31:58 for DD4hep by
1.8.18