Changeset 1743 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 11/13/06 15:34:15 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r1742 r1743 314 314 } 315 315 316 Intersectable * 317 ViewCellsManager::GetIntersectable(const VssRay &ray, const bool isTermination) const 318 { 319 return isTermination ? ray.mTerminationObject : ray.mOriginObject; 320 } 316 321 317 322 void … … 2591 2596 // first determine the average size of the filter 2592 2597 2598 pvs = viewCell->GetPvs(); 2593 2599 Intersectable::NewMail(); 2594 2600 2595 2601 ObjectPvsIterator pit = pvs.GetIterator(); 2596 2602 … … 2712 2718 ObjectContainer::const_iterator noi = objects.begin(); 2713 2719 for (; noi != objects.end(); ++ noi) { 2714 2715 2716 2717 2720 Intersectable *o = *noi; 2721 // $$ JB warning: pdfs are not correct at this point! 2722 nPvs.AddSample(o, Limits::Small); 2723 nPvsSize ++; 2718 2724 } 2719 2725 } … … 2721 2727 2722 2728 pvs.MergeInPlace(nPvs); 2723 2729 2724 2730 Intersectable::NewMail(); 2725 2731 } … … 5093 5099 } 5094 5100 5101 Intersectable * 5102 VspOspViewCellsManager::GetIntersectable(const VssRay &ray, const bool isTermination) const 5103 { 5104 return mHierarchyManager->GetIntersectable(ray, isTermination); 5105 } 5095 5106 5096 5107 HierarchyManager *VspOspViewCellsManager::CreateHierarchyManager(const string &hierarchyType)
Note: See TracChangeset
for help on using the changeset viewer.