#include <TGLTF3Painter.h>
Inheritance diagram for TGLIsoPainter:
Definition at line 91 of file TGLTF3Painter.h.
typedef Rgl::Mc::TIsoMesh<Float_t> TGLIsoPainter::Mesh_t [private] |
Definition at line 93 of file TGLTF3Painter.h.
typedef std::list<Mesh_t> TGLIsoPainter::MeshList_t [private] |
Definition at line 94 of file TGLTF3Painter.h.
typedef std::list<Mesh_t>::iterator TGLIsoPainter::MeshIter_t [private] |
Definition at line 95 of file TGLTF3Painter.h.
typedef std::list<Mesh_t>::const_iterator TGLIsoPainter::ConstMeshIter_t [private] |
Definition at line 96 of file TGLTF3Painter.h.
typedef Rgl::Mc::TIsoMesh<Float_t> TGLIsoPainter::Mesh_t [private] |
Definition at line 93 of file TGLTF3Painter.h.
typedef std::list<Mesh_t> TGLIsoPainter::MeshList_t [private] |
Definition at line 94 of file TGLTF3Painter.h.
typedef std::list<Mesh_t>::iterator TGLIsoPainter::MeshIter_t [private] |
Definition at line 95 of file TGLTF3Painter.h.
typedef std::list<Mesh_t>::const_iterator TGLIsoPainter::ConstMeshIter_t [private] |
Definition at line 96 of file TGLTF3Painter.h.
TGLIsoPainter::TGLIsoPainter | ( | TH1 * | hist, | |
TGLPlotCamera * | camera, | |||
TGLPlotCoordinates * | coord | |||
) |
TGLIsoPainter::TGLIsoPainter | ( | const TGLIsoPainter & | ) | [private] |
TGLIsoPainter::TGLIsoPainter | ( | TH1 * | hist, | |
TGLPlotCamera * | camera, | |||
TGLPlotCoordinates * | coord | |||
) |
TGLIsoPainter::TGLIsoPainter | ( | const TGLIsoPainter & | ) | [private] |
Bool_t TGLIsoPainter::InitGeometry | ( | ) | [virtual] |
Implements TGLPlotPainter.
Definition at line 392 of file TGLTF3Painter.cxx.
References Error, TGLPlotPainter::fBackBox, fCache, TGLPlotPainter::fCamera, fColorLevels, TGLPlotPainter::fCoord, fDummyMesh, TGLPlotPainter::fHist, FindMinMax(), fInit, fIsos, fMinMax, fPalette, TGLPlotPainter::fUpdateSelection, TGLPlotPainter::fXOYSectionPos, TGLPlotPainter::fXOZSectionPos, TGLPlotPainter::fYOZSectionPos, TGLLevelPalette::GeneratePalette(), TGLPlotBox::Get3DBox(), TH1::GetContour(), TH1::GetContourLevelPad(), TH1::GetDimension(), TH1::GetNbinsX(), TH1::GetNbinsY(), TH1::GetNbinsZ(), TH1::GetSumOfWeights(), TGLPlotCoordinates::GetXRangeScaled(), TGLPlotCoordinates::GetYRangeScaled(), TGLPlotCoordinates::GetZRangeScaled(), i, kFALSE, kGLCartesian, kTRUE, TH1::kUserContour, TGLPlotCoordinates::Modified(), TGLPlotCoordinates::ResetModified(), TGLPlotCoordinates::SetCoordType(), SetMesh(), TGLPlotBox::SetPlotBox(), TGLPlotCoordinates::SetRanges(), TGLPlotCamera::SetViewVolume(), TObject::TestBit(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
Implements TGLPlotPainter.
Definition at line 479 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 489 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 TGLIsoPainter::AddOption | ( | const TString & | option | ) | [virtual] |
Implements TGLPlotPainter.
Definition at line 542 of file TGLTF3Painter.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 TGLIsoPainter::InitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 570 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 TGLIsoPainter::DeInitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 581 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 TGLIsoPainter::DrawPlot | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 592 of file TGLTF3Painter.cxx.
References TGLBoxCut::DrawBox(), TGLPlotBox::DrawBox(), DrawMesh(), TGLPlotPainter::DrawSections(), Error, TGLPlotPainter::fBackBox, TGLPlotPainter::fBoxCut, fColorLevels, TGLPlotPainter::fHighColor, fIsos, TGLPlotPainter::fSelectedPart, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fZLevels, GL_BLEND, GL_FALSE, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, GL_TRUE, glBlendFunc(), glDepthMask(), glDisable(), glEnable(), HasSections(), and TGLBoxCut::IsActive().
void TGLIsoPainter::DrawSectionXOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 634 of file TGLTF3Painter.cxx.
References TGLTH3Slice::DrawSlice(), TGLPlotPainter::fCoord, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fXOZSectionPos, fXOZSlice, and TGLPlotCoordinates::GetYScale().
void TGLIsoPainter::DrawSectionYOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 643 of file TGLTF3Painter.cxx.
References TGLTH3Slice::DrawSlice(), TGLPlotPainter::fCoord, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fYOZSectionPos, fYOZSlice, and TGLPlotCoordinates::GetXScale().
void TGLIsoPainter::DrawSectionXOY | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 652 of file TGLTF3Painter.cxx.
References TGLTH3Slice::DrawSlice(), TGLPlotPainter::fCoord, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fXOYSectionPos, fXOYSlice, and TGLPlotCoordinates::GetZScale().
Bool_t TGLIsoPainter::HasSections | ( | ) | const [private] |
Definition at line 661 of file TGLTF3Painter.cxx.
References TGLPlotPainter::fBackBox, TGLPlotPainter::fXOYSectionPos, TGLPlotPainter::fXOZSectionPos, TGLPlotPainter::fYOZSectionPos, TGLPlotBox::Get3DBox(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
Referenced by DrawPlot(), and ProcessEvent().
void TGLIsoPainter::SetSurfaceColor | ( | Int_t | ind | ) | const [private] |
Definition at line 669 of file TGLTF3Painter.cxx.
References c, fColorLevels, TGLPlotPainter::fHist, fPalette, TROOT::GetColor(), TGLLevelPalette::GetColour(), TAttFill::GetFillColor(), GL_DIFFUSE, GL_EMISSION, GL_FRONT_AND_BACK, GL_SHININESS, GL_SPECULAR, glMaterialf(), glMaterialfv(), gROOT, and kWhite.
Referenced by DrawMesh().
Definition at line 694 of file TGLTF3Painter.cxx.
References Rgl::Mc::TMeshBuilder< DataSource, ValueType >::BuildMesh(), TGLPlotPainter::fCoord, TGLPlotPainter::fHist, TGLPlotPainter::fXAxis, TGLPlotPainter::fYAxis, TGLPlotPainter::fZAxis, TGLPlotCoordinates::GetXScale(), TGLPlotCoordinates::GetYScale(), TGLPlotCoordinates::GetZScale(), kTRUE, and m.
Referenced by InitGeometry().
Definition at line 721 of file TGLTF3Painter.cxx.
References Rgl::DrawMesh(), TGLPlotPainter::fBoxCut, TGLPlotPainter::fHighColor, TGLPlotPainter::fSelectionBase, TGLPlotPainter::fSelectionPass, TGLBoxCut::IsActive(), m, Rgl::ObjectIDToColor(), and SetSurfaceColor().
Referenced by DrawPlot().
void TGLIsoPainter::FindMinMax | ( | ) | [private] |
Definition at line 745 of file TGLTF3Painter.cxx.
References TGLPlotPainter::fHist, fMinMax, TGLPlotPainter::fXAxis, TGLPlotPainter::fYAxis, TGLPlotPainter::fZAxis, TH1::GetBinContent(), TAxis::GetFirst(), TAxis::GetLast(), i, j, k, TMath::Max(), and TMath::Min().
Referenced by InitGeometry().
TGLIsoPainter& TGLIsoPainter::operator= | ( | const TGLIsoPainter & | ) | [private] |
Implements TVirtualGLPainter.
Bool_t TGLIsoPainter::InitGeometry | ( | ) | [virtual] |
Implements TGLPlotPainter.
Implements TGLPlotPainter.
Implements TVirtualGLPainter.
void TGLIsoPainter::AddOption | ( | const TString & | option | ) | [virtual] |
Implements TGLPlotPainter.
Implements TGLPlotPainter.
void TGLIsoPainter::InitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLIsoPainter::DeInitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLIsoPainter::DrawPlot | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLIsoPainter::DrawSectionXOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLIsoPainter::DrawSectionYOZ | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGLIsoPainter::DrawSectionXOY | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Bool_t TGLIsoPainter::HasSections | ( | ) | const [private] |
void TGLIsoPainter::SetSurfaceColor | ( | Int_t | ind | ) | const [private] |
void TGLIsoPainter::FindMinMax | ( | ) | [private] |
TGLIsoPainter& TGLIsoPainter::operator= | ( | const TGLIsoPainter & | ) | [private] |
TGLTH3Slice TGLIsoPainter::fXOZSlice [private] |
TGLTH3Slice TGLIsoPainter::fYOZSlice [private] |
TGLTH3Slice TGLIsoPainter::fXOYSlice [private] |
Mesh_t TGLIsoPainter::fDummyMesh [private] |
MeshList_t TGLIsoPainter::fIsos [private] |
MeshList_t TGLIsoPainter::fCache [private] |
Rgl::Range_t TGLIsoPainter::fMinMax [private] |
TGLLevelPalette TGLIsoPainter::fPalette [private] |
Definition at line 111 of file TGLTF3Painter.h.
Referenced by InitGeometry(), and SetSurfaceColor().
std::vector<Double_t> TGLIsoPainter::fColorLevels [private] |
Definition at line 113 of file TGLTF3Painter.h.
Referenced by DrawPlot(), InitGeometry(), and SetSurfaceColor().
Bool_t TGLIsoPainter::fInit [private] |
std::vector<Double_t> TGLIsoPainter::fColorLevels [private] |
Definition at line 113 of file TGLTF3Painter.h.