#include <TGLPlotPainter.h>
Inheritance diagram for TGLTH3Slice:
Definition at line 109 of file TGLPlotPainter.h.
Definition at line 111 of file TGLPlotPainter.h.
Definition at line 111 of file TGLPlotPainter.h.
TGLTH3Slice::TGLTH3Slice | ( | const TString & | sliceName, | |
const TH3 * | hist, | |||
const TGLPlotCoordinates * | coord, | |||
const TGLPlotBox * | box, | |||
ESliceAxis | axis | |||
) |
TGLTH3Slice::TGLTH3Slice | ( | const TString & | sliceName, | |
const TH3 * | hist, | |||
const TF3 * | fun, | |||
const TGLPlotCoordinates * | coord, | |||
const TGLPlotBox * | box, | |||
ESliceAxis | axis | |||
) |
Definition at line 1641 of file TGLPlotPainter.cxx.
References fAxis, fAxisType, fHist, TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), kXOZ, and kYOZ.
TGLTH3Slice::TGLTH3Slice | ( | const TString & | sliceName, | |
const TH3 * | hist, | |||
const TGLPlotCoordinates * | coord, | |||
const TGLPlotBox * | box, | |||
ESliceAxis | axis | |||
) |
TGLTH3Slice::TGLTH3Slice | ( | const TString & | sliceName, | |
const TH3 * | hist, | |||
const TF3 * | fun, | |||
const TGLPlotCoordinates * | coord, | |||
const TGLPlotBox * | box, | |||
ESliceAxis | axis | |||
) |
void TGLTH3Slice::DrawSlice | ( | Double_t | pos | ) | const |
Definition at line 1671 of file TGLPlotPainter.cxx.
References TGLLevelPalette::DisableTexture(), DrawSliceTextured(), TGLLevelPalette::EnableTexture(), fAxis, fF3, FindMinMax(), fPalette, fSliceWidth, TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetFirst(), TAxis::GetLast(), GL_LIGHTING, GL_REPLACE, i, low, PreparePalette(), and PrepareTexCoords().
Referenced by TGLIsoPainter::DrawSectionXOY(), TGLBoxPainter::DrawSectionXOY(), TGLTF3Painter::DrawSectionXOY(), TGLIsoPainter::DrawSectionXOZ(), TGLBoxPainter::DrawSectionXOZ(), TGLTF3Painter::DrawSectionXOZ(), TGLBoxPainter::DrawSectionYOZ(), TGLTF3Painter::DrawSectionYOZ(), and TGLIsoPainter::DrawSectionYOZ().
void TGLTH3Slice::SetSliceWidth | ( | Int_t | width = 1 |
) |
Definition at line 1657 of file TGLPlotPainter.cxx.
References fAxis, fSliceWidth, TAxis::GetFirst(), and TAxis::GetLast().
void TGLTH3Slice::SetMinMax | ( | const Rgl::Range_t & | newRange | ) | [inline] |
Definition at line 145 of file TGLPlotPainter.h.
References fMinMax.
Referenced by TGLBoxPainter::InitGeometry().
const TGLLevelPalette& TGLTH3Slice::GetPalette | ( | ) | const [inline] |
Definition at line 150 of file TGLPlotPainter.h.
References fPalette.
Referenced by TGLBoxPainter::DrawPalette().
void TGLTH3Slice::PrepareTexCoords | ( | Double_t | pos, | |
Int_t | sliceBegin, | |||
Int_t | sliceEnd | |||
) | const [private] |
Definition at line 1773 of file TGLPlotPainter.cxx.
References TF1::Eval(), fAxisType, fCoord, fF3, fHist, fMinMax, fPalette, fTexCoords, TAxis::GetBinCenter(), TH1::GetBinContent(), TGLPlotCoordinates::GetFirstXBin(), TGLPlotCoordinates::GetFirstYBin(), TGLPlotCoordinates::GetFirstZBin(), TGLPlotCoordinates::GetLastXBin(), TGLPlotCoordinates::GetLastYBin(), TGLPlotCoordinates::GetLastZBin(), TGLPlotCoordinates::GetNXBins(), TGLPlotCoordinates::GetNYBins(), TGLPlotCoordinates::GetNZBins(), TGLLevelPalette::GetTexCoord(), TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), i, j, kXOY, kXOZ, kYOZ, level, and val.
Referenced by DrawSlice().
Bool_t TGLTH3Slice::PreparePalette | ( | ) | const [private] |
Definition at line 1762 of file TGLPlotPainter.cxx.
References fHist, fMinMax, fPalette, TGLLevelPalette::GeneratePalette(), TStyle::GetNumberContours(), and gStyle.
Referenced by DrawSlice().
void TGLTH3Slice::DrawSliceTextured | ( | Double_t | pos | ) | const [private] |
Definition at line 1858 of file TGLPlotPainter.cxx.
References fAxisType, fCoord, fHist, fTexCoords, TAxis::GetBinCenter(), TGLPlotCoordinates::GetFirstXBin(), TGLPlotCoordinates::GetFirstYBin(), TGLPlotCoordinates::GetFirstZBin(), TGLPlotCoordinates::GetLastXBin(), TGLPlotCoordinates::GetLastYBin(), TGLPlotCoordinates::GetLastZBin(), TH1::GetXaxis(), TGLPlotCoordinates::GetXScale(), TH1::GetYaxis(), TGLPlotCoordinates::GetYScale(), TH1::GetZaxis(), TGLPlotCoordinates::GetZScale(), GL_POLYGON, glBegin(), glEnd(), glTexCoord1d(), glVertex3d(), i, j, kXOY, kXOZ, and kYOZ.
Referenced by DrawSlice().
Definition at line 1971 of file TGLPlotPainter.cxx.
References box(), DrawBoxOutline(), fAxis, fAxisType, fBox, fCoord, TGLPlotBox::Get3DBox(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TGLPlotCoordinates::GetXScale(), TGLPlotCoordinates::GetYScale(), TGLPlotCoordinates::GetZScale(), glColor3d(), kXOY, kXOZ, kYOZ, X, and Y.
void TGLTH3Slice::DrawSlice | ( | Double_t | pos | ) | const |
void TGLTH3Slice::SetSliceWidth | ( | Int_t | width = 1 |
) |
void TGLTH3Slice::SetMinMax | ( | const Rgl::Range_t & | newRange | ) | [inline] |
const TGLLevelPalette& TGLTH3Slice::GetPalette | ( | ) | const [inline] |
void TGLTH3Slice::PrepareTexCoords | ( | Double_t | pos, | |
Int_t | sliceBegin, | |||
Int_t | sliceEnd | |||
) | const [private] |
Bool_t TGLTH3Slice::PreparePalette | ( | ) | const [private] |
void TGLTH3Slice::DrawSliceTextured | ( | Double_t | pos | ) | const [private] |
ESliceAxis TGLTH3Slice::fAxisType [private] |
Definition at line 114 of file TGLPlotPainter.h.
Referenced by DrawSliceFrame(), DrawSliceTextured(), PrepareTexCoords(), and TGLTH3Slice().
TAxis* TGLTH3Slice::fAxis [private] |
Definition at line 115 of file TGLPlotPainter.h.
Referenced by DrawSlice(), DrawSliceFrame(), SetSliceWidth(), and TGLTH3Slice().
TGLLevelPalette TGLTH3Slice::fPalette [mutable, private] |
Definition at line 116 of file TGLPlotPainter.h.
Referenced by DrawSlice(), GetPalette(), PreparePalette(), and PrepareTexCoords().
const TGLPlotCoordinates* TGLTH3Slice::fCoord [private] |
Definition at line 118 of file TGLPlotPainter.h.
Referenced by DrawSliceFrame(), DrawSliceTextured(), and PrepareTexCoords().
const TGLPlotBox* TGLTH3Slice::fBox [private] |
Int_t TGLTH3Slice::fSliceWidth [private] |
const TH3* TGLTH3Slice::fHist [private] |
Definition at line 122 of file TGLPlotPainter.h.
Referenced by DrawSliceTextured(), PreparePalette(), PrepareTexCoords(), and TGLTH3Slice().
const TF3* TGLTH3Slice::fF3 [private] |
TGL2DArray<Double_t> TGLTH3Slice::fTexCoords [mutable, private] |
Definition at line 125 of file TGLPlotPainter.h.
Referenced by DrawSliceTextured(), and PrepareTexCoords().
Rgl::Range_t TGLTH3Slice::fMinMax [mutable, private] |
Definition at line 127 of file TGLPlotPainter.h.
Referenced by PreparePalette(), PrepareTexCoords(), and SetMinMax().
TAxis* TGLTH3Slice::fAxis [private] |
Definition at line 115 of file TGLPlotPainter.h.
const TGLPlotCoordinates* TGLTH3Slice::fCoord [private] |
Definition at line 118 of file TGLPlotPainter.h.
const TGLPlotBox* TGLTH3Slice::fBox [private] |
Definition at line 119 of file TGLPlotPainter.h.
const TH3* TGLTH3Slice::fHist [private] |
Definition at line 122 of file TGLPlotPainter.h.
const TF3* TGLTH3Slice::fF3 [private] |
Definition at line 123 of file TGLPlotPainter.h.
TGL2DArray<Double_t> TGLTH3Slice::fTexCoords [mutable, private] |
Definition at line 125 of file TGLPlotPainter.h.