libvrml1++/Cone.hh

Go to the documentation of this file.
00001 
00020 #ifndef CONE_H_
00021 #define CONE_H_
00022 
00023 #include "Node.hh"
00024 
00025 namespace vrml1
00026 {
00027 
00028 class Cone : public vrml1::Node
00029 {
00030 public:
00031         Cone();
00032         virtual ~Cone();
00033         
00034         void setParts(unsigned int Parts);
00035         unsigned int Parts();
00036         
00037         void setbottomRadius(float Radius);
00038         float bottomRadius() const;
00039         
00040         void setHeight(float Height);
00041         float Height() const;
00042         
00043         virtual void setAttribute(Attribute *A);
00044         
00045         enum e_parts { SIDES=1, BOTTOM=2, ALL=3 };
00046         
00047 private:
00048         unsigned int m_Parts;
00049         float m_BottomRadius;
00050         float m_Height;
00051 };
00052 
00053 }
00054 
00055 #endif /*CONE_H_*/

Generated on Mon Jul 21 23:57:09 2008 for libvrml1++ by  doxygen 1.5.4