library: libRGL #include "TGLOrthoCamera.h"

# TGLOrthoCamera

class description - source file - inheritance tree (.pdf)

## class TGLOrthoCamera : public TGLCamera

| Inheritance Chart:
`TGLCamera`
| <- | `TGLOrthoCamera` |

        private:

          void Init()

        public:

                          TGLOrthoCamera(TGLOrthoCamera::EType type)
                  virtual ~TGLOrthoCamera()
             virtual void Apply(const TGLBoundingBox& box, const TGLRect* pickRect = 0)
           static TClass* Class()
           virtual Bool_t Dolly(Int_t delta, Bool_t mod1, Bool_t mod2)
          virtual TClass* IsA() const
             virtual void Reset()
           virtual Bool_t Rotate(Int_t xDelta, Int_t yDelta)
             virtual void Setup(const TGLBoundingBox& box)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
           virtual Bool_t Truck(Int_t x, Int_t y, Int_t xDelta, Int_t yDelta)
           virtual Bool_t Zoom(Int_t delta, Bool_t mod1, Bool_t mod2)

### Data Members

        private:

          TGLOrthoCamera::EType fType            !
                       Double_t fZoomMin         !
                       Double_t fZoomDefault     !
                       Double_t fZoomMax         !
                       Double_t fVolumeDiag      !
                       Double_t fWidth           !
                       Double_t fHeight          !
                       Double_t fZoom            !
                     TGLVertex3 fCenter          !
                     TGLVector3 fTruck           !
                      TGLMatrix fMatrix          !
                  static UInt_t fgZoomDeltaSens

        public:

          static const TGLOrthoCamera::EType kXOY
          static const TGLOrthoCamera::EType kYOZ
          static const TGLOrthoCamera::EType kXOZ

## Class Description

TGLOrthoCamera(EType type) : fType(type), fZoomMin(0.01), fZoomDefault(1.0), fZoomMax(100.0), fVolumeDiag(100.0), fWidth(100), fHeight(100), fZoom(1.0), fCenter(0.0, 0.0, 0.0), fTruck(0.0, 0.0, 0.0), fMatrix()

~TGLOrthoCamera()

void Setup(const TGLBoundingBox & box)

void Reset()

Bool_t Dolly(Int_t delta, Bool_t mod1, Bool_t mod2)

Bool_t Zoom (Int_t delta, Bool_t mod1, Bool_t mod2)

Bool_t Truck(Int_t x, Int_t y, Int_t xDelta, Int_t yDelta)

    TODO: Convert TGLRect so this not required

Bool_t Rotate(Int_t /*xDelta*/, Int_t /*yDelta*/)

     Not allowed at present - could let the user or external code create non-axis
     ortho projects by adjusting H/V rotations

void Apply(const TGLBoundingBox & /*box*/, const TGLRect * pickRect)

### Inline Functions

                   void Init()
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)

Author: Richard Maunder 25/05/2005
Last update: root/gl:$Name: $:$Id: TGLOrthoCamera.cxx,v 1.5 2005/06/21 16:54:17 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *