libvrml1++/Cylinder.hh

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

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