00001 00002 // GL_BBox.h // 00004 00005 #ifndef GLBBOX_H 00006 #define GLBBOX_H 00007 00008 #include "BBox.h" 00009 #include "BBoxDrawArray.h" 00010 00011 namespace X3DTK { 00012 namespace GL { 00013 00015 00016 class BBox : public X3DTK::BBox 00017 { 00018 public: 00020 BBox(); 00022 explicit BBox(const X3DTK::BBox &BB); 00024 explicit BBox(const SFVec3f &min, const SFVec3f &max); 00025 00027 void draw() const; 00028 00029 protected: 00030 static BBoxDrawArray BBox_array; 00031 }; 00032 00033 } 00034 } 00035 00036 #endif