X3D_Cylinder.h

Go to the documentation of this file.
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();
00024   virtual ~Cylinder();
00025   
00027   void setBottom(const SFBool &bottom);
00029   void setRadius(const SFFloat &radius);
00031   void setHeight(const SFFloat &height);
00033   void setSide(const SFBool &side);
00035   void setTop(const SFBool &top);
00036   
00038   inline const SFBool &getBottom() const {return _bottom;};
00040   inline const SFFloat &getRadius() const {return _radius;};
00042   inline const SFFloat &getHeight() const {return _height;};
00044   inline const SFBool &getSide() const {return _side;};
00046   inline const SFBool &getTop() const {return _top;};
00047 
00048 private:
00050   SFBool _bottom;
00052   SFFloat _radius;
00054   SFFloat _height;
00056   SFBool _side;
00058   SFBool _top;
00059 };
00060 
00061 }
00062 }
00063 
00064 #endif

Generated on Fri Aug 27 13:16:23 2004 for X3DToolKit by doxygen 1.3.6