library: libRGL
#include "TGLLegoPainter.h"

TGLLegoPainter


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

class TGLLegoPainter: public TGLPlotPainter

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TGLLegoPainter(TH1* hist, TGLOrthoCamera* camera, TGLPlotCoordinates* coord, Int_t ctx = -1)
~TGLLegoPainter()
virtual voidAddOption(const TString& stringOption)
static TClass*Class()
Bool_tTGLPlotPainter::CutAxisSelected() const
virtual char*GetPlotInfo(Int_t px, Int_t py)
virtual Bool_tInitGeometry()
voidTGLPlotPainter::InvalidateSelection()
virtual TClass*IsA() const
virtual voidTGLPlotPainter::Paint()
virtual voidPan(Int_t px, Int_t py)
virtual Bool_tTGLPlotPainter::PlotSelected(Int_t px, Int_t py)
virtual voidProcessEvent(Int_t event, Int_t px, Int_t py)
virtual voidTGLPlotPainter::SetFrameColor(const TColor* frameColor)
voidTGLPlotPainter::SetGLContext(Int_t context)
voidTGLPlotPainter::SetPadColor(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:
voidTGLPlotPainter::DrawSections() const
Int_tTGLPlotPainter::GetGLContext() const
const TColor*TGLPlotPainter::GetPadColor() const
Bool_tTGLPlotPainter::MakeGLContextCurrent() const
voidTGLPlotPainter::MoveSection(Int_t px, Int_t py)
voidTGLPlotPainter::PrintPlot() const
private:
TGLLegoPainter(const TGLLegoPainter&)
Bool_tClampZ(Double_t& zVal) const
virtual voidClearBuffers() const
voidDrawLegoCartesian() const
voidDrawLegoCylindrical() const
voidDrawLegoPolar() const
voidDrawLegoSpherical() const
virtual voidDrawPlot() const
virtual voidDrawSectionXOY() const
virtual voidDrawSectionXOZ() const
virtual voidDrawSectionYOZ() const
Bool_tInitGeometryCartesian()
Bool_tInitGeometryCylindrical()
Bool_tInitGeometryPolar()
Bool_tInitGeometrySpherical()
virtual voidInitGL() const
TGLLegoPainter&operator=(const TGLLegoPainter&)
Bool_tPreparePalette() const
voidSetLegoColor() const

Data Members

public:
enum ELegoType { kColorSimple
kColorLevel
kCylindricBars
};
enum TGLPlotPainter::ESelectionBase { kHighColorSelectionBase
kTrueColorSelectionBase
};
enum TGLPlotPainter::ECutAxisID { kXAxis
kYAxis
kZAxis
};
protected:
TH1*TGLPlotPainter::fHist
TAxis*TGLPlotPainter::fXAxis
TAxis*TGLPlotPainter::fYAxis
TAxis*TGLPlotPainter::fZAxis
TGLPlotCoordinates*TGLPlotPainter::fCoord
TGLOrthoCamera*TGLPlotPainter::fCamera
TGLSelectionBufferTGLPlotPainter::fSelection
Bool_tTGLPlotPainter::fUpdateSelection
Bool_tTGLPlotPainter::fSelectionPass
Int_tTGLPlotPainter::fSelectedPart
TPointTGLPlotPainter::fMousePosition
Double_tTGLPlotPainter::fXOZSectionPos
Double_tTGLPlotPainter::fYOZSectionPos
Double_tTGLPlotPainter::fXOYSectionPos
TGLPlotBoxTGLPlotPainter::fBackBox
TGLBoxCutTGLPlotPainter::fBoxCut
vector<Double_t>TGLPlotPainter::fZLevels
Bool_tTGLPlotPainter::fHighColor
TGLPlotPainter::ESelectionBaseTGLPlotPainter::fSelectionBase
private:
TGLLegoPainter::ELegoTypefLegoType
Double_tfMinZ
pair<double,double>fMinMaxValFor texture coordinates generation.
vector<Rgl::Range_t>fXEdges
vector<Rgl::Range_t>fYEdges
vector<pair<double,double>,allocator<pair<double,double> > >fCosSinTableX
vector<pair<double,double>,allocator<pair<double,double> > >fCosSinTableY
TStringfBinInfo
TGLQuadricfQuadric
Bool_tfDrawErrors
TGLLevelPalettefPalette
vector<Double_t>fColorLevels

Class Description

TGLLegoPainter(TH1 *hist, TGLOrthoCamera *cam, TGLPlotCoordinates *coord, Int_t ctx)
Ctor.
char * GetPlotInfo(Int_t /*px*/, Int_t /*py*/)
Obtain bin's info (i, j, value).
Bool_t InitGeometry()
Select method.
Bool_t InitGeometryCartesian()
Geometry for lego in cartesian coords.
Bool_t InitGeometryPolar()
Geometry for lego in polar coords.
Bool_t InitGeometryCylindrical()
Geometry for lego in cylindrical coords.
Bool_t InitGeometrySpherical()
Geometry for lego in spherical coords.
void StartPan(Int_t px, Int_t py)
User clicks on a lego with middle mouse button (middle for pad).
void Pan(Int_t px, Int_t py)
Move lego or section.
void AddOption(const TString &option)
Parse additional options.
void InitGL()
Initialize some gl state variables.
void DrawPlot()
Select method corresponding to coordinate system.
void DrawLegoCartesian()
Lego in cartesian system.
void DrawLegoPolar()
Lego in polar system.
void DrawLegoCylindrical()
Lego in cylindrical system.
void DrawLegoSpherical()
Lego in spherical system.
void SetLegoColor()
Set lego's color.
void ClearBuffers()
Clear buffer with pad's color.
void DrawSectionXOZ()
XOZ plane parallel section.
void DrawSectionYOZ()
YOZ plane parallel section.
void DrawSectionXOY()
Empty. No such sections for lego.
void ProcessEvent(Int_t event, Int_t /*px*/, Int_t py)
Remove all sections and repaint.
Bool_t ClampZ(Double_t &zVal)
Clamp z value.
Bool_t PreparePalette()
Initialize color palette.
TGLLegoPainter(const TGLLegoPainter &)

Author: Timur Pocheptsov 14/06/2006
Last update: root/gl:$Name: $:$Id: TGLLegoPainter.cxx,v 1.8 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.