TMarker
class description - source file - inheritance tree
public:
TMarker TMarker()
TMarker TMarker(Coord_t x, Coord_t y, Int_t marker)
TMarker TMarker(TMarker& marker)
virtual void ~TMarker()
TClass* Class()
virtual void Copy(TObject& marker)
void DisplayMarkerTypes()
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
virtual void Draw(Option_t* option)
virtual void DrawMarker(Coord_t x, Coord_t y)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Coord_t GetX()
Coord_t GetY()
virtual TClass* IsA()
virtual void ls(Option_t* option)
virtual void Paint(Option_t* option)
virtual void PaintMarker(Coord_t x, Coord_t y)
virtual void PaintMarkerNDC(Coord_t u, Coord_t v)
virtual void Print(Option_t* option)
virtual void SavePrimitive(ofstream& out, Option_t* option)
virtual void SetX(Coord_t x)
virtual void SetY(Coord_t y)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
protected:
Coord_t fX X position of marker (left,center,etc..)
Coord_t fY Y position of marker (left,center,etc..)
Manages Markers. Marker attributes are managed by TAttMarker.
The list of standard ROOT markers is shown in this picture
/*
*/
TMarker(): TObject(), TAttMarker()
*-*-*-*-*-*-*-*-*-*-*Marker default constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-* ==========================
TMarker(Coord_t x, Coord_t y, Int_t marker)
:TObject(), TAttMarker()
*-*-*-*-*-*-*-*-*-*-*Marker normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-* =========================
~TMarker()
*-*-*-*-*-*-*-*-*-*-*Marker default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-* =========================
TMarker(const TMarker &marker)
void Copy(TObject &obj)
*-*-*-*-*-*-*-*-*-*-*Copy this marker to marker*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-* ==========================
void DisplayMarkerTypes()
*-*-*-*-*-*-*-*-*-*-*Display the table of markers with their numbers*-*-*-*
*-* ===============================================
Int_t DistancetoPrimitive(Int_t px, Int_t py)
*-*-*-*-*-*-*-*-*-*-*Compute distance from point px,py to a marker*-*-*-*-*-*
*-* ===========================================
Compute the closest distance of approach from point px,py to this marker.
The distance is computed in pixels units.
void Draw(Option_t *option)
*-*-*-*-*-*-*-*-*-*-*Draw this marker with its current attributes*-*-*-*-*-*-*
*-* ============================================
void DrawMarker(Coord_t x, Coord_t y)
*-*-*-*-*-*-*-*-*-*-*Draw this marker with new coordinates*-*-*-*-*-*-*-*-*-*
*-* =====================================
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
*-*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event*-*-*-*
*-* =========================================
This member function is called when a marker is clicked with the locator
If Left button is clicked on a marker, the marker is moved to
a new position when the mouse button is released.
void ls(Option_t *)
*-*-*-*-*-*-*-*-*-*-*-*List this marker with its attributes*-*-*-*-*-*-*-*-*
*-* ====================================
void Paint(Option_t *)
*-*-*-*-*-*-*-*-*-*-*Paint this marker with its current attributes*-*-*-*-*-*-*
*-* =============================================
void PaintMarker(Coord_t x, Coord_t y)
*-*-*-*-*-*-*-*-*-*-*Draw this marker with new coordinates*-*-*-*-*-*-*-*-*-*
*-* =====================================
void PaintMarkerNDC(Coord_t, Coord_t)
*-*-*-*-*-*-*-*Draw this marker with new coordinates in NDC*-*-*-*-*-*-*-*-*-*
*-* ============================================
void Print(Option_t *)
*-*-*-*-*-*-*-*-*-*-*Dump this marker with its attributes*-*-*-*-*-*-*-*-*-*
*-* ====================================
void SavePrimitive(ofstream &out, Option_t *)
Save primitive as a C++ statement(s) on output stream out
Inline Functions
Coord_t GetX()
Coord_t GetY()
void SetX(Coord_t x)
void SetY(Coord_t y)
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
Author: Rene Brun 12/05/95
Last update: 2.20/05 15/12/98 09.17.21 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.