Changeset 683 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 03/09/06 04:27:07 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r682 r683 218 218 Debug << "\nView cells after initial sampling:\n" << mCurrentViewCellsStats << endl; 219 219 220 if ( 0) // export initial view cells220 if (1) // export initial view cells 221 221 { 222 222 cout << "exporting initial view cells (=leaves) ... "; … … 3486 3486 mVspBspTree->ConstructGeometry(leaf, geom); 3487 3487 3488 const int cf = Polygon3::ClassifyPlane(geom.GetPolys(), *clipPlane, 0.000 5);3489 3490 if (cf == Polygon3::BACK_SIDE)3488 const int cf = Polygon3::ClassifyPlane(geom.GetPolys(), *clipPlane, 0.00000001f); 3489 3490 /*if (cf == Polygon3::BACK_SIDE) 3491 3491 { 3492 3492 exporter->ExportPolygons(geom.GetPolys()); 3493 3493 } 3494 3494 else if (cf == Polygon3::SPLIT) 3495 { 3495 {*/ 3496 3496 geom.SplitGeometry(front, 3497 3497 back, 3498 3498 *clipPlane, 3499 3499 mViewSpaceBox, 3500 0.0001f); 3501 3502 if (back.Size() >= 3) 3500 0.00000001f); 3501 3502 Debug << "here geo size: " << geom.Size() << endl; 3503 Debug << "here size b: " << back.Size() << " f: " << front.Size() << endl; 3504 if (back.Valid()) 3505 { 3506 Debug << "here3 size: " << back.Size() << endl; 3503 3507 exporter->ExportPolygons(back.GetPolys()); 3504 } 3508 } 3509 else 3510 Debug << "here2 size: " << back.Size() << endl; 3511 //} 3505 3512 } 3506 3513 }
Note: See TracChangeset
for help on using the changeset viewer.