Ignore:
Timestamp:
08/02/06 17:40:16 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1178 r1179  
    251251                                                        float &contribution) 
    252252{ 
    253         Debug << "here9 "<< endl; 
    254         Debug << "here2 " << mVolume << endl; 
    255253        const bool result = mPvs.AddSample(sample, pdf, contribution); 
    256         Debug << "here4" << endl; 
    257         // update pvs size scalar 
    258         //mPvsSize = mPvs.GetSize(); 
    259         mPvsSizeValid = false; // recompute pvs size 
     254         
     255        mPvsSizeValid = false; // have to recompute pvs size 
    260256 
    261257        return result; 
     
    15261522 
    15271523                        ViewCellContainer::const_iterator it, it_end = interior->mChildren.end(); 
    1528 Debug << "\nhere92" << endl; 
     1524 
    15291525                        for (it = interior->mChildren.begin(); it != it_end; ++ it) 
    15301526                        { 
    1531                                 Debug << "here15" << endl; 
    15321527                                ViewCell *vc = *it; 
    15331528 
     
    15431538                        } 
    15441539 
    1545 Debug << "\nhere1005" << endl; 
     1540 
    15461541                        const float costDecr = (parentCost - childCost) / vol; 
    15471542 
     
    17341729        if (vc->mPvsSizeValid) 
    17351730        { 
    1736                 Debug << "here5"<<endl; 
    17371731                return vc->mPvsSize; 
    17381732        } 
    17391733         
    1740         Debug << "here2"<<endl; 
    1741  
    17421734        // if no valid pvs size stored as a scalar =>  
    17431735        // compute current pvs size of interior from it's leaf nodes 
Note: See TracChangeset for help on using the changeset viewer.