Ignore:
Timestamp:
09/20/06 18:32:10 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp

    r1297 r1421  
    621621 
    622622                                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; 
    624627 
    625628                                mObjectSpaceHierarchyType = OSP; 
     
    642645                                mObjectSpaceHierarchyType = BVH; 
    643646                                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; 
    645651                        } 
    646652                } 
     
    905911                } 
    906912        } 
    907         //cout << "\nview space box: " << mViewSpaceBox << endl; 
    908 } 
    909  
    910  
    911 void ViewCellsParseHandlers::CreateViewCellsManager(/*const char *name*/) 
     913} 
     914 
     915 
     916void ViewCellsParseHandlers::CreateViewCellsManager() 
    912917{ 
    913918        if (mViewSpaceHierarchyType == BSP) 
     
    920925        { 
    921926                Debug << "creating view cells manager: VspOsp" << endl; 
    922  
    923927                // hack 
    924928                mViewCellsManager = new VspOspViewCellsManager(mViewCellsTree, mHierarchyManager); 
Note: See TracChangeset for help on using the changeset viewer.