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

Legend:

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

    r2598 r2601  
    343343                hitTriangle = static_cast<TriangleIntersectable *>(tObj)->GetItem(); 
    344344        else 
    345                 cout << "border sampling: " << tObj->Type() << " not yet implemented" << endl; 
     345                cout << "border sampling: " << Intersectable::GetTypeName(tObj) << " not yet implemented" << endl; 
     346 
     347        //cout << "type: " << Intersectable::GetTypeName(tObj) << endl; 
    346348 
    347349        VertexContainer enlargedTriangle; 
     
    912914                // exchange triangle pvs with objects 
    913915                //UpdatePvs(mCurrentViewCell); 
    914                 GetObjectPvs(objectPvs); 
     916        GetObjectPvs(objectPvs); 
     917 
     918                // add pvs 
     919                ObjectContainer::const_iterator it, it_end = objectPvs.end(); 
     920 
     921                for (it = objectPvs.begin(); it != it_end; ++ it) 
     922                { 
     923                        mCurrentViewCell->GetPvs().AddSampleDirty(*it, 1.0f); 
     924                } 
    915925 
    916926                cout << "triangle pvs of " << (int)mTrianglePvs.size()  
    917927                         << " was converted to object pvs of " << (int)objectPvs.size() << endl; 
     928                 
    918929 
    919930                //////// 
Note: See TracChangeset for help on using the changeset viewer.