00001 // $Id: TGo4MarkerPainter.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4MARKERPAINTER_H 00015 #define TGO4MARKERPAINTER_H 00016 00017 #include "TGo4LabelPainter.h" 00018 00019 class TGo4Marker; 00020 00021 class TGo4MarkerPainter : public TGo4LabelPainter { 00022 public: 00023 TGo4MarkerPainter(); 00024 TGo4MarkerPainter(const char* name, const char* title="Go4 MarkerPainter"); 00025 virtual ~TGo4MarkerPainter(); 00026 00028 virtual void PaintLabel(Option_t* opt=""); 00029 virtual void UnPaintLabel(Option_t* opt=""); 00030 void PaintConnector(Option_t* opt=""); 00031 void UnPaintConnector(Option_t* opt=""); 00032 virtual void DisplayToFront(Option_t* opt=""); 00033 00034 00035 virtual void SetMarker(TGo4Marker* mark) {fxMarker=mark;} 00036 00037 protected: 00038 00040 Bool_t CheckConnector(); 00041 00043 TGo4Marker* fxMarker; 00044 00046 TGo4LabelConnector* fxConnector; 00047 00048 private: 00050 Bool_t fbIsConStreamed; 00051 00052 00053 ClassDef(TGo4MarkerPainter,1) 00054 }; 00055 #endif //TGO4MARKERPAINTER_H 00056