12 #ifndef ROOT_TGLOrthoCamera    13 #define ROOT_TGLOrthoCamera    98 #endif // ROOT_TGLOrthoCamera TGLOrthoCamera()
Construct kXOY orthographic camera. 
 
Double_t fZoom
x, y size of scene from camera view 
 
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
 
virtual Bool_t Dolly(Int_t delta, Bool_t mod1, Bool_t mod2)
Dolly the camera. 
 
Double_t GetZoomMin() const
 
void SetZoomMax(Double_t z)
Set maximum zoom factor. 
 
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 
Bool_t GetEnableRotate() const
 
void SetEnableRotate(Bool_t x)
 
virtual Bool_t Zoom(Int_t delta, Bool_t mod1, Bool_t mod2)
Zoom the camera - 'adjust lens focal length, retaining camera position'. 
 
virtual Bool_t IsOrthographic() const
 
#define ClassDef(name, id)
 
Viewport (pixel base) 2D rectangle class. 
 
Double_t fDefXSize
scene volume 
 
3 component (x/y/z) vector class. 
 
virtual void Setup(const TGLBoundingBox &box, Bool_t reset=kTRUE)
Setup camera limits suitable to view the world volume defined by 'box' and call Reset() to initialise...
 
void SetZoomMinMax(Double_t min, Double_t max)
 
virtual Bool_t Truck(Double_t xDelta, Double_t yDelta)
Truck the camera - 'move camera parallel to film plane'. 
 
virtual ~TGLOrthoCamera()
Destroy orthographic camera. 
 
virtual Bool_t Truck(Int_t xDelta, Int_t yDelta, Bool_t mod1, Bool_t mod2)
Truck the camera - 'move camera parallel to film plane'. 
 
virtual void Apply(const TGLBoundingBox &sceneBox, const TGLRect *pickRect=0) const
Apply the camera to the current GL context, setting the viewport, projection and modelview matrices...
 
void SetDollyToZoom(Bool_t x)
 
virtual void Reset()
Reset the camera to defaults - trucking, zooming to reframe the world volume established in Setup()...
 
virtual Bool_t Rotate(Int_t xDelta, Int_t yDelta, Bool_t mod1, Bool_t mod2)
Rotate the camera - 'swivel round the view volume center'. 
 
virtual void Configure(Double_t zoom, Double_t dolly, Double_t center[3], Double_t hRotate, Double_t vRotate)
Configure the camera state. 
 
Bool_t GetDollyToZoom() const
 
Orthographic projection camera. 
 
Concrete class describing an orientated (free) or axis aligned box of 8 vertices. ...
 
you should not use this method at all Int_t Int_t z
 
Double_t GetZoomMax() const
 
void SetZoomMin(Double_t z)
Set minimum zoom factor. 
 
static UInt_t fgZoomDeltaSens