class TGLPlotPainter: public TVirtualGLPainter


 Base class for plot-painters that provide GL rendering of various
 2D and 3D histograms, functions and parametric surfaces.

Function Members (Methods)

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

public:
~TGLPlotPainter()
virtual voidAddOption(const TString& stringOption)
static TClass*Class()
Bool_tCutAxisSelected() const
virtual voidDrawPlot() const
virtual char*TVirtualGLPainter::GetPlotInfo(Int_t px, Int_t py)
virtual Bool_tInitGeometry()
virtual voidInitGL() const
voidInvalidateSelection()
virtual TClass*IsA() const
TVirtualGLPainter&TVirtualGLPainter::operator=(const TVirtualGLPainter&)
virtual voidPaint()
virtual voidTVirtualGLPainter::Pan(Int_t px, Int_t py)
virtual Bool_tPlotSelected(Int_t px, Int_t py)
virtual voidProcessEvent(Int_t event, Int_t px, Int_t py)
const TGLPlotBox&RefBackBox() const
virtual voidSetFrameColor(const TColor* frameColor)
voidSetGLDevice(TGLPaintDevice* dev)
voidSetPadColor(const TColor* color)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStartPan(Int_t px, Int_t py)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
virtual voidClearBuffers() const
virtual voidDrawPaletteAxis() const
voidDrawSections() const
virtual voidDrawSectionXOY() const
virtual voidDrawSectionXOZ() const
virtual voidDrawSectionYOZ() const
const TColor*GetPadColor() const
Bool_tMakeGLContextCurrent() const
voidMoveSection(Int_t px, Int_t py)
voidPrintPlot() const

Data Members

public:
enum ESelectionBase { kHighColorSelectionBase
kTrueColorSelectionBase
};
enum ECutAxisID { kXAxis
kYAxis
kZAxis
};
protected:
TGLPlotBoxfBackBox
TGLBoxCutfBoxCut
TGLOrthoCamera*fCamera
TGLPlotCoordinates*fCoord
Bool_tfDrawPalette
Bool_tfHighColor
TH1*fHist
TPointfMousePosition
Double_tfPadPhi
Double_tfPadTheta
Int_tfSelectedPart
TGLSelectionBufferfSelection
TGLPlotPainter::ESelectionBasefSelectionBase
Bool_tfSelectionPass
Bool_tfUpdateSelection
TAxis*fXAxis
Double_tfXOYSectionPos
Double_tfXOZSectionPos
TAxis*fYAxis
Double_tfYOZSectionPos
TAxis*fZAxis
vector<Double_t>fZLevels
private:
TGLPaintDevice*fGLDevice
const TColor*fPadColor

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void Paint()
Draw lego.
void PrintPlot()
 Generate PS using gl2ps
Bool_t PlotSelected(Int_t px, Int_t py)
 Plot selected.
void SetPadColor(const TColor* color)
Used in a pad.
void SetFrameColor(const TColor* frameColor)
Set plot's back box color.
void InvalidateSelection()
Selection must be updated.
const TColor * GetPadColor()
Get pad color.
Bool_t MakeGLContextCurrent()
Make gl context current.
void MoveSection(Int_t px, Int_t py)
Create dynamic profile using selected plane
void DrawSections()
Draw sections (if any).
void ClearBuffers()
 Clear buffer.
void DrawPaletteAxis()
Draw. Palette. Axis.
const TGLPlotBox& RefBackBox()
{ return fBackBox; }
void InitGL()
void DrawPlot()
Bool_t InitGeometry()
Init geometry does plot's specific initialization.
void StartPan(Int_t px, Int_t py)
Pan function is already declared in TVirtualGLPainter.
void AddOption(const TString& stringOption)
Add string option, it can be a digit in "lego" or "surf".
void ProcessEvent(Int_t event, Int_t px, Int_t py)
Used by GLpad
   void             SetGLContext(Int_t context);
void SetGLDevice(TGLPaintDevice* dev)
{fGLDevice = dev;}
Bool_t CutAxisSelected()
{return !fHighColor && fSelectedPart <= kZAxis && fSelectedPart >= kXAxis;}
void DrawSectionXOZ()
void DrawSectionYOZ()
void DrawSectionXOY()

Author: Timur Pocheptsov 14/06/2006
Last change: root/gl:$Id: TGLPlotPainter.h 24186 2008-06-09 11:34:54Z matevz $
Last generated: 2008-06-25 08:41
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

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.