Ignore:
Timestamp:
11/25/05 16:51:47 (19 years ago)
Author:
bittner
Message:

default.env cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/VssTree.cpp

    r434 r435  
    479479                                                        ); 
    480480 
    481   //    cout<<axis<<" r="<<costRatio<<endl; 
     481  cout<<axis<<" r="<<costRatio<<endl; 
    482482         
    483483  if (costRatio > termMaxCostRatio) { 
     
    16111611          leaves++; 
    16121612          VssTreeLeaf *leaf = (VssTreeLeaf *)node; 
    1613           float c = leaf->GetAvgRayContribution(); 
     1613          float c = leaf->GetImportance(); 
    16141614          if (c > maxRayContribution) 
    16151615                maxRayContribution = c; 
     
    16451645    if (node->IsLeaf()) { 
    16461646          VssTreeLeaf *leaf = (VssTreeLeaf *)node; 
    1647           float c = leaf->GetAvgRayContribution(); 
     1647          float c = leaf->GetImportance(); 
    16481648          int num = (c*ratioPerLeaf + 0.5); 
    16491649          //                    cout<<num<<" "; 
     
    17761776  for (i=0; i < leaves.size() && k < numberOfLeaves; i++) 
    17771777        if (ValidLeaf(leaves[i])) { 
    1778           float c = leaves[i]->GetAvgRayContribution(); 
     1778          float c = leaves[i]->GetImportance(); 
    17791779          sumContrib += c; 
    17801780          //            cout<<"ray contrib "<<i<<" : "<<c<<endl; 
     
    17891789          k++; 
    17901790          VssTreeLeaf *leaf = leaves[i]; 
    1791           float c = leaf->GetAvgRayContribution(); 
     1791          float c = leaf->GetImportance(); 
    17921792          int num = (c*ratioPerLeaf + 0.5); 
    17931793          GenerateLeafRays(leaf, num, rays); 
     
    18291829 
    18301830         
     1831float 
     1832VssTreeLeaf::GetImportance()  const 
     1833{ 
     1834  return GetAvgRayContribution(); 
     1835} 
Note: See TracChangeset for help on using the changeset viewer.