Changeset 2543 for GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
- Timestamp:
- 08/21/07 19:37:28 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.cpp
r2542 r2543 68 68 69 69 70 HierarchyManager::HierarchyManager(KdTree *kdTree):71 mObjectSpaceSubdivisionType(KD_BASED_OBJ_SUBDIV),72 mBvHierarchy(NULL)73 {74 mOspTree = new OspTree(*kdTree);75 mOspTree->mVspTree = mVspTree;76 77 mVspTree = new VspTree();78 mVspTree->mHierarchyManager = this;79 80 mViewSpaceSubdivisionType = KD_BASED_VIEWSPACE_SUBDIV;81 ParseEnvironment();82 }83 84 85 70 void HierarchySubdivisionStats::Print(ostream &app) const 86 71 { … … 252 237 253 238 239 void HierarchyManager::SetVspTree(VspTree *vspTree) 240 { 241 mVspTree = vspTree; 242 mVspTree->mHierarchyManager = this; 243 } 244 245 254 246 VspTree *HierarchyManager::GetVspTree() 255 247 { 256 248 return mVspTree; 257 249 } 258 259 /*260 AxisAlignedBox3 HierarchyManager::GetViewSpaceBox() const261 {262 return mVspTree->mBoundingBox;263 }*/264 250 265 251
Note: See TracChangeset
for help on using the changeset viewer.