00001 00002 // GL_BBoxDrawArray.h // 00004 00005 #ifndef BBOXDRAWARRAY_H 00006 #define BBOXDRAWARRAY_H 00007 00008 #include "X3DTypes.h" 00009 00010 #include <vector> 00011 00012 namespace X3DTK { 00013 namespace GL { 00014 00017 00018 class BBoxDrawArray 00019 { 00020 public: 00022 BBoxDrawArray(); 00023 00025 unsigned int getBBoxSize() const; 00027 const void *getBBoxVertexArrayAddress() const; 00029 const unsigned int *getBBoxIndexArrayAddress() const; 00030 00031 protected: 00032 const float h; 00033 MFVec3f _BBoxVertexArray; 00034 std::vector<unsigned int> _BBoxIndexArray; 00035 }; 00036 00037 } 00038 } 00039 00040 #endif