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