00001 
00003 
00005 
00006 #ifndef MY_GL_BBOX_H
00007 #define MY_GL_BBOX_H
00008 
00009 #include <X3DTK/kernel.h>
00010 #include "myGLBboxDrawArray.h"
00011 
00012 namespace X3DTK {
00013 namespace GL {
00014 
00016 
00017 class MyGLBbox : public X3DTK::BBox
00018 {
00019 public:
00021   MyGLBbox();
00023   explicit MyGLBbox(const X3DTK::BBox &BB);
00025   explicit MyGLBbox(const SFVec3f &min, const SFVec3f &max);
00026   
00028   void draw() const;
00029 
00030 protected:
00031   static MyGLBboxDrawArray bbox_array;
00032 };
00033 
00034 }
00035 }
00036 
00037 #endif