DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
DDEve
include
DDEve
ElementList.h
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
#ifndef DDEVE_ELEMENTLIST_H
14
#define DDEVE_ELEMENTLIST_H
15
16
// Framework include files
17
#include "
DDEve/View.h
"
18
#include "
DDEve/EveUserContextMenu.h
"
19
20
// ROOT include files
21
#include "TEveElement.h"
22
24
namespace
dd4hep
{
25
27
/*
28
* I do not want to override the TEveElementList context menu....
29
* Hence a new class is needed.
30
*
31
* \author M.Frank
32
* \version 1.0
33
* \ingroup DD4HEP_EVE
34
*/
35
class
ElementList
:
public
TEveElementList
{
36
public
:
38
ElementList
();
40
ElementList
(
const
std::string& name,
const
std::string& title=
""
,
bool
doCol=
false
,
bool
doTrans=
false
);
42
ElementList
(
const
ElementList
& l);
44
virtual
~ElementList
();
46
virtual
TEveElementList
*
CloneElement
()
const override
;
48
ClassDefOverride
(
ElementList
,0);
49
};
50
52
/*
53
* \author M.Frank
54
* \version 1.0
55
* \ingroup DD4HEP_EVE
56
*/
57
class
ElementListContextMenu
:
public
EveUserContextMenu
{
58
protected
:
60
ElementListContextMenu
(
Display
* m);
62
virtual
~ElementListContextMenu
();
63
public
:
65
static
ElementListContextMenu
&
install
(
Display
* m);
67
ClassDef
(
ElementListContextMenu
,0);
68
};
69
70
}
/* End namespace dd4hep */
71
#endif // DDEVE_ELEMENTLIST_H
dd4hep::Display
The main class of the DDEve display.
Definition:
Display.h:56
dd4hep::ElementList::ElementList
ElementList()
Default constructor.
dd4hep::ElementList::ClassDefOverride
ClassDefOverride(ElementList, 0)
Root implementation macro.
dd4hep::ElementListContextMenu::ClassDef
ClassDef(ElementListContextMenu, 0)
Root implementation macro.
dd4hep::ElementList::CloneElement
virtual TEveElementList * CloneElement() const override
Clone object: Overload from TEveElementList.
Definition:
ElementList.cpp:52
dd4hep::ElementList::~ElementList
virtual ~ElementList()
Default destructor.
Definition:
ElementList.cpp:47
dd4hep::ElementList
Local implementation with overrides of the TEveElementList.
Definition:
ElementList.h:35
TEveElementList
Class of the ROOT toolkit. See http://root.cern.ch/root/htmldoc/ClassIndex.html.
Definition:
ROOTClasses.h:13
dd4hep::ElementListContextMenu::ElementListContextMenu
ElementListContextMenu(Display *m)
Initializing constructor.
Definition:
ElementList.cpp:63
dd4hep::ElementListContextMenu::~ElementListContextMenu
virtual ~ElementListContextMenu()
Default destructor.
Definition:
ElementList.cpp:70
dd4hep::ElementListContextMenu::install
static ElementListContextMenu & install(Display *m)
Instantiator.
Definition:
ElementList.cpp:57
EveUserContextMenu.h
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
View.h
dd4hep::ElementListContextMenu
DDEve context menu class.
Definition:
ElementList.h:57
Generated on Tue Dec 10 2024 18:30:08 for DD4hep by
1.8.18