Changeset 1449 for GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
- Timestamp:
- 09/21/06 19:14:24 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
r1418 r1449 474 474 mBspStats.nodes = 1; 475 475 mBspStats.polys = (int)polys.size(); 476 m GlobalCostMisses = 0;476 mBspStats.mGlobalCostMisses = 0; 477 477 478 478 … … 676 676 //Debug << "cost ratio: " << costRatio << endl; 677 677 if (costRatio < mTermMinGlobalCostRatio) 678 ++ mGlobalCostMisses; 679 678 { 679 ++ mBspStats.mGlobalCostMisses; 680 } 681 680 682 if (0 && !mOutOfMemory) 681 683 { 682 684 float mem = GetMemUsage(); 683 684 685 if (mem > mMaxMemory) 685 686 { … … 693 694 694 695 if (r == mRoot) 696 { 695 697 Debug << "VSP BSP tree construction time spent at root: " 696 698 << TimeDiff(startTime, GetTime())*1e-3 << "s" << endl; 699 } 697 700 698 701 if (mBspStats.Leaves() >= nLeaves) … … 753 756 || mOutOfMemory 754 757 || (mBspStats.Leaves() >= mMaxViewCells) 755 || (m GlobalCostMisses >= mTermGlobalCostMissTolerance)758 || (mBspStats.mGlobalCostMisses >= mTermGlobalCostMissTolerance) 756 759 ); 757 760 }
Note: See TracChangeset
for help on using the changeset viewer.