test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWEventAnnotation.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWEventAnnotation_h
2 #define Fireworks_Core_FWEventAnnotation_h
3 
4 #include "TGLAnnotation.h"
5 class FWConfiguration;
6 
7 
8 namespace fwlite {
9  class Event;
10 }
11 
12 class FWEventAnnotation : public TGLAnnotation
13 {
14 public:
15  FWEventAnnotation(TGLViewerBase *view);
16  virtual ~FWEventAnnotation();
17 
18  virtual void Render(TGLRnrCtx& rnrCtx);
19 
20  //configuration management interface
21  virtual void addTo(FWConfiguration&) const;
22  virtual void setFrom(const FWConfiguration&);
23 
24  void setLevel(long x);
25  void setEvent();
26 
27 private:
28  FWEventAnnotation(const FWEventAnnotation&); // stop default
29  const FWEventAnnotation& operator=(const FWEventAnnotation&); // stop default
30 
31  void updateOverlayText();
32 
33  int m_level;
34 };
35 
36 #endif
const FWEventAnnotation & operator=(const FWEventAnnotation &)
virtual ~FWEventAnnotation()
virtual void setFrom(const FWConfiguration &)
FWEventAnnotation(TGLViewerBase *view)
virtual void Render(TGLRnrCtx &rnrCtx)
virtual void addTo(FWConfiguration &) const