library: libHist #include "TVirtualHistPainter.h"

# TVirtualHistPainter

class description - source file - inheritance tree (.pdf)

## class TVirtualHistPainter : public TObject

| Inheritance Chart:

`TObject`

<-

`TVirtualHistPainter`

<-

`THistPainter` |

This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.

        public:

                              virtual ~TVirtualHistPainter()
                       static TClass* Class()
                        virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
                         virtual void DrawPanel()
                         virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
                         virtual void FitPanel()
                       virtual TList* GetContourList(Double_t contour) const
                        virtual char* GetObjectInfo(Int_t px, Int_t py) const
                       virtual TList* GetStack() const
          static TVirtualHistPainter* HistPainter(TH1* obj)
                      virtual TClass* IsA() const
                       virtual Bool_t IsInside(Int_t x, Int_t y)
                       virtual Bool_t IsInside(Double_t x, Double_t y)
                        virtual Int_t MakeCuts(char* cutsopt)
                 TVirtualHistPainter& operator=(const TVirtualHistPainter&)
                         virtual void Paint(Option_t* option = "")
                         virtual void PaintStat(Int_t dostat, TF1* fit)
                         virtual void ProcessMessage(const char* mess, const TObject* obj)
                         virtual void SetHistogram(TH1* h)
                          static void SetPainter(const char* painter)
                         virtual void SetStack(TList* stack)
                         virtual void ShowMembers(TMemberInspector& insp, char* parent)
                         virtual void Streamer(TBuffer& b)
                                 void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

          static TClass* fgPainter  Pointer to class painter

## Class Description

TVirtualHistPainter* HistPainter(TH1 *obj)

     Static function returning a pointer to the current histogram painter.
     The painter will paint the specified obj. If the histogram painter
     does not exist a default painter is created.

void SetPainter(const char *painter)

     Static function to set an alternative histogram painter.

### Inline Functions

                            void ~TVirtualHistPainter()
                           Int_t DistancetoPrimitive(Int_t px, Int_t py)
                            void DrawPanel()
                            void ExecuteEvent(Int_t event, Int_t px, Int_t py)
                            void FitPanel()
                          TList* GetContourList(Double_t contour) const
                           char* GetObjectInfo(Int_t px, Int_t py) const
                          TList* GetStack() const
                          Bool_t IsInside(Int_t x, Int_t y)
                          Bool_t IsInside(Double_t x, Double_t y)
                            void Paint(Option_t* option = "")
                            void PaintStat(Int_t dostat, TF1* fit)
                            void ProcessMessage(const char* mess, const TObject* obj)
                            void SetHistogram(TH1* h)
                            void SetStack(TList* stack)
                           Int_t MakeCuts(char* cutsopt)
                         TClass* Class()
                         TClass* IsA() const
                            void ShowMembers(TMemberInspector& insp, char* parent)
                            void Streamer(TBuffer& b)
                            void StreamerNVirtual(TBuffer& b)
            TVirtualHistPainter& operator=(const TVirtualHistPainter&)

Author: Rene Brun 30/08/99
Last update: root/hist:$Name: $:$Id: TVirtualHistPainter.cxx,v 1.3 2002/07/16 17:20:17 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *