Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

GLBox.h

Go to the documentation of this file.
00001 
00002 //                            GLBox.h                                         //
00004 
00005 #ifndef GLBOX_H
00006 #define GLBOX_H
00007 
00008 #include "X3DGLGeometry3DNode.h"
00009 
00010 namespace X3DTK {
00011 
00012 class Box;
00013 class BoxDrawArray;
00014 
00016 
00017 class GLBox : public X3DGLGeometry3DNode
00018 {
00019 public:
00021   GLBox();
00023   virtual SFNode clone() const;
00025   ~GLBox();
00026   
00028   inline SFVec3f &getSize() const {return (SFVec3f &)_size;};
00030   inline BoxDrawArray *&getBoxDrawArray() const {return (BoxDrawArray *&)_boxArray;};
00031 
00032 protected:     
00034   GLBox(const GLBox &B);
00035   
00036 private:
00037   //GL attributes
00038   SFVec3f _size;
00039   BoxDrawArray *_boxArray;
00040 };
00041 
00042 }
00043 
00044 #endif

Generated on Wed May 14 10:38:09 2003 for X3DToolKit by doxygen1.3