Changeset 650 for GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
- Timestamp:
- 02/17/06 20:41:22 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
r648 r650 71 71 mRenderCostWeight(0.5), 72 72 mUseRandomAxis(false), 73 mTimeStamp( 0)73 mTimeStamp(1) 74 74 { 75 75 bool randomize = false; … … 575 575 << "#RenderCostDecrease\n" << -costDecr << endl 576 576 << "#TotalRenderCost\n" << mTotalCost << endl 577 << "#AvgRenderCost\n" << mTotalPvsSize /mBspStats.Leaves() << endl;577 << "#AvgRenderCost\n" << (float)mTotalPvsSize / (float)mBspStats.Leaves() << endl; 578 578 } 579 579 … … 766 766 backData.mNode = interior->GetBack(); 767 767 768 frontData.mNode->mTimeStamp = mTimeStamp; 769 backData.mNode->mTimeStamp = mTimeStamp ++; 768 interior->mTimeStamp = mTimeStamp ++; 769 //frontData.mNode->mTimeStamp = ++ mTimeStamp; 770 //backData.mNode->mTimeStamp = mTimeStamp; 770 771 771 772 //DEL_PTR(leaf); … … 2966 2967 // the same leaves must not be part of two merge candidates 2967 2968 leaf->Mail(); 2969 2968 2970 vector<BspLeaf *> neighbors; 2969 FindNeighbors(leaf, neighbors, true); 2970 //FindApproximateNeighbors(leaf, neighbors, true); 2971 if (0) 2972 FindNeighbors(leaf, neighbors, true); 2973 else 2974 FindApproximateNeighbors(leaf, neighbors, true); 2971 2975 vector<BspLeaf *>::const_iterator nit, nit_end = neighbors.end(); 2972 2976
Note: See TracChangeset
for help on using the changeset viewer.