library: libRGL
#include "TGLPlotPainter.h"

TGLPlotPainter


class description - header file - source file
viewCVS header - viewCVS source

class TGLPlotPainter: public TVirtualGLPainter

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
 
    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 char*TVirtualGLPainter::GetPlotInfo(Int_t px, Int_t py)
virtual Bool_tInitGeometry()
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)
virtual voidSetFrameColor(const TColor* frameColor)
voidSetGLContext(Int_t context)
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 voidDrawPlot() const
voidDrawSections() const
virtual voidDrawSectionXOY() const
virtual voidDrawSectionXOZ() const
virtual voidDrawSectionYOZ() const
Int_tGetGLContext() const
const TColor*GetPadColor() const
virtual voidInitGL() 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:
TH1*fHist
TAxis*fXAxis
TAxis*fYAxis
TAxis*fZAxis
TGLPlotCoordinates*fCoord
TGLOrthoCamera*fCamera
TGLSelectionBufferfSelection
Bool_tfUpdateSelection
Bool_tfSelectionPass
Int_tfSelectedPart
TPointfMousePosition
Double_tfXOZSectionPos
Double_tfYOZSectionPos
Double_tfXOYSectionPos
TGLPlotBoxfBackBox
TGLBoxCutfBoxCut
vector<Double_t>fZLevels
Bool_tfHighColor
TGLPlotPainter::ESelectionBasefSelectionBase
private:
Int_tfGLContext
const TColor*fPadColor

Class Description

void Paint()
Draw lego.
void PrintPlot()
 Generate PS using gl2ps
Bool_t PlotSelected(Int_t px, Int_t py)
 Plot selected.
void SetGLContext(Int_t context)
One plot can be painted in several gl contexts.
void SetPadColor(const TColor *c)
Used in a pad.
void SetFrameColor(const TColor *c)
Set plot's back box color.
void InvalidateSelection()
Selection must be updated.
Int_t GetGLContext()
Get gl context.
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).
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".
Function to process additional events (key presses, mouse clicks.)
void ProcessEvent(Int_t event, Int_t px, Int_t py)
Used by GLpad
Bool_t CutAxisSelected()
{return fSelectedPart <= kZAxis && fSelectedPart >= kXAxis;}
void DrawSectionXOZ()
void DrawSectionYOZ()
void DrawSectionXOY()
void InitGL()
void ClearBuffers()
void DrawPlot()

Author: Timur Pocheptsov 14/06/2006
Last update: root/gl:$Name: $:$Id: TGLPlotPainter.cxx,v 1.11 2006/11/24 15:57:45 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.