Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

GLCylinder.cpp

Go to the documentation of this file.
00001 #include "GLCylinder.h"
00002 #include "Cylinder.h"
00003 #include "CylinderDrawArray.h"
00004 
00005 using namespace X3DTK;
00006 
00007 GLCylinder::GLCylinder()
00008 : X3DGLGeometry3DNode(), _radius(0.0f), _height(0.0f), _side(false), _bottom(false), _top(false), _cylinderArray(0)
00009 {
00010   defineTagName("GLCylinder", "GLGeometry3D");
00011 }
00012 
00013 GLCylinder::GLCylinder(const GLCylinder &C)
00014 : X3DGLGeometry3DNode(C), _radius(C._radius), _height(C._height), _side(C._side), _bottom(C._bottom), _top(C._top), _cylinderArray(0)
00015 {
00016   defineTagName("GLCylinder", "GLGeometry3D");
00017 }
00018 
00019 SFNode GLCylinder::clone() const
00020 {
00021   return new GLCylinder(*this);
00022 }
00023 
00024 GLCylinder::~GLCylinder()
00025 {
00026   _cylinderArray->removeInstance();
00027 }

Generated on Wed May 14 10:03:08 2003 for X3DToolKit by doxygen1.3