Ignore:
Timestamp:
02/01/07 14:42:05 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2069 r2071  
    36553655 
    36563656        /////////// 
    3657         //-- faster way of computing pvs: 
    3658         //-- construct merged pvs by adding 
    3659         //-- and only those of the next pvs which were not mailed. 
    3660         //-- note: sumpdf is not correct!! 
     3657        //-- merge pvss 
    36613658 
    36623659        vector<ObjectPvs>::iterator oit = pvsList.begin(); 
     
    36663663                ObjectPvsIterator pit = (*oit).GetIterator(); 
    36673664                 
    3668                 // first mark all object from this pvs 
     3665                // add pvss to new pvs: use mailing to avoid adding entries two times. 
    36693666                while (pit.HasMoreEntries()) 
    36703667                {                
     
    36773674                                intersect->Mail(); 
    36783675 
    3679                                 if (pvs.AddSampleDirtyCheck(intersect, entry.mData.mSumPdf)) 
    3680                                 { 
    3681                                         if (pvs.RequiresResort()) 
    3682                                         { 
    3683                                                 pvs.SimpleSort(); 
    3684                                         } 
    3685                                 } 
    3686                                  
     3676                                pvs.AddSampleDirty(intersect, entry.mData.mSumPdf); 
    36873677                        } 
    36883678                } 
    36893679        } 
     3680 
     3681        if (0) pvs.Sort(); 
    36903682 
    36913683        // store pvs in this node 
     
    36993691         
    37003692#else  
    3701         // really merge cells: slow put sumPdf is correct 
     3693        // really merge cells: slow but sumPdf is correct 
    37023694        viewCellInterior->GetPvs().Merge(backVc->GetPvs()); 
    37033695        viewCellInterior->GetPvs().Merge(frontVc->GetPvs()); 
Note: See TracChangeset for help on using the changeset viewer.