Ignore:
Timestamp:
02/18/06 18:02:12 (18 years ago)
Author:
mattausch
Message:

exporting / loading full merge hierarchy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp

    r650 r651  
    908908void ViewCellsManager::CreateUniqueViewCellIds() 
    909909{ 
    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); 
    912915} 
    913916 
     
    29482951 
    29492952         
    2950         if (0) // export view cells 
     2953        if (1) // export view cells 
    29512954        {       // hack pvs 
    29522955                int savedColorCode = mColorCode; 
    2953                 mColorCode = 1; 
     2956                mColorCode = 0; 
    29542957                Exporter *exporter = Exporter::GetExporter("final_view_cells.x3d"); 
    29552958                 
     
    31693172                                exporter->ExportRays(vcRays, RgbColor(1, 1, 1)); 
    31703173                        } 
    3171  
    3172                          
     3174                 
    31733175 
    31743176                        if (1) 
     
    31953197                } 
    31963198                 
    3197                  
    3198  
    31993199 
    32003200                exporter->SetWireframe(); 
Note: See TracChangeset for help on using the changeset viewer.