Ignore:
Timestamp:
02/05/07 16:45:46 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2093 r2094  
    10631063                { 
    10641064                        // create the meshes and compute volumes 
    1065                         vm->FinalizeViewCells(false); 
    1066                         // vm->mViewCellsTree->AssignRandomColors(); 
    1067                 } 
    1068  
    1069                 if (0) 
    1070                 { 
    1071                         cout << "=============== " << vm->GetViewCellById(5318)->GetPvs().GetSize() << "========" << endl; 
     1065                        const bool createMeshes = true; 
     1066                        //const bool createMeshes = false; 
     1067 
     1068                        vm->FinalizeViewCells(createMeshes); 
    10721069                } 
    10731070 
     
    27782775        if (lastVssRay == NULL || 
    27792776                !(ray.mOrigin == lastVssRay->mTermination) || 
    2780                 !(ray.mTermination == lastVssRay->mOrigin)) { 
    2781           viewCells.clear(); 
    2782           // traverse the view space subdivision 
    2783           CastLineSegment(origin, termination, viewCells); 
    2784           lastVssRay = &ray; 
     2777                !(ray.mTermination == lastVssRay->mOrigin))  
     2778        { 
     2779                viewCells.clear(); 
     2780                 
     2781                // traverse the view space subdivision 
     2782                CastLineSegment(origin, termination, viewCells); 
     2783                lastVssRay = &ray; 
    27852784        } 
    27862785         
     
    65566555                                                                                        ViewCellContainer &viewcells) 
    65576556{ 
    6558         return mHierarchyManager-> 
    6559                 GetVspTree()->CastLineSegment(origin, termination, viewcells); 
     6557        return mHierarchyManager->CastLineSegment(origin, termination, viewcells); 
    65606558} 
    65616559 
Note: See TracChangeset for help on using the changeset viewer.