Changeset 1404 for GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.cpp
- Timestamp:
- 09/18/06 02:23:47 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.cpp
r1328 r1404 466 466 mSceneGraph->CollectObjects(&mObjects); 467 467 468 //-- load view cells from file or reconstruct them469 468 if (!mLoadViewCells) 470 469 { 470 //-- generate new view cells or reconstruct them 471 //-- for construction the manager uses it's own set of samples 471 472 mViewCellsManager->SetViewSpaceBox(vbox); 472 // construct view cells using it's own set of samples473 473 mViewCellsManager->Construct(this); 474 474 475 // -- severalvisualizations and statistics475 // output visualizations and statistics 476 476 Debug << "view cells construction finished: " << endl; 477 477 mViewCellsManager->PrintStatistics(Debug); 478 478 } 479 #if 1 // test successful view cells loading by exporting them again479 #if 1 480 480 else 481 481 { 482 VssRayContainer dummies; 482 //-- load view cells from file 483 //-- test successful view cells loading by exporting them again 484 VssRayContainer dummies; 483 485 mViewCellsManager->Visualize(mObjects, dummies); 484 486 mViewCellsManager->ExportViewCells("test.xml.zip", mViewCellsManager->GetExportPvs(), mObjects); 485 487 } 486 488 #endif 489 487 490 VssTree *vssTree = NULL; 488 489 long initialTime = GetTime(); 491 const long initialTime = GetTime(); 490 492 491 493 if (mLoadInitialSamples)
Note: See TracChangeset
for help on using the changeset viewer.