00001
00002
00003 #ifndef __INSPECTOR_BVH_H
00004 #define __INSPECTOR_BVH_H
00005
00006 #include <esg/InspectorSDS.h>
00007 #include <esg/spacesorting/BVH.h>
00008
00009 namespace esg {
00010
00016 class OGSCENE_EXPORT InspectorBVH : public InspectorSDS {
00017 protected:
00018 unsigned _depth;
00019 BVH::Node * _pActNode;
00020 unsigned _actDepth;
00021
00022 public:
00029 InspectorBVH (SDS * s, unsigned d)
00030 : InspectorSDS(s), _depth(d), _pActNode(NULL), _actDepth(0) {}
00031
00032 virtual const Geometry* firstElement();
00033 virtual const Geometry* nextElement();
00034 };
00035
00036 };
00037
00038
00039 #endif //__INSPECTOR_BVH_H