library: libRGL
#include "TGLBoxPainter.h"

TGLBoxPainter


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

class TGLBoxPainter: public TGLPlotPainter

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TGLBoxPainter(TH1* hist, TGLOrthoCamera* camera, TGLPlotCoordinates* coord, Int_t ctx = -1)
~TGLBoxPainter()
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:
TGLBoxPainter(const TGLBoxPainter&)
virtual voidClearBuffers() const
virtual voidDrawPlot() const
virtual voidDrawSectionXOY() const
virtual voidDrawSectionXOZ() const
virtual voidDrawSectionYOZ() const
Bool_tHasSections() const
virtual voidInitGL() const
TGLBoxPainter&operator=(const TGLBoxPainter&)
voidSetPlotColor() const

Data Members

public:
enum EBoxType { kBox
kBox1
};
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:
TGLTH3SlicefXOZSlice
TGLTH3SlicefYOZSlice
TGLTH3SlicefXOYSlice
TGLBoxPainter::EBoxTypefType
TStringfPlotInfo
pair<double,double>fMinMaxVal
TGLQuadricfQuadric

Class Description

TGLBoxPainter(TH1 *hist, TGLOrthoCamera *cam, TGLPlotCoordinates *coord, Int_t ctx)
 Normal constructor.
char * GetPlotInfo(Int_t, Int_t)
Show box info (i, j, k, binContent).
Bool_t InitGeometry()
Set ranges, find min and max bin content.
void StartPan(Int_t px, Int_t py)
 User clicks right mouse button (in a pad).
void Pan(Int_t px, Int_t py)
 User's moving mouse cursor, with middle mouse button pressed (for pad).
 Calculate 3d shift related to 2d mouse movement.
void AddOption(const TString &option)
 Box1 == spheres.
void ProcessEvent(Int_t event, Int_t /*px*/, Int_t py)
 Remove sections.
void InitGL()
 Initialize some gl state variables.
void DrawPlot()
 Draw set of boxes (spheres)
void ClearBuffers()
 Clear buffer.
void SetPlotColor()
 Set boxes color.
void DrawSectionXOZ()
 Draw XOZ parallel section.
void DrawSectionYOZ()
 Draw YOZ parallel section.
void DrawSectionXOY()
 Draw XOY parallel section.
Bool_t HasSections()
 Check, if any section exists.
TGLBoxPainter(const TGLBoxPainter &)

Last update: Sat Nov 25 07:34:57 2006


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.