11#ifndef ROOT_TVirtualHistPainter
12#define ROOT_TVirtualHistPainter
#define ClassDefOverride(name, id)
TClass instances represent classes, structs and namespaces in the ROOT type system.
TH1 is the base class of all histogram classes in ROOT.
Mother of all ROOT objects.
Abstract interface to a histogram painter.
virtual void DrawPanel()=0
virtual void SetShowProjection(const char *option, Int_t nbins)=0
virtual TList * GetContourList(Double_t contour) const =0
Int_t DistancetoPrimitive(Int_t px, Int_t py) override=0
Computes distance from point (px,py) to the object.
virtual Int_t MakeCuts(char *cutsopt)=0
~TVirtualHistPainter() override
static TClass * fgPainter
Pointer to class painter.
virtual TList * GetStack() const =0
char * GetObjectInfo(Int_t px, Int_t py) const override=0
Returns string containing info about the object at position (px,py).
virtual void SetStack(TList *stack)=0
virtual Bool_t IsInside(Int_t x, Int_t y)=0
virtual void SetShowProjectionXY(const char *option, Int_t nbinsY, Int_t nbinsX)=0
static void SetPainter(const char *painter)
Static function to set an alternative histogram painter.
virtual Bool_t IsInside(Double_t x, Double_t y)=0
virtual void ProcessMessage(const char *mess, const TObject *obj)=0
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override=0
Execute action corresponding to an event at (px,py).
virtual void SetHistogram(TH1 *h)=0
virtual void SetHighlight()=0
static TVirtualHistPainter * HistPainter(TH1 *obj)
Static function returning a pointer to the current histogram painter.
virtual void PaintStat(Int_t dostat, TF1 *fit)=0
void Paint(Option_t *option="") override=0
This method must be overridden if a class wants to paint itself.