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
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 35 of file Annotation.h.

Constructor & Destructor Documentation

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

Standard constructor with initialization.

Annotation::~Annotation ( )
virtual

Default destructor.

Definition at line 40 of file Annotation.cpp.

References DD4hep::InstanceCount::decrement().

Member Function Documentation

float Annotation::DefaultMargin ( )
static

Default margin for placement in bottom left corner.

Definition at line 55 of file Annotation.cpp.

Referenced by DD4hep::View::ConfigureGeometry().

float Annotation::DefaultTextSize ( )
static

Default text size.

Definition at line 51 of file Annotation.cpp.

Referenced by DD4hep::View::ConfigureGeometry().

Bool_t Annotation::MouseEnter ( TGLOvlSelectRecord &  selRec)
virtual

Mouse has entered overlay area.

Definition at line 45 of file Annotation.cpp.


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