Ignore:
Timestamp:
10/02/06 19:07:38 (18 years ago)
Author:
mattausch
Message:

updated view cells loading. probably no optimal for performance

File:
1 edited

Legend:

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

    r1545 r1551  
    186186                VssRay *newRay = mRayCaster->CastRay(sray, mViewSpaceBox, false); 
    187187                //cout << "\np1: " << p1 << "\np : " <<  p << "\np2: " << p2 << endl; 
    188                 if (!newRay)  
    189                         return 0; 
    190 cout << "here42" << endl; 
     188                if (!newRay) return 0; 
     189 
    191190                const bool enqueued = HandleRay(newRay); 
    192191                 
     
    410409                ConstructViewCells(mViewSpaceBox); 
    411410                cout << "view cells loaded" << endl; 
     411        } 
     412        else if (1) 
     413        {        cout << "here2255566" << endl;  
     414                //-- load view cells from file 
     415                //-- test successful view cells loading by exporting them again 
     416                VssRayContainer dummies; 
     417                mViewCellsManager->Visualize(mObjects, dummies); 
     418                mViewCellsManager->ExportViewCells("test.xml.zip", mViewCellsManager->GetExportPvs(), mObjects); 
    412419        } 
    413420 
Note: See TracChangeset for help on using the changeset viewer.