12#ifndef ROOT_TPolyMarker 
   13#define ROOT_TPolyMarker 
#define ClassDefOverride(name, id)
 
Option_t Option_t TPoint DrawPolyMarker
 
Collection abstract base class.
 
Mother of all ROOT objects.
 
A PolyMarker is defined by an array on N points in a 2-D space.
 
TPolyMarker & operator=(const TPolyMarker &)
assignment operator
 
virtual void PaintPolyMarker(Int_t n, Double_t *x, Double_t *y, Option_t *option="")
Paint polymarker.
 
void Copy(TObject &polymarker) const override
Copy this to obj.
 
void Print(Option_t *option="") const override
Print polymarker.
 
Double_t * fY
[fN] Array of Y coordinates
 
virtual Int_t GetN() const
 
virtual Int_t Size() const
 
virtual Int_t Merge(TCollection *list)
Merge polymarkers in the collection in this polymarker.
 
TPolyMarker()
Default constructor.
 
virtual void SetPolyMarker(Int_t n)
If n <= 0 the current arrays of points are deleted.
 
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
 
Int_t fN
Number of points.
 
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
 
~TPolyMarker() override
Destructor.
 
virtual Int_t SetNextPoint(Double_t x, Double_t y)
Set point following LastPoint to x, y.
 
Int_t fLastPoint
The index of the last filled point.
 
virtual Int_t GetLastPoint() const
 
void Paint(Option_t *option="") override
Paint.
 
Double_t * fX
[fN] Array of X coordinates
 
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py to a polymarker.
 
virtual void SetPoint(Int_t point, Double_t x, Double_t y)
Set point number n.
 
Option_t * GetOption() const override
 
void ls(Option_t *option="") const override
ls.
 
const char * Data() const