Changeset 1738 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 11/10/06 02:09:56 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r1737 r1738 2475 2475 Intersectable::NewMail(); 2476 2476 2477 ObjectPvs Map::const_iterator oi;2477 ObjectPvsEntries::const_iterator oi; 2478 2478 2479 2479 for (oi = pvs.mEntries.begin(); oi != pvs.mEntries.end(); ++ oi) … … 2527 2527 2528 2528 Intersectable::NewMail(); 2529 ObjectPvs Map::const_iterator oi;2529 ObjectPvsEntries::const_iterator oi; 2530 2530 // first mark all object from this pvs 2531 2531 for (oi = pvs.mEntries.begin(); oi != pvs.mEntries.end(); ++ oi) { … … 2537 2537 int pvsSize = 0; 2538 2538 int nPvsSize = 0; 2539 float samples = pvs.mSamples;2539 float samples = (float)pvs.mSamples; 2540 2540 cout<<"Samples = "<<samples<<endl; 2541 2541 // cout<<"Filter size = "<<filterSize<<endl; … … 2595 2595 2596 2596 // update samples and globalC 2597 samples = pvs.mSamples;2597 samples = (float)pvs.mSamples; 2598 2598 globalC = 2.0f*filterSize/sqrt(samples); 2599 2599 cout<<"neighboring viewcells = "<<i-1<<endl; … … 2780 2780 for (vit = interior->mChildren.begin(); vit != vit_end; ++ vit, ++ oit) 2781 2781 { 2782 ObjectPvs Map::iterator pit, pit_end = (*oit).mEntries.end();2782 ObjectPvsEntries::iterator pit, pit_end = (*oit).mEntries.end(); 2783 2783 2784 2784 for (pit = (*oit).mEntries.begin(); pit != pit_end; ++ pit) … … 3268 3268 { 3269 3269 Intersectable::NewMail(); 3270 ObjectPvs Map::const_iterator oit, oit_end = pvs.mEntries.end();3270 ObjectPvsEntries::const_iterator oit, oit_end = pvs.mEntries.end(); 3271 3271 3272 3272 // output PVS of view cell … … 3769 3769 exporter->SetFilled(); 3770 3770 3771 ObjectPvs Map::iterator it, it_end = vc->GetPvs().mEntries.end();3771 ObjectPvsEntries::iterator it, it_end = vc->GetPvs().mEntries.end(); 3772 3772 // -- output PVS of view cell 3773 3773 for (it = vc->GetPvs().mEntries.begin(); it != it_end; ++ it) … … 4617 4617 Intersectable::NewMail(); 4618 4618 4619 ObjectPvs Map::const_iterator oit, oit_end = pvs.mEntries.end();4619 ObjectPvsEntries::const_iterator oit, oit_end = pvs.mEntries.end(); 4620 4620 cout << endl; 4621 4621 // output PVS of view cell … … 5448 5448 5449 5449 Intersectable::NewMail(); 5450 ObjectPvs Map::const_iterator oit, oit_end = pvs.mEntries.end();5450 ObjectPvsEntries::const_iterator oit, oit_end = pvs.mEntries.end(); 5451 5451 5452 5452 // output PVS of view cell
Note: See TracChangeset
for help on using the changeset viewer.