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 X3DGeometryNode 00012 { 00013 public: 00014 Icosahedron(); 00015 00016 void setRadius(const SFFloat &radius); 00017 inline const SFFloat &getRadius() const {return _radius;}; 00018 00019 private: 00020 SFFloat _radius; 00021 }; 00022 00023 } 00024 } 00025 00026 #endif