00001 00002 // 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 00016 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 #endif