Ignore:
Timestamp:
07/13/06 09:06:21 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp

    r1121 r1133  
    252252        const bool result = mPvs.AddSample(sample, pdf, contribution); 
    253253 
    254         // update pvs size 
     254        // update pvs size scalar 
    255255        mPvsSize = mPvs.GetSize(); 
    256256        mPvsSizeValid = true; 
     
    260260 
    261261 
     262bool ViewCell::AddKdPvsSample(KdLeaf *sample, 
     263                                                          const float pdf,  
     264                                                          float &contribution) 
     265{ 
     266        const bool result = mKdPvs.AddSample(sample, pdf, contribution); 
     267 
     268        return result; 
     269} 
    262270 
    263271/************************************************************************/ 
     
    16871695                Intersectable *obj = (*oit).first; 
    16881696 
    1689                 set<KdLeaf *>::const_iterator kit, kit_end = obj->mKdLeaves.end(); 
    1690  
    1691                 for (kit = obj->mKdLeaves.begin(); kit != kit_end; ++ kit) 
    1692                 { 
    1693                         KdLeaf *leaf = *kit; 
     1697/*              KdLeaf *leaf = ; 
    16941698 
    16951699                        pvsSize += ((int)leaf->mObjects.size() - (int)leaf->mMultipleObjects.size()); 
     
    17091713                                } 
    17101714                        }                
    1711                 } 
     1715                }*/ 
    17121716        } 
    17131717 
Note: See TracChangeset for help on using the changeset viewer.