Ignore:
Timestamp:
12/13/05 17:28:02 (19 years ago)
Author:
mattausch
Message:

worked on vsp kd view cells

File:
1 edited

Legend:

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

    r452 r462  
    12201220} 
    12211221 
    1222 void VspBspTree::EvaluateViewCellsStats(BspViewCellsStatistics &stat) const 
     1222void VspBspTree::EvaluateViewCellsStats(ViewCellsStatistics &stat) const 
    12231223{ 
    12241224        stat.Reset(); 
     
    12391239                if (node->IsLeaf())  
    12401240                { 
    1241                         ++ stat.bspLeaves; 
     1241                        ++ stat.leaves; 
    12421242 
    12431243                        BspViewCell *viewCell = dynamic_cast<BspLeaf *>(node)->GetViewCell(); 
     
    12611261                                        stat.minPvs = pvsSize; 
    12621262 
    1263                                 if ((int)viewCell->mBspLeaves.size() > stat.maxBspLeaves) 
    1264                                         stat.maxBspLeaves = (int)viewCell->mBspLeaves.size();            
     1263                                if ((int)viewCell->mBspLeaves.size() > stat.maxLeaves) 
     1264                                        stat.maxLeaves = (int)viewCell->mBspLeaves.size();               
    12651265                        } 
    12661266                } 
Note: See TracChangeset for help on using the changeset viewer.