00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4MARKERPAINTER_H 00017 #define TGO4MARKERPAINTER_H 00018 00019 #include "TGo4LabelPainter.h" 00020 00021 class TGo4Marker; 00022 00023 class TGo4MarkerPainter : public TGo4LabelPainter { 00024 public: 00025 TGo4MarkerPainter(); 00026 TGo4MarkerPainter(const char* name, const char* title="Go4 MarkerPainter"); 00027 virtual ~TGo4MarkerPainter(); 00028 00030 virtual void PaintLabel(Option_t* opt=""); 00031 virtual void UnPaintLabel(Option_t* opt=""); 00032 void PaintConnector(Option_t* opt=""); 00033 void UnPaintConnector(Option_t* opt=""); 00034 virtual void DisplayToFront(Option_t* opt=""); 00035 00036 00037 virtual void SetMarker(TGo4Marker* mark) {fxMarker=mark;} 00038 00039 protected: 00040 00042 Bool_t CheckConnector(); 00043 00045 TGo4Marker* fxMarker; 00046 00048 TGo4LabelConnector* fxConnector; 00049 00050 private: 00052 Bool_t fbIsConStreamed; 00053 00054 00055 ClassDef(TGo4MarkerPainter,1) 00056 }; 00057 #endif //TGO4MARKERPAINTER_H 00058 00059 00060 //----------------------------END OF GO4 SOURCE FILE ---------------------