Changeset 1107


Ignore:
Timestamp:
07/10/06 09:40:20 (18 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
3 edited

Legend:

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

    r1106 r1107  
    52915291                        cout << "exporting object space partition ... "; 
    52925292 
    5293                         if (mExportGeometry) 
     5293                        if (0 && mExportGeometry) 
    52945294                        { 
    52955295                                exporter->ExportGeometry(objects); 
  • GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp

    r1106 r1107  
    655655        ospTree.CollectLeaves(leaves); 
    656656 
     657        mUseForcedMaterial = true; 
     658 
    657659        vector<KdLeaf *>::const_iterator it, it_end = leaves.end(); 
    658660 
    659661        for (it = leaves.begin(); it != it_end; ++ it) 
    660662        { 
     663                SetWireframe(); 
    661664                ExportBox(ospTree.GetBBox(*it)); 
     665 
     666                SetForcedMaterial(RandomMaterial()); 
     667 
     668                ExportGeometry((*it)->mObjects);         
    662669        } 
    663670 
     
    11761183        if (1) 
    11771184        { 
     1185                // export using native or random material 
    11781186                for (oit = objects.begin(); oit != oit_end; ++ oit) 
    11791187                { 
    1180                         if (1) 
     1188                        if (0) 
    11811189                        { 
    11821190                                mUseForcedMaterial = true; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/X3dExporter.cpp

    r1106 r1107  
    12431243        ospTree.CollectLeaves(leaves); 
    12441244 
     1245        mUseForcedMaterial = true; 
     1246 
    12451247        vector<KdLeaf *>::const_iterator it, it_end = leaves.end(); 
    12461248 
    12471249        for (it = leaves.begin(); it != it_end; ++ it) 
    12481250        { 
     1251                SetWireframe(); 
    12491252                ExportBox(ospTree.GetBBox(*it)); 
     1253 
     1254                SetForcedMaterial(RandomMaterial()); 
     1255 
     1256                ExportGeometry((*it)->mObjects);         
    12501257        } 
    12511258 
Note: See TracChangeset for help on using the changeset viewer.