AnimaL |
Tutorial |
Documentation |
00001 00003 // myGLBboxDrawArray.h // 00005 00006 #ifndef MY_BBOX_DRAW_ARRAY_H 00007 #define MY_BBOX_DRAW_ARRAY_H 00008 00009 #include <X3DTK/kernel.h> 00010 00011 #include <vector> 00012 00013 namespace X3DTK { 00014 namespace GL { 00015 00018 00019 class MyGLBboxDrawArray 00020 { 00021 public: 00023 MyGLBboxDrawArray(); 00024 00026 unsigned int getBboxSize() const; 00028 const void *getBboxVertexArrayAddress() const; 00030 const unsigned int *getBboxIndexArrayAddress() const; 00031 00032 protected: 00033 const float h; 00034 MFVec3f _bboxVertexArray; 00035 std::vector<unsigned int> _bboxIndexArray; 00036 }; 00037 00038 } 00039 } 00040 00041 #endif