Ignore:
Timestamp:
07/19/06 18:31:33 (18 years ago)
Author:
mattausch
Message:

worked on vsp osp tree

File:
1 edited

Legend:

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

    r1142 r1143  
    22172217 
    22182218 
    2219  
    2220  
    22212219void 
    22222220ViewCellsManager::ApplyFilter(ViewCell *viewCell, 
     
    42574255                        } 
    42584256 
    4259                         const int maxDepth = mVspBspTree->mBspStats.maxDepth; 
     4257                        const int maxDepth = mVspBspTree->GetStatistics().maxDepth; 
    42604258 
    42614259                        ViewCellContainer::const_iterator vit, vit_end = mViewCells.end(); 
     
    49044902        long startTime; 
    49054903 
    4906         //mHierarchyManager->Construct(constructionRays, objects, &mViewSpaceBox); 
    4907         //mHierarchyManager->Construct2(constructionRays, objects, &mViewSpaceBox); 
    4908         mHierarchyManager->Construct3(constructionRays, objects, &mViewSpaceBox); 
    4909  
    4910         //-- stats 
     4904        if (!mOspTree->GetRoot()) 
     4905        { 
     4906                cout << "constructing vsp and osp tree" << endl; 
     4907                //mHierarchyManager->Construct(constructionRays, objects, &mViewSpaceBox); 
     4908                mHierarchyManager->Construct2(constructionRays, objects, &mViewSpaceBox); 
     4909        } 
     4910        else // just build view space partition tree 
     4911        { 
     4912                cout << "constructing only vsp tree" << endl; 
     4913                mHierarchyManager->Construct3(constructionRays, objects, &mViewSpaceBox); 
     4914        } 
     4915 
     4916        // print subdivision statistics 
    49114917        Debug << mVspTree->GetStatistics() << endl; 
    49124918 
     4919        // print view cell statistics 
    49134920        ResetViewCells(); 
    49144921        Debug << "\nView cells after construction:\n" << mCurrentViewCellsStats << endl; 
Note: See TracChangeset for help on using the changeset viewer.