TMarker


class description - source file - inheritance tree

class TMarker : public TObject, public TAttMarker

    private:
protected:
public:
TMarker TMarker() TMarker TMarker(Double_t x, Double_t y, Int_t marker) TMarker TMarker(const TMarker& marker) virtual void ~TMarker() static TClass* Class() virtual void Copy(TObject& marker) static void DisplayMarkerTypes() virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) virtual void Draw(Option_t* option) virtual void DrawMarker(Double_t x, Double_t y) virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) Double_t GetX() const Double_t GetY() const virtual TClass* IsA() const virtual void ls(Option_t* option) const virtual void Paint(Option_t* option) virtual void PaintMarker(Double_t x, Double_t y) virtual void PaintMarkerNDC(Double_t u, Double_t v) virtual void Print(Option_t* option) const virtual void SavePrimitive(ofstream& out, Option_t* option) virtual void SetX(Double_t x) virtual void SetY(Double_t y) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

private:
protected:
Double_t fX X position of marker (left,center,etc..) Double_t fY Y position of marker (left,center,etc..) public:

Class Description

 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(Double_t x, Double_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(Double_t x, Double_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 *) const
*-*-*-*-*-*-*-*-*-*-*-*List this marker with its attributes*-*-*-*-*-*-*-*-*
*-*                    ====================================

void Paint(Option_t *)
*-*-*-*-*-*-*-*-*-*-*Paint this marker with its current attributes*-*-*-*-*-*-*
*-*                  =============================================

void PaintMarker(Double_t x, Double_t y)
*-*-*-*-*-*-*-*-*-*-*Draw this marker with new coordinates*-*-*-*-*-*-*-*-*-*
*-*                  =====================================

void PaintMarkerNDC(Double_t, Double_t)
*-*-*-*-*-*-*-*Draw this marker with new coordinates in NDC*-*-*-*-*-*-*-*-*-*
*-*            ============================================

void Print(Option_t *) const
*-*-*-*-*-*-*-*-*-*-*Dump this marker with its attributes*-*-*-*-*-*-*-*-*-*
*-*                  ====================================

void SavePrimitive(ofstream &out, Option_t *)
 Save primitive as a C++ statement(s) on output stream out

void Streamer(TBuffer &R__b)
 Stream an object of class TMarker.



Inline Functions


           Double_t GetX() const
           Double_t GetY() const
               void SetX(Double_t x)
               void SetY(Double_t y)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void StreamerNVirtual(TBuffer& b)


Author: Rene Brun 12/05/95
Last update: root/graf:$Name: $:$Id: TMarker.cxx,v 1.6 2001/02/21 11:02:22 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.