Camera for TGLPlotPainter and sub-classes.
virtual | ~TGLPlotCamera() |
void | Apply(Double_t phi, Double_t theta) const |
static TClass* | Class() |
Int_t | GetHeight() const |
Int_t | GetWidth() const |
Int_t | GetX() const |
Int_t | GetY() const |
virtual TClass* | IsA() const |
void | Pan(Int_t px, Int_t py) |
void | RotateCamera(Int_t px, Int_t py) |
void | SetCamera() const |
void | SetViewport(const TGLRect& vp) |
void | SetViewVolume(const TGLVertex3* box) |
virtual void | ShowMembers(TMemberInspector& insp) const |
void | StartPan(Int_t px, Int_t py) |
void | StartRotation(Int_t px, Int_t py) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
TGLPlotCamera() | |
Bool_t | ViewportChanged() const |
void | ZoomIn() |
void | ZoomOut() |
TGLPlotCamera& | operator=(const TGLPlotCamera&) |
TGLPlotCamera(const TGLPlotCamera&) |
TArcBall | fArcBall | |
TGLVertex3 | fCenter | |
TPoint | fMousePos | |
Double_t | fOrthoBox[4] | |
Double_t | fShift | |
TGLVector3 | fTruck | |
TGLRect | fViewport | |
Bool_t | fVpChanged | |
Double_t | fZoom |
'box' is the TGLPlotPainter's back box's coordinates. fCenter[0] = (box[0].X() + box[1].X()) / 2; fCenter[1] = (box[0].Y() + box[2].Y()) / 2; fCenter[2] = (box[0].Z() + box[4].Z()) / 2; const Double_t maxDim = box[1].X() - box[0].X(); fOrthoBox[0] = maxDim; fOrthoBox[1] = maxDim; fOrthoBox[2] = -100 * maxDim;//100? fOrthoBox[3] = 100 * maxDim; fShift = maxDim * 1.5;