Ignore:
Timestamp:
03/31/06 10:37:45 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r719 r720  
    468468         
    469469        // the current view cells are kept in this container 
    470         // we start with the current view cells from the 
    471         // view cell manager. They will change with 
    472         // subsequent merges 
    473         ViewCellContainer &activeViewCells = mViewCellsManager->GetViewCells(); 
    474  
    475  
     470        // we start with the current view cells from the view cell manager.  
     471        // The active view cells will change with subsequent merges 
     472        Debug << "here2" << endl; Debug.flush(); 
     473        // todo: should rather take initial view cells 
     474    ViewCellContainer &activeViewCells = mViewCellsManager->GetViewCells(); 
     475        //ViewCellContainer activeViewCells; 
     476         
     477        Debug << "here2.6" << endl; Debug.flush(); 
    476478        ViewCell::NewMail(); 
    477479 
     
    487489        // frequency stats are updated 
    488490        const int statsOut = 500; 
    489  
     491        Debug << "here3" << endl; Debug.flush(); 
    490492        // passes are needed for statistics, because we don't want to record 
    491493        // every merge 
     
    501503        int maxMergesPerPass; 
    502504        int numMergedViewCells = 0; 
    503  
     505        Debug << "here5" << endl; Debug.flush(); 
    504506        environment->GetIntValue("ViewCells.PostProcess.maxMergesPerPass", maxMergesPerPass); 
    505507        environment->GetFloatValue("ViewCells.PostProcess.avgCostMaxDeviation", avgCostMaxDeviation); 
     
    537539                        const int numMergedViewCells = UpdateActiveViewCells(activeViewCells); 
    538540                 
    539                         // refines the view cells 
    540                         // then priorities are recomputed 
    541                         // and the candidates are put back into merge queue 
     541                         
     542                        //-- resets / refines the view cells 
     543                        //-- priorities are recomputed 
     544                        //-- the candidates are put back into merge queue 
    542545                        if (mRefineViewCells) 
    543546                                RefineViewCells(rays, objects); 
Note: See TracChangeset for help on using the changeset viewer.