00001 #ifndef X3DTK_GL_BBOXDRAWARRAY_H 00002 #define X3DTK_GL_BBOXDRAWARRAY_H 00003 00004 #include "X3DTypes.h" 00005 00006 #include <vector> 00007 00008 namespace X3DTK { 00009 namespace GL { 00010 00017 class BBoxDrawArray 00018 { 00019 public: 00021 BBoxDrawArray(); 00022 00024 unsigned int getBBoxSize() const; 00026 const void *getBBoxVertexArrayAddress() const; 00028 const unsigned int *getBBoxIndexArrayAddress() const; 00029 00030 protected: 00031 const float h; 00032 MFVec3f _BBoxVertexArray; 00033 std::vector<unsigned int> _BBoxIndexArray; 00034 }; 00035 00036 } 00037 } 00038 00039 #endif