00001 00002 00003 00005 00006 00011 00016 00021 // BboxDrawArray.h // 00023 00024 #ifndef BBOXDRAWARRAY_H 00025 #define BBOXDRAWARRAY_H 00026 00027 #include "X3DTypes.h" 00028 00029 #include <vector> 00030 00031 namespace X3DTK { 00032 namespace GL { 00033 00036 00037 class BboxDrawArray 00038 { 00039 public: 00041 BboxDrawArray(); 00042 00044 unsigned int getBboxSize() const; 00046 const void *getBboxVertexArrayAddress() const; 00048 const unsigned int *getBboxIndexArrayAddress() const; 00049 00050 protected: 00051 const float h; 00052 MFVec3f _bboxVertexArray; 00053 std::vector<unsigned int> _bboxIndexArray; 00054 }; 00055 00056 } 00057 } 00058 00059 #endif