X3D_Cone.h

Go to the documentation of this file.
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();
00024   virtual ~Cone();
00025   
00027   void setBottomRadius(const SFFloat &bottomRadius);
00029   void setHeight(const SFFloat &height);
00031   void setSide(const SFBool &side);
00033   void setBottom(const SFBool &bottom);
00034   
00036   inline const SFFloat &getBottomRadius() const {return _bottomRadius;};
00038   inline const SFFloat &getHeight() const {return _height;};
00040   inline const SFBool &getSide() const {return _side;};
00042   inline const SFBool &getBottom() const {return _bottom;};
00043 
00044 private:  
00046   SFFloat _bottomRadius;
00048   SFFloat _height;
00050   SFBool _side;
00052   SFBool _bottom;
00053 };
00054 
00055 }
00056 }
00057 
00058 #endif

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