X3D_X3DBoundedObject.h

Go to the documentation of this file.
00001 #ifndef X3DTK_X3D_X3DBOUNDEDOBJECT_H
00002 #define X3DTK_X3D_X3DBOUNDEDOBJECT_H
00003 
00004 #include "X3DTypes.h"
00005 #include "X3D_X3DObject.h"
00006 #include "X3DFileElement.h"
00007 
00008 namespace X3DTK {
00009 namespace X3D {
00010 
00019 class X3DBoundedObject : public X3DObject
00020 {
00021 public:
00023   X3DBoundedObject();
00025   X3DBoundedObject(const SFVec3f &bboxCenter,
00026                    const SFVec3f &bboxSize);
00028   virtual ~X3DBoundedObject();
00029 
00031   void setBBoxCenter(const SFVec3f &bboxCenter);
00033   void setBBoxSize(const SFVec3f &bboxSize);
00034 
00036   inline const SFVec3f &getBBoxCenter() const {return _bboxCenter;};
00038   inline const SFVec3f &getBBoxSize() const {return _bboxSize;};
00039 
00040 protected:
00042   X3DBoundedObject(const X3DBoundedObject &N);
00043 
00044 private:
00046   SFVec3f _bboxCenter;
00048   SFVec3f _bboxSize; 
00049 };
00050 
00051 }
00052 }
00053 
00054 #endif

Generated on Fri Jul 30 12:02:29 2004 for X3DToolKit by doxygen 1.3.6