12 #ifndef ROOT_TGLPlotCamera
13 #define ROOT_TGLPlotCamera
void SetViewport(const TGLRect &vp)
Setup viewport, if it was changed, plus reset arcball.
ClassDef(TGLPlotCamera, 0)
Camera for TGLPlotPainter and sub-classes.
Int_t GetY() const
viewport[1]
void StartPan(Int_t px, Int_t py)
User clicks somewhere (px, py).
Bool_t ViewportChanged() const
Int_t GetWidth() const
viewport[2]
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
3 component (x/y/z) vertex class.
Viewport (pixel base) 2D rectangle class.
3 component (x/y/z) vector class.
void StartRotation(Int_t px, Int_t py)
User clicks somewhere (px, py).
void Apply(Double_t phi, Double_t theta) const
Applies rotations and translations before drawing.
void SetViewVolume(const TGLVertex3 *box)
'box' is the TGLPlotPainter's back box's coordinates.
void RotateCamera(Int_t px, Int_t py)
Mouse movement.
void Pan(Int_t px, Int_t py)
Pan camera.
Int_t GetX() const
viewport[0]
TGLPlotCamera()
Construct camera for plot painters.
Implements the arc-ball rotation manipulator.
TGLPlotCamera & operator=(const TGLPlotCamera &)
void SetCamera() const
Viewport and projection.
Int_t GetHeight() const
viewport[3]