GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
TGo4MarkerPainter Class Reference

#include <TGo4MarkerPainter.h>

+ Inheritance diagram for TGo4MarkerPainter:

Public Member Functions

 TGo4MarkerPainter ()
 TGo4MarkerPainter (const char *name, const char *title="Go4 MarkerPainter")
virtual ~TGo4MarkerPainter ()
virtual void PaintLabel (Option_t *opt="")
virtual void UnPaintLabel (Option_t *opt="")
void PaintConnector (Option_t *opt="")
void UnPaintConnector (Option_t *opt="")
virtual void DisplayToFront (Option_t *opt="")
virtual void SetMarker (TGo4Marker *mark)
- Public Member Functions inherited from TGo4LabelPainter
 TGo4LabelPainter ()
 TGo4LabelPainter (const char *name, const char *title=0)
virtual ~TGo4LabelPainter ()
virtual void RePaintLabel (Option_t *opt="")
void SetCaption (const char *txt)
void SetX0 (Double_t x=0)
void SetY0 (Double_t y=0)
void SetWidth (Double_t w=0)
void SetHeight (Double_t h=0)
void AddToLabel (const char *txt)
void InitAttributes ()
Double_t GetLabelXlo ()
Double_t GetLabelYlo ()
Double_t GetLabelXup ()
Double_t GetLabelYup ()

Protected Member Functions

Bool_t CheckConnector ()

Protected Attributes


Private Attributes

Bool_t fbIsConStreamed

Detailed Description

Definition at line 21 of file TGo4MarkerPainter.h.

Constructor & Destructor Documentation

TGo4MarkerPainter::TGo4MarkerPainter ( )

Definition at line 22 of file TGo4MarkerPainter.cxx.

TGo4MarkerPainter::TGo4MarkerPainter ( const char *  name,
const char *  title = "Go4 MarkerPainter" 

Definition at line 30 of file TGo4MarkerPainter.cxx.

TGo4MarkerPainter::~TGo4MarkerPainter ( )

Definition at line 38 of file TGo4MarkerPainter.cxx.

References fxConnector.

Member Function Documentation

Bool_t TGo4MarkerPainter::CheckConnector ( )

Check if connector is still existing. Uses root list of cleanups.

Definition at line 104 of file TGo4MarkerPainter.cxx.

References fbIsConStreamed, fxConnector, TGo4LabelConnector::fxLastDeleted, and TGo4LabelConnector::SetOwner().

Referenced by PaintConnector(), and UnPaintConnector().

void TGo4MarkerPainter::DisplayToFront ( Option_t *  opt = "")

pop all components to the front of the pad

Reimplemented from TGo4LabelPainter.

Definition at line 246 of file TGo4MarkerPainter.cxx.

References TGo4LabelPainter::DisplayToFront(), fxMarker, PaintConnector(), and UnPaintConnector().

Referenced by TGo4Marker::ExecuteEvent(), and TGo4Marker::Pop().

void TGo4MarkerPainter::PaintConnector ( Option_t *  opt = "")
void TGo4MarkerPainter::PaintLabel ( Option_t *  opt = "")
virtual void TGo4MarkerPainter::SetMarker ( TGo4Marker mark)

Definition at line 35 of file TGo4MarkerPainter.h.

References fxMarker.

Referenced by TGo4Marker::CreatePainter().

void TGo4MarkerPainter::UnPaintConnector ( Option_t *  opt = "")

Definition at line 234 of file TGo4MarkerPainter.cxx.

References CheckConnector(), and fxConnector.

Referenced by DisplayToFront(), PaintConnector(), and UnPaintLabel().

void TGo4MarkerPainter::UnPaintLabel ( Option_t *  opt = "")

Erase the label

Reimplemented from TGo4LabelPainter.

Definition at line 96 of file TGo4MarkerPainter.cxx.

References UnPaintConnector(), and TGo4LabelPainter::UnPaintLabel().

Referenced by PaintLabel(), TGo4Marker::ResetLabel(), and TGo4Marker::UnDraw().

Member Data Documentation

Bool_t TGo4MarkerPainter::fbIsConStreamed

Flag to handle streamed connector from file correctly

Definition at line 50 of file TGo4MarkerPainter.h.

Referenced by CheckConnector().

TGo4LabelConnector* TGo4MarkerPainter::fxConnector

Connection line between marker and label

Definition at line 46 of file TGo4MarkerPainter.h.

Referenced by CheckConnector(), PaintConnector(), UnPaintConnector(), and ~TGo4MarkerPainter().

TGo4Marker* TGo4MarkerPainter::fxMarker

Marker to be painted.

Definition at line 43 of file TGo4MarkerPainter.h.

Referenced by DisplayToFront(), PaintConnector(), PaintLabel(), and SetMarker().

The documentation for this class was generated from the following files: