ROOT logo
// $Id: Cylinder.h 2088 2008-11-23 20:26:46Z 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_Cylinder_H
#define GledCore_Cylinder_H

#include <Glasses/ZNode.h>
#include <Stones/ZColor.h>

class Cylinder : public ZNode {
  MAC_RNR_FRIENDS(Cylinder);

public:
  enum Orientation_e { O_X, O_Y, O_Z };
private:
  void _init();

protected:
  Orientation_e mOrientation;   // X{GST}  7 PhonyEnum(-join=>1)
  Float_t       mPhiOffset;     // X{GST}  7 Value(-range=>[-0.5,0.5, 1,1000])

  Float_t       mHeight;        // X{GST}  7 Value(-range=>[0,1000,1,1000], -join=>1)
  Bool_t        bRnrDisks;      // X{gST}  7 Bool()
  Float_t	mRInBase;	// X{GST}  7 Value(-range=>[0,1000,1,1000], -join=>1)
  Float_t	mRInTop;	// X{GST}  7 Value(-range=>[0,1000,1,1000])
  Float_t	mROutBase;	// X{GST}  7 Value(-range=>[0,1000,1,1000], -join=>1)
  Float_t	mROutTop;	// X{GST}  7 Value(-range=>[0,1000,1,1000])
  ZColor	mColor;		// X{PGST} 7 ColorButt()
  Int_t		mLodH;		// X{GST}  7 Value(-range=>[1,100,1,1], -join=>1)
  Int_t		mLodPhi;	// X{GST}  7 Value(-range=>[1,100,1,1])

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

#include "Cylinder.h7"
  ClassDef(Cylinder, 1); // Simple cylinder, possibly hollow.
}; // endclass Cylinder


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