Changeset 720 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
- Timestamp:
- 03/31/06 10:37:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
r719 r720 468 468 469 469 // 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(); 476 478 ViewCell::NewMail(); 477 479 … … 487 489 // frequency stats are updated 488 490 const int statsOut = 500; 489 491 Debug << "here3" << endl; Debug.flush(); 490 492 // passes are needed for statistics, because we don't want to record 491 493 // every merge … … 501 503 int maxMergesPerPass; 502 504 int numMergedViewCells = 0; 503 505 Debug << "here5" << endl; Debug.flush(); 504 506 environment->GetIntValue("ViewCells.PostProcess.maxMergesPerPass", maxMergesPerPass); 505 507 environment->GetFloatValue("ViewCells.PostProcess.avgCostMaxDeviation", avgCostMaxDeviation); … … 537 539 const int numMergedViewCells = UpdateActiveViewCells(activeViewCells); 538 540 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 542 545 if (mRefineViewCells) 543 546 RefineViewCells(rays, objects);
Note: See TracChangeset
for help on using the changeset viewer.