Changeset 1616 for GTP/trunk/Lib/Vis/Preprocessing
- Timestamp:
- 10/13/06 03:28:42 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r1614 r1616 608 608 ViewCellsManager *vm = NULL; 609 609 610 if (parser.ParseViewCellsFile(filename, &vm, objects, bconverter)) 611 { 612 const long startTime = GetTime(); 613 610 const long startTime = GetTime(); 611 bool success = parser.ParseViewCellsFile(filename, &vm, objects, bconverter); 612 613 if (success) 614 { 614 615 vm->ResetViewCells(); 615 616 … … 621 622 // create the meshes and compute volumes 622 623 vm->FinalizeViewCells(true); 623 // 624 // vm->mViewCellsTree->AssignRandomColors(); 624 625 } 625 626 … … 3909 3910 Debug << "\nView cells after merge:\n" << mCurrentViewCellsStats << endl; 3910 3911 3911 if ( 1) // export merged view cells3912 if (mShowVisualization) // export merged view cells 3912 3913 { 3913 3914 mColorCode = 0; … … 3940 3941 } 3941 3942 3942 if ( 1)3943 if (mShowVisualization) 3943 3944 { 3944 3945 // use pvs size for color coding … … 3977 3978 { 3978 3979 mRenderer->RenderScene(); 3980 3979 3981 SimulationStatistics ss; 3980 3982 dynamic_cast<RenderSimulator *>(mRenderer)->GetStatistics(ss); … … 4703 4705 volume += lVol; 4704 4706 4705 CreateMesh(*it); 4707 if (createMesh) 4708 CreateMesh(*it); 4706 4709 } 4707 4710 -
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsParser.cpp
r1595 r1616 271 271 // all bounding boxes gathered in this step => 272 272 // associate object ids with bounding boxes 273 long startTime = GetTime();273 const long startTime = GetTime(); 274 274 275 275 if (mBoundingBoxConverter)
Note: See TracChangeset
for help on using the changeset viewer.