GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 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

TGo4MarkerfxMarker
 
TGo4LabelConnectorfxConnector
 

Private Attributes

Bool_t fbIsConStreamed
 

Detailed Description

Definition at line 21 of file TGo4MarkerPainter.h.

Constructor & Destructor Documentation

TGo4MarkerPainter::TGo4MarkerPainter ( )

Definition at line 24 of file TGo4MarkerPainter.cxx.

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

Definition at line 32 of file TGo4MarkerPainter.cxx.

TGo4MarkerPainter::~TGo4MarkerPainter ( )
virtual

Definition at line 40 of file TGo4MarkerPainter.cxx.

References fxConnector.

Member Function Documentation

Bool_t TGo4MarkerPainter::CheckConnector ( )
protected

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

Definition at line 106 of file TGo4MarkerPainter.cxx.

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

Referenced by PaintConnector(), and UnPaintConnector().

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

pop all components to the front of the pad

Reimplemented from TGo4LabelPainter.

Definition at line 250 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
virtual void TGo4MarkerPainter::SetMarker ( TGo4Marker mark)
inlinevirtual

Definition at line 35 of file TGo4MarkerPainter.h.

References fxMarker.

Referenced by TGo4Marker::CreatePainter().

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

Definition at line 238 of file TGo4MarkerPainter.cxx.

References CheckConnector(), and fxConnector.

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

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

Erase the label

Reimplemented from TGo4LabelPainter.

Definition at line 98 of file TGo4MarkerPainter.cxx.

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

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

Member Data Documentation

Bool_t TGo4MarkerPainter::fbIsConStreamed
private

Flag to handle streamed connector from file correctly

Definition at line 50 of file TGo4MarkerPainter.h.

Referenced by CheckConnector().

TGo4LabelConnector* TGo4MarkerPainter::fxConnector
protected

Connection line between marker and label

Definition at line 46 of file TGo4MarkerPainter.h.

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

TGo4Marker* TGo4MarkerPainter::fxMarker
protected

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: