#include <TGLTF3Painter.h>
Inheritance diagram for TGLTF3Painter:
Definition at line 35 of file TGLTF3Painter.h.
enum TGLTF3Painter::ETF3Style [private] |
Definition at line 37 of file TGLTF3Painter.h.
enum TGLTF3Painter::ETF3Style [private] |
Definition at line 37 of file TGLTF3Painter.h.
TGLTF3Painter::TGLTF3Painter | ( | TF3 * | fun, | |
TH1 * | hist, | |||
TGLPlotCamera * | camera, | |||
TGLPlotCoordinates * | coord | |||
) |
TGLTF3Painter::TGLTF3Painter | ( | TF3 * | fun, | |
TH1 * | hist, | |||
TGLPlotCamera * | camera, | |||
TGLPlotCoordinates * | coord | |||
) |
Bool_t TGLTF3Painter::InitGeometry | ( | ) | [virtual] |
Implements TGLPlotPainter.
Definition at line 57 of file TGLTF3Painter.cxx.
References Rgl::Mc::TMeshBuilder< DataSource, ValueType >::BuildMesh(), TGLPlotPainter::fBackBox, TGLPlotPainter::fCamera, TGLPlotPainter::fCoord, fF3, TGLPlotPainter::fHist, fMesh, TGLPlotPainter::fUpdateSelection, TGLPlotPainter::fXAxis, TGLPlotPainter::fXOYSectionPos, TGLPlotPainter::fXOZSectionPos, TGLPlotPainter::fYAxis, TGLPlotPainter::fYOZSectionPos, TGLPlotPainter::fZAxis, TGLPlotBox::Get3DBox(), TGLPlotCoordinates::GetXRangeScaled(), TGLPlotCoordinates::GetXScale(), TGLPlotCoordinates::GetYRangeScaled(), TGLPlotCoordinates::GetYScale(), TGLPlotCoordinates::GetZRangeScaled(), TGLPlotCoordinates::GetZScale(), kFALSE, kGLCartesian, kTRUE, TGLPlotCoordinates::Modified(), TGLPlotCoordinates::ResetModified(), TGLPlotCoordinates::SetCoordType(), TGLPlotBox::SetPlotBox(), TGLPlotCoordinates::SetRanges(), TGLPlotCamera::SetViewVolume(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
Implements TGLPlotPainter.
Definition at line 92 of file TGLTF3Painter.cxx.
References TGLPlotPainter::fBoxCut, TGLPlotPainter::fCamera, TGLPlotPainter::fMousePosition, TPoint::fX, TPoint::fY, TGLPlotCamera::GetHeight(), TGLBoxCut::StartMovement(), and TGLPlotCamera::StartPan().
Implements TVirtualGLPainter.
Definition at line 102 of file TGLTF3Painter.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 TGLTF3Painter::AddOption | ( | const TString & | stringOption | ) | [virtual] |
Implements TGLPlotPainter.
Definition at line 153 of file TGLTF3Painter.cxx.
References TGLPlotPainter::fBackBox, TGLPlotPainter::fBoxCut, TGLPlotPainter::fHighColor, Form(), fStyle, TGLPlotPainter::fUpdateSelection, TGLPlotPainter::fXOYSectionPos, TGLPlotPainter::fXOZSectionPos, TGLPlotPainter::fYOZSectionPos, TGLPlotBox::Get3DBox(), gROOT, gVirtualX, HasSections(), Info, TGLBoxCut::IsActive(), kButton1Double, kDefault, kKey_C, kKey_c, kKey_S, kKey_s, kKeyPress, kMaple2, kTRUE, TGLPlotPainter::Paint(), TROOT::ProcessLineFast(), TGLBoxCut::TurnOnOff(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
void TGLTF3Painter::InitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 183 of file TGLTF3Painter.cxx.
References GL_CULL_FACE, GL_DEPTH_TEST, GL_LIGHT0, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHTING, GL_TRUE, glDisable(), glEnable(), and glLightModeli().
void TGLTF3Painter::DeInitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 194 of file TGLTF3Painter.cxx.
References GL_CULL_FACE, GL_DEPTH_TEST, GL_FALSE, GL_LIGHT0, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHTING, glDisable(), and glLightModeli().
void TGLTF3Painter::DrawPlot | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 286 of file TGLTF3Painter.cxx.
References TGLBoxCut::DrawBox(), TGLPlotBox::DrawBox(), DrawDefaultPlot(), DrawMaplePlot(), TGLPlotPainter::DrawSections(), DrawToSelectionBuffer(), TGLPlotPainter::fBackBox, TGLPlotPainter::fBoxCut, TGLPlotPainter::fHighColor, TGLPlotPainter::fSelectedPart, TGLPlotPainter::fSelectionPass, fStyle, TGLPlotPainter::fZLevels, TGLBoxCut::IsActive(), and kDefault.
void TGLTF3Painter::DrawToSelectionBuffer | ( | ) | const [private] |
Definition at line 205 of file TGLTF3Painter.cxx.
References Rgl::DrawMesh(), TGLPlotPainter::fBoxCut, TGLPlotPainter::fHighColor, fMesh, TGLPlotPainter::fSelectionBase, TGLBoxCut::IsActive(), and Rgl::ObjectIDToColor().
Referenced by DrawPlot().
void TGLTF3Painter::DrawDefaultPlot | ( | ) | const [private] |
Definition at line 217 of file TGLTF3Painter.cxx.
References Rgl::DrawMesh(), TGLPlotPainter::fBoxCut, fMesh, GL_BLEND, GL_FALSE, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, GL_TRUE, glBlendFunc(), glDepthMask(), glDisable(), glEnable(), HasSections(), TGLBoxCut::IsActive(), and SetSurfaceColor().
Referenced by DrawPlot().
void TGLTF3Painter::DrawMaplePlot | ( | ) | const [private] |
Definition at line 241 of file TGLTF3Painter.cxx.
References Rgl::DrawMapleMesh(), Rgl::DrawMesh(), TGLPlotPainter::fBoxCut, fMesh, fStyle, GL_BLEND, GL_FALSE, GL_FILL, GL_FRONT_AND_BACK, GL_LIGHTING, GL_LINE, GL_ONE_MINUS_SRC_ALPHA, GL_POLYGON_OFFSET_FILL, GL_SRC_ALPHA, GL_TRUE, glBlendFunc(), glColor4d(), glDepthMask(), glDisable(), glEnable(), glPolygonMode(), glPolygonOffset(), HasSections(), TGLBoxCut::IsActive(), kMaple1, and kMaple2.
Referenced by DrawPlot().
void TGLTF3Painter::SetSurfaceColor | ( | ) | const [private] |
Definition at line 309 of file TGLTF3Painter.cxx.
References c, fF3, TROOT::GetColor(), TAttFill::GetFillColor(), GL_BACK, GL_DIFFUSE, GL_FRONT, GL_FRONT_AND_BACK, GL_SHININESS, GL_SPECULAR, glMaterialf(), glMaterialfv(), gROOT, and kWhite.
Referenced by DrawDefaultPlot().
Bool_t TGLTF3Painter::HasSections | ( | ) | const [private] |
Definition at line 327 of file TGLTF3Painter.cxx.
References TGLPlotPainter::fBackBox, TGLPlotPainter::fXOYSectionPos, TGLPlotPainter::fXOZSectionPos, TGLPlotPainter::fYOZSectionPos, TGLPlotBox::Get3DBox(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
Referenced by DrawDefaultPlot(), DrawMaplePlot(), and ProcessEvent().
void TGLTF3Painter::DrawSectionXOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 336 of file TGLTF3Painter.cxx.
References TGLTH3Slice::DrawSlice(), TGLPlotPainter::fCoord, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fXOZSectionPos, fXOZSlice, and TGLPlotCoordinates::GetYScale().
void TGLTF3Painter::DrawSectionYOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 345 of file TGLTF3Painter.cxx.
References TGLTH3Slice::DrawSlice(), TGLPlotPainter::fCoord, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fYOZSectionPos, fYOZSlice, and TGLPlotCoordinates::GetXScale().
void TGLTF3Painter::DrawSectionXOY | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 354 of file TGLTF3Painter.cxx.
References TGLTH3Slice::DrawSlice(), TGLPlotPainter::fCoord, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fXOYSectionPos, fXOYSlice, and TGLPlotCoordinates::GetZScale().
Implements TVirtualGLPainter.
Bool_t TGLTF3Painter::InitGeometry | ( | ) | [virtual] |
Implements TGLPlotPainter.
Implements TGLPlotPainter.
Implements TVirtualGLPainter.
void TGLTF3Painter::AddOption | ( | const TString & | stringOption | ) | [virtual] |
Implements TGLPlotPainter.
Implements TGLPlotPainter.
void TGLTF3Painter::InitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLTF3Painter::DeInitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLTF3Painter::DrawPlot | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLTF3Painter::DrawToSelectionBuffer | ( | ) | const [private] |
void TGLTF3Painter::DrawDefaultPlot | ( | ) | const [private] |
void TGLTF3Painter::DrawMaplePlot | ( | ) | const [private] |
void TGLTF3Painter::SetSurfaceColor | ( | ) | const [private] |
Bool_t TGLTF3Painter::HasSections | ( | ) | const [private] |
void TGLTF3Painter::DrawSectionXOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLTF3Painter::DrawSectionYOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLTF3Painter::DrawSectionXOY | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
ETF3Style TGLTF3Painter::fStyle [private] |
Definition at line 44 of file TGLTF3Painter.h.
Referenced by DrawMaplePlot(), DrawPlot(), and ProcessEvent().
Rgl::Mc::TIsoMesh<Double_t> TGLTF3Painter::fMesh [private] |
Definition at line 46 of file TGLTF3Painter.h.
Referenced by DrawDefaultPlot(), DrawMaplePlot(), DrawToSelectionBuffer(), and InitGeometry().
TF3* TGLTF3Painter::fF3 [private] |
TGLTH3Slice TGLTF3Painter::fXOZSlice [private] |
TGLTH3Slice TGLTF3Painter::fYOZSlice [private] |
TGLTH3Slice TGLTF3Painter::fXOYSlice [private] |
Rgl::Mc::TIsoMesh<Double_t> TGLTF3Painter::fMesh [private] |
Definition at line 46 of file TGLTF3Painter.h.
TF3* TGLTF3Painter::fF3 [private] |
Definition at line 47 of file TGLTF3Painter.h.