00001 00002 // GLBbox.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