DD4hep
1.31.0
Detector Description Toolkit for High Energy Physics
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
u
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
b
d
g
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
g
h
i
l
m
n
o
p
r
s
u
Variables
Typedefs
_
a
c
d
e
f
g
j
l
o
p
r
s
t
u
v
x
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
DDEve
include
DDEve
Annotation.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_ANNOTATION_H
14
#define DDEVE_ANNOTATION_H
15
16
// Framework include files
17
#include "TGLAnnotation.h"
18
19
// Forward declarations
20
class
TEveViewer;
21
class
TGLOvlSelectRecord;
22
24
namespace
dd4hep
{
25
27
34
class
Annotation
:
public
TGLAnnotation
{
35
public
:
37
Annotation
(TEveViewer*
v
,
const
std::string& text,
float
x,
float
y, Color_t c);
39
virtual
~Annotation
();
41
virtual
Bool_t
MouseEnter
(TGLOvlSelectRecord& selRec);
43
static
float
DefaultTextSize
();
45
static
float
DefaultMargin
();
46
};
47
}
/* End namespace dd4hep */
48
#endif // DDEVE_ANNOTATION_H
49
dd4hep::Annotation::MouseEnter
virtual Bool_t MouseEnter(TGLOvlSelectRecord &selRec)
Mouse has entered overlay area.
Definition:
Annotation.cpp:44
dd4hep::Annotation::Annotation
Annotation(TEveViewer *v, const std::string &text, float x, float y, Color_t c)
Standard constructor with initialization.
dd4hep::Annotation::DefaultTextSize
static float DefaultTextSize()
Default text size.
Definition:
Annotation.cpp:50
v
View * v
Definition:
MultiView.cpp:28
dd4hep::Annotation::~Annotation
virtual ~Annotation()
Default destructor.
Definition:
Annotation.cpp:39
dd4hep::Annotation::DefaultMargin
static float DefaultMargin()
Default margin for placement in bottom left corner.
Definition:
Annotation.cpp:54
TGLAnnotation
Class of the ROOT toolkit. See http://root.cern.ch/root/htmldoc/ClassIndex.html.
Definition:
ROOTClasses.h:29
dd4hep::Annotation
Class to add annotations to eve viewers.
Definition:
Annotation.h:34
dd4hep
Namespace for the AIDA detector description toolkit.
Definition:
AlignmentsCalib.h:28
Generated on Mon Apr 7 2025 13:02:17 for DD4hep by
1.8.18