Ignore:
Timestamp:
08/11/06 03:05:12 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1178 r1197  
    594594 
    595595 
    596 bool X3dExporter::ExportKdTree(const KdTree &tree) 
     596bool X3dExporter::ExportKdTree(const KdTree &tree,  
     597                                                           const bool exportGeometry) 
    597598{ 
    598599         if (mExportRayDensity) { 
     
    630631      tStack.push(interior->mBack); 
    631632    } 
     633        else if (exportGeometry) 
     634        { 
     635                SetFilled(); 
     636                SetForcedMaterial(RandomMaterial()); 
     637                ExportGeometry(dynamic_cast<KdLeaf *>(node)->mObjects);  
     638                SetWireframe(); 
     639        } 
    632640  } 
    633641   
     
    637645  return true; 
    638646} 
    639  
    640  
    641647 
    642648 
Note: See TracChangeset for help on using the changeset viewer.