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 00014 00015 class GLBbox : public Bbox 00016 { 00017 public: 00019 GLBbox(); 00021 explicit GLBbox(const Bbox &BB); 00023 explicit GLBbox(const SFVec3f &min, const SFVec3f &max); 00024 00026 void draw() const; 00027 00028 protected: 00029 static BboxDrawArray bbox_array; 00030 }; 00031 00032 } 00033 00034 #endif