00001 #ifndef X3DTK_X3D_CONE_H 00002 #define X3DTK_X3D_CONE_H 00003 00004 #include "X3DTypes.h" 00005 #include "X3D_X3DGeometryNode.h" 00006 00007 namespace X3DTK { 00008 namespace X3D { 00009 00018 class Cone : public X3DGeometryNode 00019 { 00020 public: 00022 Cone(); 00023 00025 void setBottomRadius(const SFFloat &bottomRadius); 00027 void setHeight(const SFFloat &height); 00029 void setSide(const SFBool &side); 00031 void setBottom(const SFBool &bottom); 00032 00034 inline const SFFloat &getBottomRadius() const {return _bottomRadius;}; 00036 inline const SFFloat &getHeight() const {return _height;}; 00038 inline const SFBool &getSide() const {return _side;}; 00040 inline const SFBool &getBottom() const {return _bottom;}; 00041 00042 private: 00044 SFFloat _bottomRadius; 00046 SFFloat _height; 00048 SFBool _side; 00050 SFBool _bottom; 00051 }; 00052 00053 } 00054 } 00055 00056 #endif