GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4MarkerPainter.h
Go to the documentation of this file.
1 // $Id$
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4MARKERPAINTER_H
15 #define TGO4MARKERPAINTER_H
16 
17 #include "TGo4LabelPainter.h"
18 
19 class TGo4Marker;
20 
22  public:
24  TGo4MarkerPainter(const char *name, const char *title="Go4 MarkerPainter");
25  virtual ~TGo4MarkerPainter();
26 
28  void PaintLabel(Option_t *opt = "") override;
29  void UnPaintLabel(Option_t *opt = "") override;
30  void PaintConnector(Option_t *opt = "");
31  void UnPaintConnector(Option_t *opt = "");
32  void DisplayToFront(Option_t *opt = "") override;
33 
34  virtual void SetMarker(TGo4Marker* mark) { fxMarker=mark; }
35 
36  protected:
37 
39  Bool_t CheckConnector();
40 
42  TGo4Marker *fxMarker{nullptr};
43 
46 
47  private:
49  Bool_t fbIsConStreamed{kFALSE};
50 
51  ClassDefOverride(TGo4MarkerPainter,1)
52 };
53 
54 #endif //TGO4MARKERPAINTER_H
void DisplayToFront(Option_t *opt="") override
void PaintLabel(Option_t *opt="") override
void UnPaintConnector(Option_t *opt="")
TGo4LabelConnector * fxConnector
virtual void SetMarker(TGo4Marker *mark)
TGo4Marker * fxMarker
void UnPaintLabel(Option_t *opt="") override
void PaintConnector(Option_t *opt="")