library: libRGL
#include "TGLPadHistPainter.h"

TGLPadHistPainter


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

class TGLPadHistPainter : public TVirtualHistPainter

Inheritance Chart:
TObject
<-
TVirtualHistPainter
<-
TGLPadHistPainter
    private:
TGLPadHistPainter(const TGLPadHistPainter&) void CreatePainter(const TGLPadHistPainter::TGLPlotOption_t& parsed, const TString& option) TGLPadHistPainter& operator=(const TGLPadHistPainter&) TGLPadHistPainter::TGLPlotOption_t ParsePaintOption(const TString& option) const public:
TGLPadHistPainter(TH1* hist) ~TGLPadHistPainter() 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 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) virtual void Paint(Option_t* option) virtual void PaintStat(Int_t dostat, TF1* fit) virtual void ProcessMessage(const char* message, const TObject* obj) virtual void SetHistogram(TH1* hist) virtual void SetShowProjection(const char* option, Int_t nbins) virtual void SetStack(TList* stack) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
auto_ptr<TVirtualHistPainter> fDefaultPainter auto_ptr<TGLPlotPainter> fGLPainter TH1* fHist TF3* fF3 TList* fStack EGLPlotType fPlotType TGL2DAxisPainter f2DAxisPainter

Class Description

TGLPadHistPainter(TH1 *hist)
ROOT does not use exceptions, so, if default painter's creation failed,
fDefaultPainter is 0. In each function, which use it, I have to check pointer first.
Int_t DistancetoPrimitive(Int_t px, Int_t py)
Selects plot or axis.
9999 is the magic number, ROOT's classes use in DistancetoPrimitive.
void DrawPanel()
Default implementation is OK.
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
 Execute event.
void FitPanel()
Default implementation is OK.
TList * GetContourList(Double_t contour)
 Get contour list.
char * GetObjectInfo(Int_t px, Int_t py)
Overrides TObject::GetObjectInfo.
Displays the histogram info (bin number, contents, integral up to bin
corresponding to cursor position px,py.
TList * GetStack()
 Get stack.
Bool_t IsInside(Int_t x, Int_t y)
Returns kTRUE if the cell ix, iy is inside one of the graphical cuts.
Bool_t IsInside(Double_t x, Double_t y)
Returns kTRUE if the cell x, y is inside one of the graphical cuts.
void PaintStat(Int_t dostat, TF1 *fit)
 Paint statistics.
void ProcessMessage(const char *m, const TObject *o)
 Process message.
void SetHistogram(TH1 *h)
 Set histogram.
void SetStack(TList *s)
 Set stack.
Int_t MakeCuts(char *o)
 Make cuts.
void Paint(Option_t *o)
Final-overrider for TObject::Paint.
ParsePaintOption(const TString &option)
In principle, we can have several conflicting options: "lego surf pol sph",
but only one will be selected, which one - depends on parsing order in this function.
void CreatePainter(const TGLPlotOption_t &option, const TString &addOption)
 Create painter.
void SetShowProjection(const char *, Int_t)
 Set show projection.
TGLPadHistPainter(TH1 *hist)

Author: Timur Pocheptsov 14/06/2006
Last update: root/gl:$Name: $:$Id: TGLPadHistPainter.cxx,v 1.3 2006/06/19 09:10:25 couet Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.