Changeset 613


Ignore:
Timestamp:
02/13/06 12:21:35 (18 years ago)
Author:
mattausch
Message:
 
Location:
trunk/VUT
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.cpp

    r612 r613  
    285285        //app << "#N_CTIME  ( Construction time [s] )\n" << Time() << " \n"; 
    286286 
    287         app << "#N_OVERALLPVS ( objects in PVS )\n" << pvs << endl; 
     287        app << "#N_OVERALLPVS ( objects in PVS )\n" << pvsSize << endl; 
    288288 
    289289        app << "#N_PMAXPVS ( largest PVS )\n" << maxPvs << endl; 
     
    16311631        const int pvsSize = GetPvsSize(vc); 
    16321632 
    1633         vcStat.pvs += pvsSize; 
     1633        vcStat.pvsSize += pvsSize; 
    16341634 
    16351635        if (pvsSize == 0) 
     
    16441644        if (!vc->GetValid()) 
    16451645                ++ vcStat.invalid; 
     1646 
     1647        /*ViewCellsContainer leaves; 
     1648        CollectLeaves(vc, leaves); 
     1649 
     1650        vcStat.leaves = (int)leaves.size();*/ 
    16461651} 
    16471652 
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h

    r610 r613  
    3232 
    3333        /// size of the PVS 
    34         int pvs; 
     34        int pvsSize; 
    3535 
    3636        /// largest PVS of all view cells 
     
    5858 
    5959        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;}; 
    6161 
    6262        void Reset() 
    6363        { 
    6464                viewCells = 0; 
    65                 pvs = 0; 
     65                pvsSize = 0; 
    6666                maxPvs = 0; 
    6767 
Note: See TracChangeset for help on using the changeset viewer.