CMS 3D CMS Logo

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 namespace fwlite {
8  class Event;
9 }
10 
11 class FWEventAnnotation : public TGLAnnotation {
12 public:
13  FWEventAnnotation(TGLViewerBase* view);
14  ~FWEventAnnotation() override;
15 
16  void Render(TGLRnrCtx& rnrCtx) override;
17 
18  //configuration management interface
19  virtual void addTo(FWConfiguration&) const;
20  virtual void setFrom(const FWConfiguration&);
21 
22  void setLevel(long x);
23  void setEvent();
24 
25  FWEventAnnotation(const FWEventAnnotation&) = delete; // stop default
26  const FWEventAnnotation& operator=(const FWEventAnnotation&) = delete; // stop default
27 
28 private:
29  void updateOverlayText();
30 
31  int m_level;
32 };
33 
34 #endif
const FWEventAnnotation & operator=(const FWEventAnnotation &)=delete
void Render(TGLRnrCtx &rnrCtx) override
virtual void addTo(FWConfiguration &) const
virtual void setFrom(const FWConfiguration &)
FWEventAnnotation(TGLViewerBase *view)
~FWEventAnnotation() override