12 #ifndef ROOT_TGLHistPainter
13 #define ROOT_TGLHistPainter
17 #ifndef ROOT_TVirtualHistPainter
20 #ifndef ROOT_TGLPlotPainter
23 #ifndef ROOT_TGLPlotCamera
Camera for TGLPlotPainter and sub-classes.
void SetStack(TList *stack)
Set stack.
void CreatePainter(const PlotOption_t &parsed, const TString &option)
Create painter.
Bool_t IsInside(Int_t x, Int_t y)
Returns kTRUE if the cell ix, iy is inside one of the graphical cuts.
void SetHistogram(TH1 *hist)
Set histogram.
void DrawPanel()
Default implementation is OK This function is called from a context menu after right click on a plot'...
Int_t DistancetoPrimitive(Int_t px, Int_t py)
Selects plot or axis.
void Paint(Option_t *option)
Final-overrider for TObject::Paint.
#define ClassDef(name, id)
Abstract interface to a histogram painter.
TGLPlotCoordinates fCoord
void PadToViewport(Bool_t selectionPass=kFALSE)
std::auto_ptr< TGLPlotPainter > fGLPainter
TGLParametricEquation * fEq
void ProcessMessage(const char *message, const TObject *obj)
Process message.
A 3-Dim function with parameters.
TGLHistPainter(TH1 *hist)
TList * GetContourList(Double_t contour) const
Get contour list.
Helper class for plot-painters holding information about axis ranges, numbers of bins and flags if ce...
TList * GetStack() const
Get stack.
TGLHistPainter & operator=(const TGLHistPainter &)
char * GetObjectInfo(Int_t px, Int_t py) const
Overrides TObject::GetObjectInfo.
A parametric surface is a surface defined by a parametric equation, involving two parameters (u...
Base class for plot-painters that provide GL rendering of various 2D and 3D histograms, functions and parametric surfaces.
TGLPlotPainter * GetRealPainter()
PlotOption_t ParsePaintOption(const TString &option) const
In principle, we can have several conflicting options: "lego surf pol sph", surfbb: surf...
void SetShowProjection(const char *option, Int_t nbins)
Set show projection.
The histogram painter class using OpenGL.
Mother of all ROOT objects.
std::auto_ptr< TVirtualHistPainter > fDefaultPainter
Int_t MakeCuts(char *cutsOpt)
Make cuts.
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute event.
void PaintStat(Int_t dostat, TF1 *fit)
Paint statistics.