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 private:
26  FWEventAnnotation(const FWEventAnnotation&) = delete; // stop default
27  const FWEventAnnotation& operator=(const FWEventAnnotation&) = delete; // stop default
28 
29  void updateOverlayText();
30 
31  int m_level;
32 };
33 
34 #endif
fwlite
Definition: TFileDirectory.h:16
FWEventAnnotation::~FWEventAnnotation
~FWEventAnnotation() override
Definition: FWEventAnnotation.cc:17
FWEventAnnotation::operator=
const FWEventAnnotation & operator=(const FWEventAnnotation &)=delete
DDAxes::x
FWEventAnnotation::updateOverlayText
void updateOverlayText()
Definition: FWEventAnnotation.cc:32
FWEventAnnotation::addTo
virtual void addTo(FWConfiguration &) const
Definition: FWEventAnnotation.cc:69
FWEventAnnotation::setLevel
void setLevel(long x)
Definition: FWEventAnnotation.cc:21
Event
FWEventAnnotation
Definition: FWEventAnnotation.h:11
FWEventAnnotation::FWEventAnnotation
FWEventAnnotation(TGLViewerBase *view)
Definition: FWEventAnnotation.cc:11
FWEventAnnotation::setFrom
virtual void setFrom(const FWConfiguration &)
Definition: FWEventAnnotation.cc:83
FWConfiguration
Definition: FWConfiguration.h:31
FWEventAnnotation::Render
void Render(TGLRnrCtx &rnrCtx) override
Definition: FWEventAnnotation.cc:62
FWEventAnnotation::m_level
int m_level
Definition: FWEventAnnotation.h:31
FWEventAnnotation::setEvent
void setEvent()
Definition: FWEventAnnotation.cc:30