Changeset 1421 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp
- Timestamp:
- 09/20/06 18:32:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp
r1297 r1421 621 621 622 622 mHierarchyManager = 623 new HierarchyManager(mVspTree, HierarchyManager::KD_BASED_OBJ_SUBDIV); 623 new HierarchyManager(HierarchyManager::KD_BASED_OBJ_SUBDIV); 624 625 DEL_PTR(mHierarchyManager->mVspTree); 626 mHierarchyManager->mVspTree = mVspTree; 624 627 625 628 mObjectSpaceHierarchyType = OSP; … … 642 645 mObjectSpaceHierarchyType = BVH; 643 646 mHierarchyManager = 644 new HierarchyManager(mVspTree, HierarchyManager::BV_BASED_OBJ_SUBDIV); 647 new HierarchyManager(HierarchyManager::BV_BASED_OBJ_SUBDIV); 648 649 DEL_PTR(mHierarchyManager->mVspTree); 650 mHierarchyManager->mVspTree = mVspTree; 645 651 } 646 652 } … … 905 911 } 906 912 } 907 //cout << "\nview space box: " << mViewSpaceBox << endl; 908 } 909 910 911 void ViewCellsParseHandlers::CreateViewCellsManager(/*const char *name*/) 913 } 914 915 916 void ViewCellsParseHandlers::CreateViewCellsManager() 912 917 { 913 918 if (mViewSpaceHierarchyType == BSP) … … 920 925 { 921 926 Debug << "creating view cells manager: VspOsp" << endl; 922 923 927 // hack 924 928 mViewCellsManager = new VspOspViewCellsManager(mViewCellsTree, mHierarchyManager);
Note: See TracChangeset
for help on using the changeset viewer.