Changeset 1787 for GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
- Timestamp:
- 11/24/06 12:05:28 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
r1786 r1787 2159 2159 2160 2160 if (mApplyInitialPartition) 2161 { cout << "here29"<<endl;2161 { 2162 2162 ApplyInitialSubdivision(oSubdivisionCandidate, tQueue); 2163 2163 } … … 2517 2517 tempQueue.Push(firstCandidate); 2518 2518 while (!tempQueue.Empty()) 2519 { cout << "here2"<<endl;2519 { 2520 2520 SubdivisionCandidate *candidate = tempQueue.Top(); 2521 2521 tempQueue.Pop(); … … 2529 2529 if (!InitialTerminationCriteriaMet(bsc->mParentData)) 2530 2530 { 2531 cout << "here12"<<endl;2532 2531 cout << "here9"<<bsc->mParentData.mNode->mObjects.size()<<endl; 2533 2532 BvhNode *node = Subdivide(tempQueue, bsc, globalCriteriaMet); … … 2555 2554 2556 2555 ObjectContainer::const_iterator oit, oit_end = objects->end(); 2557 cout<<"here104"<<endl;2558 for (oit = objects->begin(); oit != objects->end(); ++ oit)2559 { 2560 //cout << (*oit)->GetBox().SurfaceArea() << " ";2561 } 2556 2557 /*for (oit = objects->begin(); oit != objects->end(); ++ oit) 2558 { 2559 cout << (*oit)->GetBox().SurfaceArea() << " "; 2560 }*/ 2562 2561 2563 2562 float maxAreaDiff = -1.0f; … … 2566 2565 2567 2566 for (oit = objects->begin(); oit != (objects->end() - 1); ++ oit) 2568 { //cout << "h";2567 { 2569 2568 Intersectable *objS = *oit; 2570 2569 Intersectable *objL = *(oit + 1);
Note: See TracChangeset
for help on using the changeset viewer.