ROOT logo
// $Id: ZGlPerspective.h 2256 2009-11-21 23:24:25Z matevz $

// Copyright (C) 1999-2008, Matevz Tadel. All rights reserved.
// This file is part of GLED, released under GNU General Public License version 2.
// For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.

#ifndef GledCore_ZGlPerspective_H
#define GledCore_ZGlPerspective_H

#include <Glasses/ZRnrModBase.h>

class ZGlPerspective : public ZRnrModBase
{
  // 7777 RnrCtrl(RnrBits(0,4,0,0))
  MAC_RNR_FRIENDS(ZGlPerspective);

public:
  enum ViewMode_e { VM_Nop, VM_OrthoPixel, VM_OrthoFixed, VM_OrthoTrueAspect };

private:
  void _init();

protected:
  ViewMode_e        mViewMode;     // X{GS} 7 PhonyEnum()
  Float_t           mOrthoW;       // X{GS} 7 Value(-range=>[-1000,1000,1,1000], -join=>1)
  Float_t           mOrthoH;       // X{GS} 7 Value(-range=>[-1000,1000,1,1000])
  Float_t           mOrthoNear;    // X{GS} 7 Value(-range=>[-1000,1000,1,1000], -join=>1)
  Float_t           mOrthoFar;     // X{GS} 7 Value(-range=>[-1000,1000,1,1000])

  Float_t           mOx;           // X{GS} 7 Value(-range=>[-1000,1000,1,1000], -join=>1)
  Float_t           mOy;           // X{GS} 7 Value(-range=>[-1000,1000,1,1000], -join=>1)
  Float_t           mOz;           // X{GS} 7 Value(-range=>[-1000,1000,1,1000])

public:
  ZGlPerspective(const Text_t* n="ZGlPerspective", const Text_t* t=0) :
    ZRnrModBase(n,t) { _init(); }

  void StandardPersp();      //  X{E} 7 MButt(-join=>1)
  void StandardFixed();      //  X{E} 7 MButt()
  void StandardTrueAspect(); //  X{E} 7 MButt(-join=>1)
  void StandardPixel();      //  X{E} 7 MButt()

#include "ZGlPerspective.h7"
  ClassDef(ZGlPerspective, 1);
}; // endclass ZGlPerspective


#endif
 ZGlPerspective.h:1
 ZGlPerspective.h:2
 ZGlPerspective.h:3
 ZGlPerspective.h:4
 ZGlPerspective.h:5
 ZGlPerspective.h:6
 ZGlPerspective.h:7
 ZGlPerspective.h:8
 ZGlPerspective.h:9
 ZGlPerspective.h:10
 ZGlPerspective.h:11
 ZGlPerspective.h:12
 ZGlPerspective.h:13
 ZGlPerspective.h:14
 ZGlPerspective.h:15
 ZGlPerspective.h:16
 ZGlPerspective.h:17
 ZGlPerspective.h:18
 ZGlPerspective.h:19
 ZGlPerspective.h:20
 ZGlPerspective.h:21
 ZGlPerspective.h:22
 ZGlPerspective.h:23
 ZGlPerspective.h:24
 ZGlPerspective.h:25
 ZGlPerspective.h:26
 ZGlPerspective.h:27
 ZGlPerspective.h:28
 ZGlPerspective.h:29
 ZGlPerspective.h:30
 ZGlPerspective.h:31
 ZGlPerspective.h:32
 ZGlPerspective.h:33
 ZGlPerspective.h:34
 ZGlPerspective.h:35
 ZGlPerspective.h:36
 ZGlPerspective.h:37
 ZGlPerspective.h:38
 ZGlPerspective.h:39
 ZGlPerspective.h:40
 ZGlPerspective.h:41
 ZGlPerspective.h:42
 ZGlPerspective.h:43
 ZGlPerspective.h:44
 ZGlPerspective.h:45
 ZGlPerspective.h:46
 ZGlPerspective.h:47
 ZGlPerspective.h:48