Changeset 613 for trunk/VUT/GtpVisibilityPreprocessor
- Timestamp:
- 02/13/06 12:21:35 (19 years ago)
- Location:
- trunk/VUT/GtpVisibilityPreprocessor/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.cpp
r612 r613 285 285 //app << "#N_CTIME ( Construction time [s] )\n" << Time() << " \n"; 286 286 287 app << "#N_OVERALLPVS ( objects in PVS )\n" << pvs << endl;287 app << "#N_OVERALLPVS ( objects in PVS )\n" << pvsSize << endl; 288 288 289 289 app << "#N_PMAXPVS ( largest PVS )\n" << maxPvs << endl; … … 1631 1631 const int pvsSize = GetPvsSize(vc); 1632 1632 1633 vcStat.pvs += pvsSize;1633 vcStat.pvsSize += pvsSize; 1634 1634 1635 1635 if (pvsSize == 0) … … 1644 1644 if (!vc->GetValid()) 1645 1645 ++ vcStat.invalid; 1646 1647 /*ViewCellsContainer leaves; 1648 CollectLeaves(vc, leaves); 1649 1650 vcStat.leaves = (int)leaves.size();*/ 1646 1651 } 1647 1652 -
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h
r610 r613 32 32 33 33 /// size of the PVS 34 int pvs ;34 int pvsSize; 35 35 36 36 /// largest PVS of all view cells … … 58 58 59 59 double AvgLeaves() const {return (double)leaves / (double)viewCells;}; 60 double AvgPvs() const {return (double)pvs / (double)viewCells;};60 double AvgPvs() const {return (double)pvsSize / (double)viewCells;}; 61 61 62 62 void Reset() 63 63 { 64 64 viewCells = 0; 65 pvs = 0;65 pvsSize = 0; 66 66 maxPvs = 0; 67 67
Note: See TracChangeset
for help on using the changeset viewer.