Changeset 708 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
- Timestamp:
- 03/17/06 17:30:28 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
r706 r708 619 619 } 620 620 621 622 621 // adjust stats and reset queue one final time 623 622 mExpectedCost = realExpectedCost; … … 627 626 UpdateActiveViewCells(activeViewCells); 628 627 629 630 628 // refine view cells and reset costs 631 629 if (mRefineViewCells) … … 633 631 else 634 632 ResetMergeQueue(); 633 635 634 636 635 // create a root node if the merge was not done till root level, … … 653 652 mRoot = activeViewCells[0]; 654 653 } 655 654 656 655 //-- empty merge queue just in case 657 656 while (!mMergeQueue.empty()) … … 675 674 // assign colors for the view cells so that at least one is always consistent 676 675 AssignRandomColors(); 677 676 678 677 //TODO: should return sample contributions? 679 678 return mergeStats.merged; … … 1686 1685 1687 1686 tqueue.push(mRoot); 1687 1688 1688 mRoot->SetColor(RandomColor(0.3f, 1.0f)); 1689 1689 … … 1718 1718 1719 1719 if (maxViewCell) 1720 { 1720 1721 maxViewCell->SetColor(vc->GetColor()); 1722 } 1721 1723 1722 1724 tqueue.push(v);
Note: See TracChangeset
for help on using the changeset viewer.