Changeset 2094 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 02/05/07 16:45:46 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r2093 r2094 1063 1063 { 1064 1064 // create the meshes and compute volumes 1065 vm->FinalizeViewCells(false); 1066 // vm->mViewCellsTree->AssignRandomColors(); 1067 } 1068 1069 if (0) 1070 { 1071 cout << "=============== " << vm->GetViewCellById(5318)->GetPvs().GetSize() << "========" << endl; 1065 const bool createMeshes = true; 1066 //const bool createMeshes = false; 1067 1068 vm->FinalizeViewCells(createMeshes); 1072 1069 } 1073 1070 … … 2778 2775 if (lastVssRay == NULL || 2779 2776 !(ray.mOrigin == lastVssRay->mTermination) || 2780 !(ray.mTermination == lastVssRay->mOrigin)) { 2781 viewCells.clear(); 2782 // traverse the view space subdivision 2783 CastLineSegment(origin, termination, viewCells); 2784 lastVssRay = &ray; 2777 !(ray.mTermination == lastVssRay->mOrigin)) 2778 { 2779 viewCells.clear(); 2780 2781 // traverse the view space subdivision 2782 CastLineSegment(origin, termination, viewCells); 2783 lastVssRay = &ray; 2785 2784 } 2786 2785 … … 6556 6555 ViewCellContainer &viewcells) 6557 6556 { 6558 return mHierarchyManager-> 6559 GetVspTree()->CastLineSegment(origin, termination, viewcells); 6557 return mHierarchyManager->CastLineSegment(origin, termination, viewcells); 6560 6558 } 6561 6559
Note: See TracChangeset
for help on using the changeset viewer.