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

Box.h

Go to the documentation of this file.
00001 
00002 //                            Box.h                                           //
00004 
00005 #ifndef BOX_H
00006 #define BOX_H
00007 
00008 #include "X3DTypes.h"
00009 #include "X3DGeometry3DNode.h"
00010 
00011 namespace X3DTK {
00012 
00017 
00018 class Box : public X3DGeometry3DNode
00019 {
00020 public:
00022   Box();
00025   Box(const SFVec3f &size);
00027   virtual SFNode clone() const;
00029   ~Box();
00030   
00032   void setSize(const SFVec3f &size);
00033   
00035   inline SFVec3f getSize() const {return size_;};
00036   
00038   virtual void loadAttributes(const X3DFileElement *element);
00040   virtual SFString writeAttributes() const;
00041 
00042 protected:
00044   Box(const Box &B);
00045   
00046 private:
00047   SFVec3f size_;
00048 };
00049 
00050 }
00051 
00052 #endif

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