- Timestamp:
- 01/25/06 17:45:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.cpp
r574 r577 417 417 vm->CastBeam(beam); 418 418 419 Debug << "found " << beam.mViewCells.size() << " view cells and "420 << beam.mKdNodes.size() << " kd nodes" << endl;419 Debug << "found " << (int)beam.mViewCells.size() << " view cells and " 420 << (int)beam.mKdNodes.size() << " kd nodes" << endl; 421 421 422 422 BeamSampleStatistics stats; … … 526 526 { 527 527 mViewSpaceBox = box; 528 mViewCellsManager->SetViewSpaceBox(*box);529 528 } 530 529 else 531 530 { 532 531 mViewSpaceBox = NULL; 533 mViewCellsManager->SetViewSpaceBox(mKdTree->GetBox()); 534 } 535 532 } 533 534 AxisAlignedBox3 vbox = mViewSpaceBox ? *mViewSpaceBox : mKdTree->GetBox(); 535 536 536 //-- load view cells from file if requested 537 if (mLoadViewCells) 538 { 539 // load now because otherwise bounding box not correct 540 mViewCellsManager->LoadViewCells(mViewCellsFilename, &mObjects); 541 } 542 else 543 { 537 if (!mLoadViewCells) 538 { 539 mViewCellsManager->SetViewSpaceBox(vbox); 544 540 // construct view cells using it's own set of samples 545 541 mViewCellsManager->Construct(this);
Note: See TracChangeset
for help on using the changeset viewer.