11#ifndef ROOT_TVirtualHistPainter
12#define ROOT_TVirtualHistPainter
#define ClassDef(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
virtual ~TVirtualHistPainter()
virtual Int_t MakeCuts(char *cutsopt)=0
static TClass * fgPainter
virtual char * GetObjectInfo(Int_t px, Int_t py) const =0
Returns string containing info about the object at position (px,py).
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)=0
Execute action corresponding to an event at (px,py).
virtual void Paint(Option_t *option="")=0
This method must be overridden if a class wants to paint itself.
virtual TList * GetStack() const =0
virtual void SetStack(TList *stack)=0
virtual Bool_t IsInside(Int_t x, Int_t y)=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 Int_t DistancetoPrimitive(Int_t px, Int_t py)=0
Computes distance from point (px,py) to the object.
virtual void ProcessMessage(const char *mess, const TObject *obj)=0
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