11 #ifndef ROOT_TVirtualHistPainter
12 #define ROOT_TVirtualHistPainter
static void SetPainter(const char *painter)
Static function to set an alternative histogram painter.
virtual void SetHistogram(TH1 *h)=0
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)=0
Computes distance from point (px,py) to the object.
virtual char * GetObjectInfo(Int_t px, Int_t py) const =0
Returns string containing info about the object at position (px,py).
virtual TList * GetStack() const =0
virtual Int_t MakeCuts(char *cutsopt)=0
virtual Bool_t IsInside(Int_t x, Int_t y)=0
virtual void PaintStat(Int_t dostat, TF1 *fit)=0
virtual void Paint(Option_t *option="")=0
This method must be overridden if a class wants to paint itself.
#define ClassDef(name, id)
Abstract interface to a histogram painter.
virtual void DrawPanel()=0
virtual void ProcessMessage(const char *mess, const TObject *obj)=0
virtual ~TVirtualHistPainter()
virtual TList * GetContourList(Double_t contour) const =0
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)=0
Execute action corresponding to an event at (px,py).
virtual void SetStack(TList *stack)=0
The ROOT global object gROOT contains a list of all defined classes.
static TClass * fgPainter
virtual void SetShowProjection(const char *option, Int_t nbins)=0
Mother of all ROOT objects.
static TVirtualHistPainter * HistPainter(TH1 *obj)