Ignore:
Timestamp:
11/13/06 15:34:15 (18 years ago)
Author:
bittner
Message:

merge with new pvs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r1742 r1743  
    314314} 
    315315 
     316Intersectable * 
     317ViewCellsManager::GetIntersectable(const VssRay &ray, const bool isTermination) const 
     318{ 
     319  return isTermination ? ray.mTerminationObject : ray.mOriginObject; 
     320} 
    316321 
    317322void 
     
    25912596  // first determine the average size of the filter 
    25922597 
     2598  pvs = viewCell->GetPvs(); 
    25932599  Intersectable::NewMail(); 
    2594  
     2600   
    25952601  ObjectPvsIterator pit = pvs.GetIterator(); 
    25962602 
     
    27122718          ObjectContainer::const_iterator noi = objects.begin(); 
    27132719          for (; noi != objects.end(); ++ noi) { 
    2714                   Intersectable *o = *noi; 
    2715                   // $$ JB warning: pdfs are not correct at this point!    
    2716                   nPvs.AddSample(o, Limits::Small); 
    2717                   nPvsSize ++; 
     2720                Intersectable *o = *noi; 
     2721                // $$ JB warning: pdfs are not correct at this point!      
     2722                nPvs.AddSample(o, Limits::Small); 
     2723                nPvsSize ++; 
    27182724          } 
    27192725  } 
     
    27212727   
    27222728  pvs.MergeInPlace(nPvs); 
    2723  
     2729   
    27242730  Intersectable::NewMail(); 
    27252731} 
     
    50935099} 
    50945100 
     5101Intersectable * 
     5102VspOspViewCellsManager::GetIntersectable(const VssRay &ray, const bool isTermination) const 
     5103{ 
     5104  return mHierarchyManager->GetIntersectable(ray, isTermination); 
     5105} 
    50955106 
    50965107HierarchyManager *VspOspViewCellsManager::CreateHierarchyManager(const string &hierarchyType) 
Note: See TracChangeset for help on using the changeset viewer.