DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Static Public Member Functions | List of all members

Class to add annotations to eve viewers. More...

#include <Annotation.h>

Inheritance diagram for dd4hep::Annotation:
TGLAnnotation

Public Member Functions

 Annotation (TEveViewer *v, const std::string &text, float x, float y, Color_t c)
 Standard constructor with initialization. More...
 
virtual ~Annotation ()
 Default destructor. More...
 
virtual Bool_t MouseEnter (TGLOvlSelectRecord &selRec)
 Mouse has entered overlay area. More...
 

Static Public Member Functions

static float DefaultTextSize ()
 Default text size. More...
 
static float DefaultMargin ()
 Default margin for placement in bottom left corner. More...
 

Detailed Description

Class to add annotations to eve viewers.

Implements slightly larger text size and one line constructor

Author
M.Frank
Version
1.0

Definition at line 34 of file Annotation.h.

Constructor & Destructor Documentation

◆ Annotation()

dd4hep::Annotation::Annotation ( TEveViewer *  v,
const std::string &  text,
float  x,
float  y,
Color_t  c 
)

Standard constructor with initialization.

◆ ~Annotation()

Annotation::~Annotation ( )
virtual

Default destructor.

Definition at line 39 of file Annotation.cpp.

Member Function Documentation

◆ DefaultMargin()

float Annotation::DefaultMargin ( )
static

Default margin for placement in bottom left corner.

Definition at line 54 of file Annotation.cpp.

◆ DefaultTextSize()

float Annotation::DefaultTextSize ( )
static

Default text size.

Definition at line 50 of file Annotation.cpp.

◆ MouseEnter()

Bool_t Annotation::MouseEnter ( TGLOvlSelectRecord &  selRec)
virtual

Mouse has entered overlay area.

Definition at line 44 of file Annotation.cpp.


The documentation for this class was generated from the following files: