#include <TGLTH3Composition.h>
Inheritance diagram for TGLTH3CompositionPainter:
Definition at line 71 of file TGLTH3Composition.h.
TGLTH3CompositionPainter::TGLTH3CompositionPainter | ( | TGLTH3Composition * | data, | |
TGLPlotCamera * | camera, | |||
TGLPlotCoordinates * | coord | |||
) |
TGLTH3CompositionPainter::TGLTH3CompositionPainter | ( | const TGLTH3CompositionPainter & | rhs | ) | [private] |
TGLTH3CompositionPainter::TGLTH3CompositionPainter | ( | TGLTH3Composition * | data, | |
TGLPlotCamera * | camera, | |||
TGLPlotCoordinates * | coord | |||
) |
TGLTH3CompositionPainter::TGLTH3CompositionPainter | ( | const TGLTH3CompositionPainter & | rhs | ) | [private] |
Bool_t TGLTH3CompositionPainter::InitGeometry | ( | ) | [virtual] |
Implements TGLPlotPainter.
Definition at line 124 of file TGLTH3Composition.cxx.
References TGLPlotPainter::fBackBox, TGLPlotPainter::fCamera, TGLPlotPainter::fCoord, fData, TGLPlotPainter::fHist, TGLTH3Composition::fHists, fMinMaxVal, for(), TGLPlotPainter::fUpdateSelection, TGLPlotBox::Get3DBox(), TGLPlotCoordinates::GetFirstXBin(), TGLPlotCoordinates::GetFirstYBin(), TGLPlotCoordinates::GetFirstZBin(), TGLPlotCoordinates::GetLastXBin(), TGLPlotCoordinates::GetLastYBin(), TGLPlotCoordinates::GetLastZBin(), TGLPlotCoordinates::GetXRangeScaled(), TGLPlotCoordinates::GetYRangeScaled(), TGLPlotCoordinates::GetZRangeScaled(), h, kFALSE, kTRUE, TMath::Max(), TMath::Min(), TGLPlotCoordinates::Modified(), TGLPlotCoordinates::ResetModified(), TGLPlotBox::SetPlotBox(), TGLPlotCoordinates::SetRanges(), TGLPlotCamera::SetViewVolume(), TGLPlotCoordinates::SetXLog(), TGLPlotCoordinates::SetYLog(), and TGLPlotCoordinates::SetZLog().
Implements TGLPlotPainter.
Definition at line 170 of file TGLTH3Composition.cxx.
References TGLPlotPainter::fBoxCut, TGLPlotPainter::fCamera, TGLPlotPainter::fMousePosition, TPoint::fX, TPoint::fY, TGLPlotCamera::GetHeight(), TGLBoxCut::StartMovement(), and TGLPlotCamera::StartPan().
Implements TVirtualGLPainter.
Definition at line 180 of file TGLTH3Composition.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(), TGLPlotCamera::Pan(), TGLPlotPainter::RestoreModelviewMatrix(), TGLPlotPainter::RestoreProjectionMatrix(), TGLPlotPainter::SaveModelviewMatrix(), TGLPlotPainter::SaveProjectionMatrix(), and TGLPlotCamera::SetCamera().
void TGLTH3CompositionPainter::AddOption | ( | const TString & | option | ) | [virtual] |
Implements TGLPlotPainter.
Definition at line 224 of file TGLTH3Composition.cxx.
References TGLPlotPainter::fBoxCut, TGLPlotPainter::fHighColor, Form(), TGLPlotPainter::fUpdateSelection, gROOT, gVirtualX, Info, TGLBoxCut::IsActive(), kButton1Double, kKey_C, kKey_c, kKeyPress, kTRUE, TGLPlotPainter::Paint(), TROOT::ProcessLineFast(), and TGLBoxCut::TurnOnOff().
void TGLTH3CompositionPainter::InitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 244 of file TGLTH3Composition.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 TGLTH3CompositionPainter::DeInitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 257 of file TGLTH3Composition.cxx.
References GL_CULL_FACE, GL_DEPTH_TEST, GL_FALSE, GL_LIGHT0, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHTING, glDisable(), and glLightModeli().
void TGLTH3CompositionPainter::DrawPlot | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 268 of file TGLTH3Composition.cxx.
References TMath::Abs(), TGLBoxCut::DrawBox(), TGLPlotBox::DrawBox(), Rgl::DrawBoxFront(), Rgl::DrawSphere(), TGLPlotPainter::fBackBox, TGLPlotPainter::fBoxCut, TGLPlotPainter::fCoord, fData, TGLPlotPainter::fHighColor, TGLTH3Composition::fHists, fMinMaxVal, fQuadric, TGLPlotPainter::fSelectedPart, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fXAxis, TGLPlotPainter::fYAxis, TGLPlotPainter::fZAxis, TGLPlotPainter::fZLevels, TGLPlotBox::Get2DBox(), 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_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(), glPolygonMode(), glPolygonOffset(), h, i, TGLBoxCut::IsActive(), TGLBoxCut::IsInCut(), j, k, kInit, TGLTH3Composition::kSphere, TMath::Max(), SetColor(), w, and TGLVertex3::Y().
void TGLTH3CompositionPainter::DrawSectionXOZ | ( | ) | const [inline, private, virtual] |
void TGLTH3CompositionPainter::DrawSectionYOZ | ( | ) | const [inline, private, virtual] |
void TGLTH3CompositionPainter::DrawSectionXOY | ( | ) | const [inline, private, virtual] |
void TGLTH3CompositionPainter::SetColor | ( | Int_t | color | ) | const [private] |
Definition at line 386 of file TGLTH3Composition.cxx.
References c, TROOT::GetColor(), GL_DIFFUSE, GL_FRONT_AND_BACK, GL_SHININESS, GL_SPECULAR, glMaterialf(), glMaterialfv(), gROOT, and kWhite.
Referenced by DrawPlot().
TGLTH3CompositionPainter& TGLTH3CompositionPainter::operator= | ( | const TGLTH3CompositionPainter & | rhs | ) | [private] |
Implements TVirtualGLPainter.
Bool_t TGLTH3CompositionPainter::InitGeometry | ( | ) | [virtual] |
Implements TGLPlotPainter.
Implements TGLPlotPainter.
Implements TVirtualGLPainter.
void TGLTH3CompositionPainter::AddOption | ( | const TString & | option | ) | [virtual] |
Implements TGLPlotPainter.
Implements TGLPlotPainter.
void TGLTH3CompositionPainter::InitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLTH3CompositionPainter::DeInitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLTH3CompositionPainter::DrawPlot | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLTH3CompositionPainter::DrawSectionXOZ | ( | ) | const [inline, private, virtual] |
void TGLTH3CompositionPainter::DrawSectionYOZ | ( | ) | const [inline, private, virtual] |
void TGLTH3CompositionPainter::DrawSectionXOY | ( | ) | const [inline, private, virtual] |
void TGLTH3CompositionPainter::SetColor | ( | Int_t | color | ) | const [private] |
TGLTH3CompositionPainter& TGLTH3CompositionPainter::operator= | ( | const TGLTH3CompositionPainter & | rhs | ) | [private] |
TGLTH3Composition* TGLTH3CompositionPainter::fData [private] |
std::pair<Double_t, Double_t> TGLTH3CompositionPainter::fMinMaxVal [private] |
TGLQuadric TGLTH3CompositionPainter::fQuadric [mutable, private] |
TGLTH3Composition* TGLTH3CompositionPainter::fData [private] |
Definition at line 98 of file TGLTH3Composition.h.
std::pair<Double_t, Double_t> TGLTH3CompositionPainter::fMinMaxVal [private] |
Definition at line 99 of file TGLTH3Composition.h.