Changeset 651 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 02/18/06 18:02:12 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r650 r651 908 908 void ViewCellsManager::CreateUniqueViewCellIds() 909 909 { 910 for (int i = 0; i < (int)mViewCells.size(); ++ i) 911 mViewCells[i]->SetId(i); 910 if (ViewCellsTreeConstructed()) 911 mViewCellsTree->CreateUniqueViewCellsIds(); 912 else 913 for (int i = 0; i < (int)mViewCells.size(); ++ i) 914 mViewCells[i]->SetId(i); 912 915 } 913 916 … … 2948 2951 2949 2952 2950 if ( 0) // export view cells2953 if (1) // export view cells 2951 2954 { // hack pvs 2952 2955 int savedColorCode = mColorCode; 2953 mColorCode = 1;2956 mColorCode = 0; 2954 2957 Exporter *exporter = Exporter::GetExporter("final_view_cells.x3d"); 2955 2958 … … 3169 3172 exporter->ExportRays(vcRays, RgbColor(1, 1, 1)); 3170 3173 } 3171 3172 3174 3173 3175 3174 3176 if (1) … … 3195 3197 } 3196 3198 3197 3198 3199 3199 3200 3200 exporter->SetWireframe();
Note: See TracChangeset
for help on using the changeset viewer.