#include <TGLPlotCamera.h>
Definition at line 21 of file TGLPlotCamera.h.
TGLPlotCamera::TGLPlotCamera | ( | const TGLPlotCamera & | ) | [private] |
TGLPlotCamera::TGLPlotCamera | ( | ) |
virtual TGLPlotCamera::~TGLPlotCamera | ( | ) | [inline, virtual] |
Definition at line 40 of file TGLPlotCamera.h.
TGLPlotCamera::TGLPlotCamera | ( | const TGLPlotCamera & | ) | [private] |
TGLPlotCamera::TGLPlotCamera | ( | ) |
virtual TGLPlotCamera::~TGLPlotCamera | ( | ) | [inline, virtual] |
Definition at line 40 of file TGLPlotCamera.h.
TGLPlotCamera& TGLPlotCamera::operator= | ( | const TGLPlotCamera & | ) | [private] |
void TGLPlotCamera::SetViewport | ( | const TGLRect & | vp | ) |
Definition at line 34 of file TGLPlotCamera.cxx.
References fArcBall, fViewport, fVpChanged, TGLRect::Height(), kFALSE, kTRUE, TArcBall::SetBounds(), vp, TGLRect::Width(), TGLRect::X(), and TGLRect::Y().
Referenced by TGLHistPainter::PadToViewport().
void TGLPlotCamera::SetViewVolume | ( | const TGLVertex3 * | box | ) |
Definition at line 50 of file TGLPlotCamera.cxx.
Referenced by TGLIsoPainter::InitGeometry(), TGLTH3CompositionPainter::InitGeometry(), TGLLegoPainter::InitGeometry(), TGL5DPainter::InitGeometry(), TGLSurfacePainter::InitGeometry(), TGLBoxPainter::InitGeometry(), TGLParametricPlot::InitGeometry(), TGLTF3Painter::InitGeometry(), and TGL5DPainter::ResetGeometryRanges().
Definition at line 65 of file TGLPlotCamera.cxx.
References TArcBall::Click(), and fArcBall.
Referenced by TGLHistPainter::ExecuteEvent().
Definition at line 72 of file TGLPlotCamera.cxx.
References TArcBall::Drag(), and fArcBall.
Referenced by TGLHistPainter::ExecuteEvent().
Definition at line 79 of file TGLPlotCamera.cxx.
References fMousePos, fViewport, TPoint::fX, TPoint::fY, and TGLRect::Height().
Referenced by TGLH2PolyPainter::StartPan(), TGLSurfacePainter::StartPan(), TGLBoxPainter::StartPan(), TGLParametricPlot::StartPan(), TGLTH3CompositionPainter::StartPan(), TGLTF3Painter::StartPan(), TGLLegoPainter::StartPan(), TGLIsoPainter::StartPan(), and TGL5DPainter::StartPan().
Definition at line 87 of file TGLPlotCamera.cxx.
References fMousePos, fTruck, fViewport, TPoint::fX, TPoint::fY, GL_MODELVIEW_MATRIX, GL_PROJECTION_MATRIX, glGetDoublev(), TGLRect::Height(), pr(), start, vp, and TGLRect::Width().
Referenced by TGLTH3CompositionPainter::Pan(), TGL5DPainter::Pan(), TGLLegoPainter::Pan(), TGLH2PolyPainter::Pan(), TGLParametricPlot::Pan(), TGLBoxPainter::Pan(), TGLSurfacePainter::Pan(), TGLIsoPainter::Pan(), and TGLTF3Painter::Pan().
void TGLPlotCamera::ZoomIn | ( | ) |
Definition at line 168 of file TGLPlotCamera.cxx.
References fZoom.
Referenced by TGLHistPainter::ExecuteEvent().
void TGLPlotCamera::ZoomOut | ( | ) |
Definition at line 175 of file TGLPlotCamera.cxx.
References fZoom.
Referenced by TGLHistPainter::ExecuteEvent().
void TGLPlotCamera::SetCamera | ( | ) | const |
Definition at line 107 of file TGLPlotCamera.cxx.
References fOrthoBox, fViewport, fZoom, GL_MODELVIEW, GL_PROJECTION, glLoadIdentity(), glMatrixMode(), glOrtho(), glViewport(), TGLRect::Height(), TGLRect::Width(), TGLRect::X(), and TGLRect::Y().
Referenced by TGLSurfacePainter::DrawPalette(), TGLLegoPainter::DrawPalette(), TGLPlotPainter::Paint(), TGLTH3CompositionPainter::Pan(), TGLLegoPainter::Pan(), TGL5DPainter::Pan(), TGLParametricPlot::Pan(), TGLH2PolyPainter::Pan(), TGLBoxPainter::Pan(), TGLIsoPainter::Pan(), TGLSurfacePainter::Pan(), TGLTF3Painter::Pan(), and TGLPlotPainter::PlotSelected().
Definition at line 128 of file TGLPlotCamera.cxx.
References fArcBall, fShift, fTruck, TArcBall::GetRotMatrix(), glMultMatrixd(), glRotated(), and glTranslated().
Referenced by TGLSurfacePainter::DrawPalette(), TGLLegoPainter::DrawPalette(), TGLPlotPainter::Paint(), TGLTH3CompositionPainter::Pan(), TGLLegoPainter::Pan(), TGL5DPainter::Pan(), TGLParametricPlot::Pan(), TGLH2PolyPainter::Pan(), TGLBoxPainter::Pan(), TGLIsoPainter::Pan(), TGLSurfacePainter::Pan(), TGLTF3Painter::Pan(), and TGLPlotPainter::PlotSelected().
Bool_t TGLPlotCamera::ViewportChanged | ( | ) | const [inline] |
Definition at line 53 of file TGLPlotCamera.h.
References fVpChanged.
Referenced by TGLHistPainter::PadToViewport().
Int_t TGLPlotCamera::GetX | ( | ) | const |
Definition at line 140 of file TGLPlotCamera.cxx.
References fViewport, and TGLRect::X().
Referenced by TGLPlotPainter::Paint(), and TGLPlotPainter::PlotSelected().
Int_t TGLPlotCamera::GetY | ( | ) | const |
Definition at line 147 of file TGLPlotCamera.cxx.
References fViewport, and TGLRect::Y().
Referenced by TGLPlotPainter::Paint(), and TGLPlotPainter::PlotSelected().
Int_t TGLPlotCamera::GetWidth | ( | ) | const |
Definition at line 154 of file TGLPlotCamera.cxx.
References fViewport, and TGLRect::Width().
Referenced by TGLPlotPainter::Paint(), and TGLPlotPainter::PlotSelected().
Int_t TGLPlotCamera::GetHeight | ( | ) | const |
Definition at line 161 of file TGLPlotCamera.cxx.
References fViewport, and TGLRect::Height().
Referenced by TGLPlotPainter::Paint(), TGLTH3CompositionPainter::Pan(), TGLLegoPainter::Pan(), TGL5DPainter::Pan(), TGLParametricPlot::Pan(), TGLH2PolyPainter::Pan(), TGLBoxPainter::Pan(), TGLIsoPainter::Pan(), TGLSurfacePainter::Pan(), TGLTF3Painter::Pan(), TGLPlotPainter::PlotSelected(), TGLH2PolyPainter::StartPan(), TGLSurfacePainter::StartPan(), TGLBoxPainter::StartPan(), TGLTH3CompositionPainter::StartPan(), TGLParametricPlot::StartPan(), TGLTF3Painter::StartPan(), TGLLegoPainter::StartPan(), TGLIsoPainter::StartPan(), TGL5DPainter::StartPan(), and TGLSurfacePainter::WindowPointTo3DPoint().
TGLPlotCamera::ClassDef | ( | TGLPlotCamera | , | |
0 | ||||
) |
TGLPlotCamera& TGLPlotCamera::operator= | ( | const TGLPlotCamera & | ) | [private] |
void TGLPlotCamera::SetViewport | ( | const TGLRect & | vp | ) |
void TGLPlotCamera::SetViewVolume | ( | const TGLVertex3 * | box | ) |
void TGLPlotCamera::ZoomIn | ( | ) |
void TGLPlotCamera::ZoomOut | ( | ) |
void TGLPlotCamera::SetCamera | ( | ) | const |
Bool_t TGLPlotCamera::ViewportChanged | ( | ) | const [inline] |
Int_t TGLPlotCamera::GetX | ( | ) | const |
Int_t TGLPlotCamera::GetY | ( | ) | const |
Int_t TGLPlotCamera::GetWidth | ( | ) | const |
Int_t TGLPlotCamera::GetHeight | ( | ) | const |
TGLPlotCamera::ClassDef | ( | TGLPlotCamera | , | |
0 | ||||
) |
TGLRect TGLPlotCamera::fViewport [protected] |
Definition at line 28 of file TGLPlotCamera.h.
Referenced by GetHeight(), GetWidth(), GetX(), GetY(), Pan(), SetCamera(), SetViewport(), and StartPan().
Double_t TGLPlotCamera::fZoom [protected] |
Double_t TGLPlotCamera::fShift [protected] |
Double_t TGLPlotCamera::fOrthoBox [protected] |
TGLVertex3 TGLPlotCamera::fCenter [protected] |
Definition at line 32 of file TGLPlotCamera.h.
TGLVector3 TGLPlotCamera::fTruck [protected] |
TArcBall TGLPlotCamera::fArcBall [protected] |
Definition at line 34 of file TGLPlotCamera.h.
Referenced by Apply(), RotateCamera(), SetViewport(), and StartRotation().
TPoint TGLPlotCamera::fMousePos [protected] |
Bool_t TGLPlotCamera::fVpChanged [protected] |