Changeset 734 for GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
- Timestamp:
- 04/07/06 23:42:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspBspTree.cpp
r729 r734 155 155 Debug << "use random axis: " << mUseRandomAxis << endl; 156 156 Debug << "breath first splits: " << mBreathFirstSplits << endl; 157 Debug << "depth first splits: " << mDepthFirstSplits << endl; 158 157 159 Debug << "empty view cells merge: " << mEmptyViewCellsMergeAllowed << endl; 158 160 … … 940 942 void VspBspTree::EvalPriority(VspBspTraversalData &tData) const 941 943 { 942 tData.mPriority = mBreathFirstSplits ? 943 (float)-tData.mDepth : tData.mPvs * tData.mProbability; 944 if (mBreathFirstSplits) 945 tData.mPriority = (float)-tData.mDepth; 946 else if (mDepthFirstSplits) 947 tData.mPriority = (float)tData.mDepth; 948 else 949 tData.mPriority = tData.mPvs * tData.mProbability; 944 950 //cout << "priority: " << tData.mPriority << endl; 945 951 }
Note: See TracChangeset
for help on using the changeset viewer.