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

GLCone.cpp

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

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