#ifndef ROOT_TGLPerspectiveCamera
#define ROOT_TGLPerspectiveCamera
#include "TGLCamera.h"
class TGLPerspectiveCamera : public TGLCamera
{
private:
Double_t fFOV;
static Double_t fgFOVMin, fgFOVDefault, fgFOVMax;
static UInt_t fgFOVDeltaSens;
public:
TGLPerspectiveCamera();
TGLPerspectiveCamera(const TGLVector3 & hAxis, const TGLVector3 & vAxis);
virtual ~TGLPerspectiveCamera();
virtual Bool_t IsPerspective() const { return kTRUE; }
Double_t GetFOV() const { return fFOV; }
virtual void Setup(const TGLBoundingBox & box, Bool_t reset=kTRUE);
virtual void Reset();
virtual Bool_t Zoom (Int_t delta, Bool_t mod1, Bool_t mod2);
using TGLCamera::Truck;
virtual Bool_t Truck(Int_t xDelta, Int_t yDelta, Bool_t mod1, Bool_t mod2);
virtual void Apply(const TGLBoundingBox & box, const TGLRect * pickRect = 0) const;
virtual void Configure(Double_t fov, Double_t dolly, Double_t center[3],
Double_t hRotate, Double_t vRotate);
ClassDef(TGLPerspectiveCamera,1)
};
#endif // ROOT_TGLPerspectiveCamera
TGLPerspectiveCamera.h:10 TGLPerspectiveCamera.h:11 TGLPerspectiveCamera.h:12 TGLPerspectiveCamera.h:13 TGLPerspectiveCamera.h:14 TGLPerspectiveCamera.h:15 TGLPerspectiveCamera.h:16 TGLPerspectiveCamera.h:17 TGLPerspectiveCamera.h:18 TGLPerspectiveCamera.h:19 TGLPerspectiveCamera.h:20 TGLPerspectiveCamera.h:21 TGLPerspectiveCamera.h:22 TGLPerspectiveCamera.h:23 TGLPerspectiveCamera.h:24 TGLPerspectiveCamera.h:25 TGLPerspectiveCamera.h:26 TGLPerspectiveCamera.h:27 TGLPerspectiveCamera.h:28 TGLPerspectiveCamera.h:29 TGLPerspectiveCamera.h:30 TGLPerspectiveCamera.h:31 TGLPerspectiveCamera.h:32 TGLPerspectiveCamera.h:33 TGLPerspectiveCamera.h:34 TGLPerspectiveCamera.h:35 TGLPerspectiveCamera.h:36 TGLPerspectiveCamera.h:37 TGLPerspectiveCamera.h:38 TGLPerspectiveCamera.h:39 TGLPerspectiveCamera.h:40 TGLPerspectiveCamera.h:41 TGLPerspectiveCamera.h:42 TGLPerspectiveCamera.h:43 TGLPerspectiveCamera.h:44 TGLPerspectiveCamera.h:45 TGLPerspectiveCamera.h:46 TGLPerspectiveCamera.h:47 TGLPerspectiveCamera.h:48 TGLPerspectiveCamera.h:49 TGLPerspectiveCamera.h:50 TGLPerspectiveCamera.h:51 TGLPerspectiveCamera.h:52 TGLPerspectiveCamera.h:53 TGLPerspectiveCamera.h:54 TGLPerspectiveCamera.h:55 TGLPerspectiveCamera.h:56 TGLPerspectiveCamera.h:57 TGLPerspectiveCamera.h:58