|
||||
File indexing completed on 2025-01-18 09:55:21
0001 //========================================================================== 0002 // AIDA Detector description implementation 0003 //-------------------------------------------------------------------------- 0004 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) 0005 // All rights reserved. 0006 // 0007 // For the licensing terms see $DD4hepINSTALL/LICENSE. 0008 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS. 0009 // 0010 // Author : M.Frank 0011 // 0012 //========================================================================== 0013 #ifndef DDEVE_ANNOTATION_H 0014 #define DDEVE_ANNOTATION_H 0015 0016 // Framework include files 0017 #include "TGLAnnotation.h" 0018 0019 // Forward declarations 0020 class TEveViewer; 0021 class TGLOvlSelectRecord; 0022 0023 /// Namespace for the AIDA detector description toolkit 0024 namespace dd4hep { 0025 0026 /// Class to add annotations to eve viewers 0027 /** 0028 * Implements slightly larger text size and one line constructor 0029 * 0030 * \author M.Frank 0031 * \version 1.0 0032 * \ingroup DD4HEP_EVE 0033 */ 0034 class Annotation : public TGLAnnotation { 0035 public: 0036 /// Standard constructor with initialization 0037 Annotation(TEveViewer* v, const std::string& text, float x, float y, Color_t c); 0038 /// Default destructor 0039 virtual ~Annotation(); 0040 /// Mouse has entered overlay area. 0041 virtual Bool_t MouseEnter(TGLOvlSelectRecord& selRec); 0042 /// Default text size 0043 static float DefaultTextSize(); 0044 /// Default margin for placement in bottom left corner 0045 static float DefaultMargin(); 0046 }; 0047 } /* End namespace dd4hep */ 0048 #endif // DDEVE_ANNOTATION_H 0049
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |