Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

X3D_Icosahedron.h

Go to the documentation of this file.
00001 #ifndef ICOSAHEDRON_H
00002 #define ICOSAHEDRON_H
00003 
00004 #include <X3DTK/X3D/scenegraph.h>
00005 
00006 namespace X3DTK {
00007 namespace X3D {
00008 
00009 // New X3D node.
00010 
00011 class Icosahedron : public X3DGeometry3DNode
00012 {
00013 public:
00014   Icosahedron();
00015   Icosahedron(SFFloat radius);
00016             
00017   virtual SFAbstractNode clone() const;  
00018 
00019   void setRadius(const SFFloat &radius);
00020   inline const SFFloat &getRadius() const {return _radius;};
00021   
00022   virtual void load(const X3DFileElement *element);
00023   virtual SFString write() const;
00024 
00025 protected:
00026   Icosahedron(const Icosahedron &I);
00027 
00028 private:
00029   SFFloat _radius;
00030 };
00031 
00032 }
00033 }
00034 
00035 #endif

Generated on Thu Jun 3 10:12:10 2004 for X3DToolKit by doxygen 1.3.6