#include <TGLPlotPainter.h>
Definition at line 48 of file TGLPlotPainter.h.
TGLBoxCut::TGLBoxCut | ( | const TGLPlotBox * | plotBox | ) |
TGLBoxCut::~TGLBoxCut | ( | ) | [virtual] |
Definition at line 1375 of file TGLPlotPainter.cxx.
TGLBoxCut::TGLBoxCut | ( | const TGLPlotBox * | plotBox | ) |
virtual TGLBoxCut::~TGLBoxCut | ( | ) | [virtual] |
void TGLBoxCut::TurnOnOff | ( | ) |
Definition at line 1381 of file TGLPlotPainter.cxx.
References fActive, and ResetBoxGeometry().
Referenced by TGL5DPainter::InitGeometry(), TGLBoxPainter::ProcessEvent(), TGL5DPainter::ProcessEvent(), TGLParametricPlot::ProcessEvent(), TGLTF3Painter::ProcessEvent(), TGLIsoPainter::ProcessEvent(), TGLLegoPainter::ProcessEvent(), TGLTH3CompositionPainter::ProcessEvent(), TGLSurfacePainter::ProcessEvent(), and SetActive().
Bool_t TGLBoxCut::IsActive | ( | ) | const [inline] |
Definition at line 69 of file TGLPlotPainter.h.
References fActive.
Referenced by TGLTF3Painter::DrawDefaultPlot(), TGLTF3Painter::DrawMaplePlot(), TGLIsoPainter::DrawMesh(), TGL5DPainter::DrawMesh(), TGLTF3Painter::DrawPlot(), TGL5DPainter::DrawPlot(), TGLIsoPainter::DrawPlot(), TGLSurfacePainter::DrawPlot(), TGLParametricPlot::DrawPlot(), TGLBoxPainter::DrawPlot(), TGLTH3CompositionPainter::DrawPlot(), TGLTF3Painter::DrawToSelectionBuffer(), TGL5DPainter::IsBoxCutShown(), TGLTH3CompositionPainter::Pan(), TGLLegoPainter::Pan(), TGL5DPainter::Pan(), TGLParametricPlot::Pan(), TGLH2PolyPainter::Pan(), TGLBoxPainter::Pan(), TGLIsoPainter::Pan(), TGLSurfacePainter::Pan(), TGLTF3Painter::Pan(), TGLBoxPainter::ProcessEvent(), TGLParametricPlot::ProcessEvent(), TGL5DPainter::ProcessEvent(), TGLIsoPainter::ProcessEvent(), TGLTF3Painter::ProcessEvent(), TGLLegoPainter::ProcessEvent(), TGLTH3CompositionPainter::ProcessEvent(), and TGLSurfacePainter::ProcessEvent().
void TGLBoxCut::SetActive | ( | Bool_t | a | ) |
Definition at line 1393 of file TGLPlotPainter.cxx.
References fActive, and TurnOnOff().
Referenced by TGL5DPainter::ShowBoxCut().
void TGLBoxCut::ResetBoxGeometry | ( | ) |
Definition at line 1402 of file TGLPlotPainter.cxx.
References AdjustBox(), box(), fCenter, fFactor, fPlotBox, fXLength, fYLength, fZLength, TGLPlotBox::Get3DBox(), TGLPlotBox::GetFrontPoint(), TGLVertex3::X(), X, TGLVertex3::Y(), Y, TGLVertex3::Z(), and Z.
Referenced by TGL5DPainter::ResetGeometryRanges(), and TurnOnOff().
void TGLBoxCut::SetFactor | ( | Double_t | f | ) | [inline] |
Definition at line 1438 of file TGLPlotPainter.cxx.
References Rgl::DrawBoxFront(), fPlotBox, fXRange, fYRange, fZRange, TGLPlotBox::GetFrontPoint(), GL_BLEND, GL_DIFFUSE, GL_FRONT_AND_BACK, GL_LIGHTING, GL_LINES, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, glBegin(), glBlendFunc(), glColor3d(), glDisable(), glEnable(), glEnd(), glGetBooleanv(), glLineWidth(), glMaterialfv(), glVertex3d(), kFALSE, TGLPlotPainter::kXAxis, TGLPlotPainter::kYAxis, TGLPlotPainter::kZAxis, and Rgl::ObjectIDToColor().
Referenced by TGLTF3Painter::DrawPlot(), TGL5DPainter::DrawPlot(), TGLSurfacePainter::DrawPlot(), TGLIsoPainter::DrawPlot(), TGLParametricPlot::DrawPlot(), TGLBoxPainter::DrawPlot(), and TGLTH3CompositionPainter::DrawPlot().
Definition at line 1507 of file TGLPlotPainter.cxx.
References fMousePos, TPoint::fX, and TPoint::fY.
Referenced by TGLH2PolyPainter::StartPan(), TGLSurfacePainter::StartPan(), TGLBoxPainter::StartPan(), TGLParametricPlot::StartPan(), TGLTH3CompositionPainter::StartPan(), TGLTF3Painter::StartPan(), TGLLegoPainter::StartPan(), TGLIsoPainter::StartPan(), and TGL5DPainter::StartPan().
Definition at line 1515 of file TGLPlotPainter.cxx.
References AdjustBox(), box(), fCenter, fMousePos, fPlotBox, TPoint::fX, fXLength, TPoint::fY, fYLength, fZLength, TGLPlotBox::Get3DBox(), GL_MODELVIEW_MATRIX, GL_PROJECTION_MATRIX, GL_VIEWPORT, glGetDoublev(), glGetIntegerv(), TGLPlotPainter::kXAxis, TGLPlotPainter::kYAxis, TGLPlotPainter::kZAxis, pr(), vp, TGLVertex3::X(), X, TGLVertex3::Y(), Y, TGLVertex3::Z(), and Z.
Referenced by TGLTH3CompositionPainter::Pan(), TGLLegoPainter::Pan(), TGL5DPainter::Pan(), TGLParametricPlot::Pan(), TGLH2PolyPainter::Pan(), TGLBoxPainter::Pan(), TGLIsoPainter::Pan(), TGLSurfacePainter::Pan(), and TGLTF3Painter::Pan().
Bool_t TGLBoxCut::IsInCut | ( | Double_t | xMin, | |
Double_t | xMax, | |||
Double_t | yMin, | |||
Double_t | yMax, | |||
Double_t | zMin, | |||
Double_t | zMax | |||
) | const |
Definition at line 1606 of file TGLPlotPainter.cxx.
References fXRange, fYRange, fZRange, kFALSE, and kTRUE.
Referenced by TGLSurfacePainter::DrawPlot(), TGLParametricPlot::DrawPlot(), TGLBoxPainter::DrawPlot(), and TGLTH3CompositionPainter::DrawPlot().
Bool_t TGLBoxCut::IsInCut | ( | const V * | v | ) | const [inline] |
Rgl::Range_t TGLBoxCut::GetXRange | ( | ) | const [inline] |
Rgl::Range_t TGLBoxCut::GetYRange | ( | ) | const [inline] |
Rgl::Range_t TGLBoxCut::GetZRange | ( | ) | const [inline] |
void TGLBoxCut::AdjustBox | ( | ) | [private] |
Definition at line 1577 of file TGLPlotPainter.cxx.
References box(), fCenter, fPlotBox, fXLength, fXRange, fYLength, fYRange, fZLength, fZRange, TGLPlotBox::Get3DBox(), TMath::Max(), TMath::Min(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
Referenced by MoveBox(), and ResetBoxGeometry().
void TGLBoxCut::TurnOnOff | ( | ) |
Bool_t TGLBoxCut::IsActive | ( | ) | const [inline] |
void TGLBoxCut::SetActive | ( | Bool_t | a | ) |
void TGLBoxCut::ResetBoxGeometry | ( | ) |
void TGLBoxCut::SetFactor | ( | Double_t | f | ) | [inline] |
Bool_t TGLBoxCut::IsInCut | ( | Double_t | xMin, | |
Double_t | xMax, | |||
Double_t | yMin, | |||
Double_t | yMax, | |||
Double_t | zMin, | |||
Double_t | zMax | |||
) | const |
Bool_t TGLBoxCut::IsInCut | ( | const V * | v | ) | const [inline] |
Rgl::Range_t TGLBoxCut::GetXRange | ( | ) | const [inline] |
Rgl::Range_t TGLBoxCut::GetYRange | ( | ) | const [inline] |
Rgl::Range_t TGLBoxCut::GetZRange | ( | ) | const [inline] |
void TGLBoxCut::AdjustBox | ( | ) | [private] |
Double_t TGLBoxCut::fXLength [private] |
Definition at line 50 of file TGLPlotPainter.h.
Referenced by AdjustBox(), MoveBox(), and ResetBoxGeometry().
Double_t TGLBoxCut::fYLength [private] |
Definition at line 51 of file TGLPlotPainter.h.
Referenced by AdjustBox(), MoveBox(), and ResetBoxGeometry().
Double_t TGLBoxCut::fZLength [private] |
Definition at line 52 of file TGLPlotPainter.h.
Referenced by AdjustBox(), MoveBox(), and ResetBoxGeometry().
TGLVertex3 TGLBoxCut::fCenter [private] |
Definition at line 53 of file TGLPlotPainter.h.
Referenced by AdjustBox(), MoveBox(), and ResetBoxGeometry().
Rgl::Range_t TGLBoxCut::fXRange [private] |
Definition at line 54 of file TGLPlotPainter.h.
Referenced by AdjustBox(), DrawBox(), GetXRange(), and IsInCut().
Rgl::Range_t TGLBoxCut::fYRange [private] |
Definition at line 55 of file TGLPlotPainter.h.
Referenced by AdjustBox(), DrawBox(), GetYRange(), and IsInCut().
Rgl::Range_t TGLBoxCut::fZRange [private] |
Definition at line 56 of file TGLPlotPainter.h.
Referenced by AdjustBox(), DrawBox(), GetZRange(), and IsInCut().
const TGLPlotBox* const TGLBoxCut::fPlotBox [private] |
Definition at line 58 of file TGLPlotPainter.h.
Referenced by AdjustBox(), DrawBox(), MoveBox(), and ResetBoxGeometry().
Bool_t TGLBoxCut::fActive [private] |
Definition at line 59 of file TGLPlotPainter.h.
Referenced by IsActive(), SetActive(), and TurnOnOff().
Double_t TGLBoxCut::fFactor [private] |
TPoint TGLBoxCut::fMousePos [private] |
const TGLPlotBox* const TGLBoxCut::fPlotBox [private] |
Definition at line 58 of file TGLPlotPainter.h.