Main Page | Modules | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

X3D_Box.h

Go to the documentation of this file.
00001 #ifndef X3DTK_X3D_BOX_H
00002 #define X3DTK_X3D_BOX_H
00003 
00004 #include "X3DTypes.h"
00005 #include "X3D_X3DGeometry3DNode.h"
00006 
00007 namespace X3DTK {
00008 namespace X3D {
00009 
00018 class Box : public X3DGeometry3DNode
00019 {
00020 public:
00022   Box();
00025   Box(const SFVec3f &size);
00027   virtual SFAbstractNode clone() const;
00029   virtual ~Box();
00030   
00032   void setSize(const SFVec3f &size);
00033   
00035   inline const SFVec3f &getSize() const {return _size;};
00036   
00038   virtual void load(const X3DFileElement *element);
00040   virtual SFString &write(SFString &output) const;
00041 
00042 protected:
00044   Box(const Box &B);
00045 
00046 private:  
00048   SFVec3f _size;
00049 };
00050 
00051 }
00052 }
00053 
00054 #endif

Generated on Wed Apr 7 12:15:21 2004 for X3DToolKit by doxygen 1.3.3