#ifndef ROOT_TGLPerspectiveCamera
#define ROOT_TGLPerspectiveCamera
#ifndef ROOT_TGLCamera
#include "TGLCamera.h"
#endif
class TGLPerspectiveCamera : public TGLCamera
{
private:
Double_t fFOV;
static Double_t fgFOVMin, fgFOVDefault, fgFOVMax;
static UInt_t fgFOVDeltaSens;
public:
TGLPerspectiveCamera(const TGLVector3 & hAxis, const TGLVector3 & vAxis);
virtual ~TGLPerspectiveCamera();
virtual Bool_t IsPerspective() const { return kTRUE; }
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);
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,0)
};
#endif // ROOT_TGLPerspectiveCamera
Last change: Mon Oct 20 13:14:56 2008
Last generated: 2008-10-20 13:14
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.