Ignore:
Timestamp:
01/17/06 23:28:10 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r545 r547  
    212212BspTree::BspTree():   
    213213mRoot(NULL),  
    214 mPvsUseArea(true), 
     214mUseAreaForPvs(true), 
    215215mGenerateViewCells(true) 
    216216{ 
     
    410410                << maxCostNodes * 100 / (double)Leaves() << endl; 
    411411 
    412         app << "#N_PMINAREALEAVES  ( Percentage of leaves with mininum area )\n" 
    413                 << minAreaNodes * 100 / (double)Leaves() << endl; 
     412        app << "#N_PMINAREALEAVES  ( Percentage of leaves with mininum probability )\n" 
     413                << minProbabilityNodes * 100 / (double)Leaves() << endl; 
    414414 
    415415        app << "#N_PMAXRAYCONTRIBLEAVES  ( Percentage of leaves with maximal ray contribution )\n"  
     
    15351535                GenerateUniqueIdsForPvs(); 
    15361536 
    1537                 if (mPvsUseArea) // use front and back cell areas to approximate volume 
     1537                if (mUseAreaForPvs) // use front and back cell areas to approximate volume 
    15381538                { 
    15391539                        // construct child geometry with regard to the candidate split plane 
     
    16071607                        AddObjToPvs(ray->sourceObject.mObject, cf, frontPvs, backPvs); 
    16081608                         
    1609                         if (mPvsUseArea) 
     1609                        if (mUseAreaForPvs) 
    16101610                        { 
    16111611                                float len = 1; 
     
    18301830         
    18311831        if (data.mGeometry->GetArea() <= mTermMinArea)  
    1832                 ++ mStat.minAreaNodes; 
     1832                ++ mStat.minProbabilityNodes; 
    18331833 
    18341834#ifdef _DEBUG 
Note: See TracChangeset for help on using the changeset viewer.