00001
00002
00003 #ifndef __FDH_6_TREE_H
00004 #define __FDH_6_TREE_H
00005
00006 #include <esg/geometry/BVList.h>
00007 #include <esg/geometry/FDH6.h>
00008 #include <esg/spacesorting/FDHTree.h>
00009 #include <esg/spacesorting/BVH.h>
00010
00011 namespace esg {
00012
00013 class OGSCENE_EXPORT FDH6Tree : public FDHTree {
00014 protected:
00015 virtual Geometry* _create_bv (List<SceneGraphObject>&);
00016 virtual Geometry* _create_bv (Geometry&, Geometry&);
00017 virtual Geometry* _create_bv (SceneGraphObject&);
00018 virtual Geometry* _create_bv (const float*, unsigned );
00019
00020 virtual void _duplicate_attributes (const SDS&);
00021
00022 FDH6Tree () : FDHTree(FDH6::DIRS, FDH6::FDHMat) {}
00023
00024 public:
00025 FDH6Tree (unsigned ll,
00026 unsigned dl,
00027 bool db,
00028 BVList::SplitStrategy ss)
00029 : FDHTree(ll, dl, FDH6::FDHMat, FDH6::DIRS, db, ss) {}
00030
00031 virtual SDS* clone () const;
00032 };
00033
00034 };
00035
00036 #endif // __FDH_6_TREE_H