ROOT logo
// $Id: Cylinder.cxx 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/.

//__________________________________________________________________________
// Cylinder
//
// Cylinder along z-axis from z=-mHeight/2 -> z=mHeight/2.
// Specify In(ner) / Out(er) radii at Base (-z) and Top (+z).
// bRnrDisks selects rendering of end-caps.
// Independent of mLodPhi, a corner of the base polygon is pointing towards
// the positive y-axis.

#include "Cylinder.h"
#include "Cylinder.c7"

ClassImp(Cylinder);

void Cylinder::_init()
{
  // Override settings from ZGlass
  bUseDispList = true;

  mOrientation = O_Z;
  mPhiOffset   = 0;

  mHeight = 2;
  bRnrDisks = true;

  mROutBase = mROutTop = 1.0;
  mRInBase  = mRInTop  = 0;

  mLodH     = 1;
  mLodPhi   = 8;
}
 Cylinder.cxx:1
 Cylinder.cxx:2
 Cylinder.cxx:3
 Cylinder.cxx:4
 Cylinder.cxx:5
 Cylinder.cxx:6
 Cylinder.cxx:7
 Cylinder.cxx:8
 Cylinder.cxx:9
 Cylinder.cxx:10
 Cylinder.cxx:11
 Cylinder.cxx:12
 Cylinder.cxx:13
 Cylinder.cxx:14
 Cylinder.cxx:15
 Cylinder.cxx:16
 Cylinder.cxx:17
 Cylinder.cxx:18
 Cylinder.cxx:19
 Cylinder.cxx:20
 Cylinder.cxx:21
 Cylinder.cxx:22
 Cylinder.cxx:23
 Cylinder.cxx:24
 Cylinder.cxx:25
 Cylinder.cxx:26
 Cylinder.cxx:27
 Cylinder.cxx:28
 Cylinder.cxx:29
 Cylinder.cxx:30
 Cylinder.cxx:31
 Cylinder.cxx:32
 Cylinder.cxx:33
 Cylinder.cxx:34
 Cylinder.cxx:35
 Cylinder.cxx:36
 Cylinder.cxx:37