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

Box.h

Go to the documentation of this file.
00001 
00002 
00003 
00005 
00006 
00011 
00016 
00021 //                            Box.h                                           //
00023 
00024 #ifndef BOX_H
00025 #define BOX_H
00026 
00027 #include "X3DTypes.h"
00028 #include "X3DGeometry3DNode.h"
00029 
00030 namespace X3DTK {
00031 namespace X3D {
00032 
00037 
00038 class Box : public X3DGeometry3DNode
00039 {
00040 public:
00042   Box();
00045   Box(const SFVec3f &size);
00047   virtual SFNode clone() const;
00049   virtual ~Box();
00050   
00052   void setSize(const SFVec3f &size);
00053   
00055   inline const SFVec3f &getSize() const {return _size;};
00056   
00058   virtual void load(const X3DFileElement *element);
00060   virtual SFString write() const;
00061 
00062 protected:
00064   Box(const Box &B);
00065 
00066 private:  
00068   SFVec3f _size;
00069 };
00070 
00071 }
00072 }
00073 
00074 #endif

Generated on Wed Sep 10 11:25:12 2003 for X3DToolKit by doxygen1.3