#include <TGLBoxPainter.h>
Inheritance diagram for TGLBoxPainter:
Definition at line 32 of file TGLBoxPainter.h.
enum TGLBoxPainter::EBoxType [private] |
Definition at line 38 of file TGLBoxPainter.h.
enum TGLBoxPainter::EBoxType [private] |
Definition at line 38 of file TGLBoxPainter.h.
TGLBoxPainter::TGLBoxPainter | ( | const TGLBoxPainter & | ) | [private] |
TGLBoxPainter::TGLBoxPainter | ( | TH1 * | hist, | |
TGLPlotCamera * | camera, | |||
TGLPlotCoordinates * | coord | |||
) |
TGLBoxPainter::TGLBoxPainter | ( | const TGLBoxPainter & | ) | [private] |
TGLBoxPainter::TGLBoxPainter | ( | TH1 * | hist, | |
TGLPlotCamera * | camera, | |||
TGLPlotCoordinates * | coord | |||
) |
TGLBoxPainter& TGLBoxPainter::operator= | ( | const TGLBoxPainter & | ) | [private] |
Implements TVirtualGLPainter.
Definition at line 48 of file TGLBoxPainter.cxx.
References TString::Data(), TGLPlotPainter::fCoord, TGLPlotPainter::fHighColor, TGLPlotPainter::fHist, TString::Form(), fPlotInfo, TGLPlotPainter::fSelectedPart, TGLPlotPainter::fSelectionBase, TH1::GetBinContent(), TGLPlotCoordinates::GetFirstXBin(), TGLPlotCoordinates::GetFirstYBin(), TGLPlotCoordinates::GetFirstZBin(), TNamed::GetName(), TGLPlotCoordinates::GetNYBins(), and TGLPlotCoordinates::GetNZBins().
Bool_t TGLBoxPainter::InitGeometry | ( | ) | [virtual] |
Implements TGLPlotPainter.
Definition at line 77 of file TGLBoxPainter.cxx.
References TGLPlotPainter::fBackBox, TGLPlotPainter::fCamera, TGLPlotPainter::fCoord, TGLPlotPainter::fHist, fMinMaxVal, TGLPlotPainter::fUpdateSelection, TGLPlotPainter::fXOYSectionPos, fXOYSlice, TGLPlotPainter::fXOZSectionPos, fXOZSlice, TGLPlotPainter::fYOZSectionPos, fYOZSlice, TGLPlotBox::Get3DBox(), TH1::GetBinContent(), TGLPlotCoordinates::GetFirstXBin(), TGLPlotCoordinates::GetFirstYBin(), TGLPlotCoordinates::GetFirstZBin(), TGLPlotCoordinates::GetLastXBin(), TGLPlotCoordinates::GetLastYBin(), TGLPlotCoordinates::GetLastZBin(), TGLPlotCoordinates::GetXRangeScaled(), TGLPlotCoordinates::GetYRangeScaled(), TGLPlotCoordinates::GetZRangeScaled(), kFALSE, kTRUE, TMath::Max(), TMath::Min(), TGLPlotCoordinates::Modified(), TGLPlotCoordinates::ResetModified(), TGLTH3Slice::SetMinMax(), TGLPlotBox::SetPlotBox(), TGLPlotCoordinates::SetRanges(), TGLPlotCamera::SetViewVolume(), TGLPlotCoordinates::SetXLog(), TGLPlotCoordinates::SetYLog(), TGLPlotCoordinates::SetZLog(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
Implements TGLPlotPainter.
Definition at line 120 of file TGLBoxPainter.cxx.
References TGLPlotPainter::fBoxCut, TGLPlotPainter::fCamera, TGLPlotPainter::fMousePosition, TPoint::fX, TPoint::fY, TGLPlotCamera::GetHeight(), TGLBoxCut::StartMovement(), and TGLPlotCamera::StartPan().
Implements TVirtualGLPainter.
Definition at line 132 of file TGLBoxPainter.cxx.
References TGLPlotCamera::Apply(), TGLPlotPainter::fBoxCut, TGLPlotPainter::fCamera, TGLPlotPainter::fHighColor, TGLPlotPainter::fMousePosition, TGLPlotPainter::fPadPhi, TGLPlotPainter::fPadTheta, TGLPlotPainter::fSelectedPart, TGLPlotPainter::fSelectionBase, TGLPlotPainter::fUpdateSelection, TPoint::fX, TPoint::fY, TGLPlotCamera::GetHeight(), TGLBoxCut::IsActive(), kTRUE, TGLPlotPainter::kXAxis, TGLPlotPainter::kZAxis, TGLBoxCut::MoveBox(), TGLPlotPainter::MoveSection(), TGLPlotCamera::Pan(), TGLPlotPainter::RestoreModelviewMatrix(), TGLPlotPainter::RestoreProjectionMatrix(), TGLPlotPainter::SaveModelviewMatrix(), TGLPlotPainter::SaveProjectionMatrix(), and TGLPlotCamera::SetCamera().
void TGLBoxPainter::AddOption | ( | const TString & | stringOption | ) | [virtual] |
Implements TGLPlotPainter.
Definition at line 176 of file TGLBoxPainter.cxx.
References TGLPlotPainter::fDrawPalette, fType, kBox, kBox1, kFALSE, kNPOS, kTRUE, and option.
Implements TGLPlotPainter.
Definition at line 189 of file TGLBoxPainter.cxx.
References TGLPlotPainter::fBackBox, TGLPlotPainter::fBoxCut, TGLPlotPainter::fHighColor, Form(), TGLPlotPainter::fUpdateSelection, TGLPlotPainter::fXOYSectionPos, TGLPlotPainter::fXOZSectionPos, TGLPlotPainter::fYOZSectionPos, TGLPlotBox::Get3DBox(), gROOT, gVirtualX, HasSections(), Info, TGLBoxCut::IsActive(), kButton1Double, kKey_C, kKey_c, kKeyPress, kTRUE, TGLPlotPainter::Paint(), TROOT::ProcessLineFast(), TGLBoxCut::TurnOnOff(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
void TGLBoxPainter::InitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 214 of file TGLBoxPainter.cxx.
References GL_BACK, GL_CULL_FACE, GL_DEPTH_TEST, GL_LIGHT0, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHTING, GL_TRUE, glCullFace(), glEnable(), and glLightModeli().
void TGLBoxPainter::DeInitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 228 of file TGLBoxPainter.cxx.
References GL_CULL_FACE, GL_DEPTH_TEST, GL_FALSE, GL_LIGHT0, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHTING, glDisable(), and glLightModeli().
void TGLBoxPainter::DrawPlot | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 326 of file TGLBoxPainter.cxx.
References TMath::Abs(), TGLBoxCut::DrawBox(), TGLPlotBox::DrawBox(), Rgl::DrawBoxFront(), DrawMinusSigns(), DrawPalette(), TGLPlotPainter::DrawSections(), Rgl::DrawSphere(), TGLPlotPainter::fBackBox, TGLPlotPainter::fBoxCut, TGLPlotPainter::fCoord, TGLPlotPainter::fDrawPalette, TGLPlotPainter::fHighColor, TGLPlotPainter::fHist, fMinMaxVal, fQuadric, TGLPlotPainter::fSelectedPart, TGLPlotPainter::fSelectionBase, TGLPlotPainter::fSelectionPass, fType, TGLPlotPainter::fXAxis, TGLPlotPainter::fYAxis, TGLPlotPainter::fZAxis, TGLPlotPainter::fZLevels, TGLPlotBox::Get2DBox(), TH1::GetBinContent(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetBinWidth(), TGLPlotCoordinates::GetFirstXBin(), TGLPlotCoordinates::GetFirstYBin(), TGLPlotCoordinates::GetFirstZBin(), TGLPlotBox::GetFrontPoint(), TGLPlotCoordinates::GetLastXBin(), TGLPlotCoordinates::GetLastYBin(), TGLPlotCoordinates::GetLastZBin(), TGLPlotCoordinates::GetNXBins(), TGLPlotCoordinates::GetNYBins(), TGLPlotCoordinates::GetNZBins(), TGLPlotCoordinates::GetXScale(), TGLPlotCoordinates::GetYScale(), TGLPlotCoordinates::GetZScale(), GL_BLEND, GL_CULL_FACE, GL_EMISSION, GL_FILL, GL_FRONT, GL_LIGHTING, GL_LINE, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_NICEST, GL_ONE_MINUS_SRC_ALPHA, GL_POLYGON_OFFSET_FILL, GL_SRC_ALPHA, glBlendFunc(), glColor4d(), glDisable(), glEnable(), glHint(), glMaterialfv(), glPolygonMode(), glPolygonOffset(), Rgl::gNullEmission, Rgl::gOrangeEmission, HasSections(), i, TGLBoxCut::IsActive(), TGLBoxCut::IsInCut(), j, k, kBox, kBox1, kInit, TMath::Max(), Rgl::ObjectIDToColor(), SetPlotColor(), w, and TGLVertex3::Y().
void TGLBoxPainter::SetPlotColor | ( | ) | const [private] |
Definition at line 461 of file TGLBoxPainter.cxx.
References c, TGLPlotPainter::fHist, TROOT::GetColor(), TAttFill::GetFillColor(), GL_DIFFUSE, GL_FRONT_AND_BACK, GL_SHININESS, GL_SPECULAR, glMaterialf(), glMaterialfv(), gROOT, and kWhite.
Referenced by DrawPlot().
void TGLBoxPainter::DrawSectionXOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 478 of file TGLBoxPainter.cxx.
References TGLTH3Slice::DrawSlice(), TGLPlotPainter::fCoord, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fXOZSectionPos, fXOZSlice, and TGLPlotCoordinates::GetYScale().
void TGLBoxPainter::DrawSectionYOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 488 of file TGLBoxPainter.cxx.
References TGLTH3Slice::DrawSlice(), TGLPlotPainter::fCoord, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fYOZSectionPos, fYOZSlice, and TGLPlotCoordinates::GetXScale().
void TGLBoxPainter::DrawSectionXOY | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 498 of file TGLBoxPainter.cxx.
References TGLTH3Slice::DrawSlice(), TGLPlotPainter::fCoord, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fXOYSectionPos, fXOYSlice, and TGLPlotCoordinates::GetZScale().
void TGLBoxPainter::DrawPalette | ( | ) | const [private] |
Definition at line 517 of file TGLBoxPainter.cxx.
References Rgl::DrawPalette(), TGLPlotPainter::fBackBox, TGLPlotPainter::fCamera, TGLPlotPainter::fPadPhi, TGLPlotPainter::fPadTheta, TGLPlotPainter::fXOYSectionPos, fXOYSlice, TGLPlotPainter::fXOZSectionPos, fXOZSlice, TGLPlotPainter::fYOZSectionPos, fYOZSlice, TGLPlotBox::Get3DBox(), TGLTH3Slice::GetPalette(), glFinish(), palette, X, Y, and Z.
Referenced by DrawPlot().
void TGLBoxPainter::DrawPaletteAxis | ( | ) | const [private, virtual] |
Reimplemented from TGLPlotPainter.
Definition at line 550 of file TGLBoxPainter.cxx.
References Rgl::DrawPaletteAxis(), TGLPlotPainter::fCamera, TGLPlotPainter::fCoord, fMinMaxVal, TGLPlotCoordinates::GetCoordType(), TGLPlotCoordinates::GetZLog(), gVirtualX, HasSections(), TVirtualX::kCopy, kFALSE, and kGLCartesian.
Bool_t TGLBoxPainter::HasSections | ( | ) | const [private] |
Definition at line 508 of file TGLBoxPainter.cxx.
References TGLPlotPainter::fBackBox, TGLPlotPainter::fXOYSectionPos, TGLPlotPainter::fXOZSectionPos, TGLPlotPainter::fYOZSectionPos, TGLPlotBox::Get3DBox(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
Referenced by DrawPaletteAxis(), DrawPlot(), and ProcessEvent().
TGLBoxPainter& TGLBoxPainter::operator= | ( | const TGLBoxPainter & | ) | [private] |
Implements TVirtualGLPainter.
Bool_t TGLBoxPainter::InitGeometry | ( | ) | [virtual] |
Implements TGLPlotPainter.
Implements TGLPlotPainter.
Implements TVirtualGLPainter.
void TGLBoxPainter::AddOption | ( | const TString & | stringOption | ) | [virtual] |
Implements TGLPlotPainter.
Implements TGLPlotPainter.
void TGLBoxPainter::InitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLBoxPainter::DeInitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLBoxPainter::DrawPlot | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLBoxPainter::SetPlotColor | ( | ) | const [private] |
void TGLBoxPainter::DrawSectionXOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLBoxPainter::DrawSectionYOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLBoxPainter::DrawSectionXOY | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLBoxPainter::DrawPalette | ( | ) | const [private] |
void TGLBoxPainter::DrawPaletteAxis | ( | ) | const [private, virtual] |
Reimplemented from TGLPlotPainter.
Bool_t TGLBoxPainter::HasSections | ( | ) | const [private] |
TGLTH3Slice TGLBoxPainter::fXOZSlice [private] |
Definition at line 34 of file TGLBoxPainter.h.
Referenced by DrawPalette(), DrawSectionXOZ(), and InitGeometry().
TGLTH3Slice TGLBoxPainter::fYOZSlice [private] |
Definition at line 35 of file TGLBoxPainter.h.
Referenced by DrawPalette(), DrawSectionYOZ(), and InitGeometry().
TGLTH3Slice TGLBoxPainter::fXOYSlice [private] |
Definition at line 36 of file TGLBoxPainter.h.
Referenced by DrawPalette(), DrawSectionXOY(), and InitGeometry().
EBoxType TGLBoxPainter::fType [mutable, private] |
TString TGLBoxPainter::fPlotInfo [private] |
Rgl::Range_t TGLBoxPainter::fMinMaxVal [private] |
Definition at line 46 of file TGLBoxPainter.h.
Referenced by DrawPaletteAxis(), DrawPlot(), and InitGeometry().
TGLQuadric TGLBoxPainter::fQuadric [mutable, private] |