00001 #ifndef X3DTK_X3D_CYLINDER_H 00002 #define X3DTK_X3D_CYLINDER_H 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DGeometryNode.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00018 class Cylinder : public X3DGeometryNode 00019 { 00020 public: 00022 Cylinder(); 00023 00025 void setBottom(const SFBool &bottom); 00027 void setRadius(const SFFloat &radius); 00029 void setHeight(const SFFloat &height); 00031 void setSide(const SFBool &side); 00033 void setTop(const SFBool &top); 00034 00036 inline const SFBool &getBottom() const {return _bottom;}; 00038 inline const SFFloat &getRadius() const {return _radius;}; 00040 inline const SFFloat &getHeight() const {return _height;}; 00042 inline const SFBool &getSide() const {return _side;}; 00044 inline const SFBool &getTop() const {return _top;}; 00045 00046 private: 00048 SFBool _bottom; 00050 SFFloat _radius; 00052 SFFloat _height; 00054 SFBool _side; 00056 SFBool _top; 00057 }; 00058 00059 } 00060 } 00061 00062 #endif