00001 00020 #ifndef CUBE_H_ 00021 #define CUBE_H_ 00022 00023 #include "Node.hh" 00024 #include "Attribute.hh" 00025 00026 namespace vrml1 { 00027 00028 class Cube : public vrml1::Node 00029 { 00030 public: 00031 Cube(); 00032 virtual ~Cube(); 00033 00034 void setWidth(float Width); 00035 float Width() const; 00036 00037 void setHeight(float Height); 00038 float Height() const; 00039 00040 void setDepth(float Depth); 00041 float Depth() const; 00042 00043 virtual void setAttribute(Attribute *A); 00044 00045 private: 00046 float m_Width; 00047 float m_Height; 00048 float m_Depth; 00049 }; 00050 00051 } 00052 00053 #endif /*CUBE_H_*/