Changeset 1165 for GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Timestamp:
- 07/27/06 17:08:21 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreKdTree.h
r1163 r1165 19 19 20 20 #include <stack> 21 22 #include "OgreKdTreeHierarchyInterface.h" 21 23 22 24 namespace Ogre … … 339 341 340 342 public: 343 friend class Ogre::KdTreeHierarchyInterface; 344 341 345 typedef KdTree::Leaf * LeafPtr; 342 346 typedef std::set<LeafPtr> LeafSet; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/include/OgreKdTreeSceneManager.h
r1163 r1165 11 11 #define _KdTreeSceneManager_H__ 12 12 13 #include <OgreKdTreeHierarchyInterface.h> 13 14 #include <OgreSceneManager.h> 14 15 #include "OgreKdTree.h" 16 #include "VisibilityManager.h" 17 18 #define KDTREE_MAX_DEPTH 20 15 19 16 20 namespace Ogre … … 23 27 { 24 28 public: 25 KdTreeSceneManager(const String& name );29 KdTreeSceneManager(const String& name, GtpVisibility::VisibilityManager *vm); 26 30 //KdTreeSceneManager(const String& name, int maxdepth); 27 31 ~KdTreeSceneManager(void); … … 54 58 SceneManager::clearScene(); 55 59 } 60 56 61 protected: 62 GtpVisibility::VisibilityManager *mVisibilityManager; 63 64 KdTreeHierarchyInterface *mHierarchyInterface; 57 65 58 66 int mMaxDepth; … … 76 84 protected: 77 85 void initMetaData(void) const; 86 GtpVisibility::VisibilityManager *visManager; 78 87 public: 79 KdTreeSceneManagerFactory(void) {}; 88 KdTreeSceneManagerFactory(GtpVisibility::VisibilityManager * vm) 89 { 90 visManager = vm; 91 }; 80 92 ~KdTreeSceneManagerFactory(void) {}; 81 93 /// Factory type name
Note: See TracChangeset
for help on using the changeset viewer.