Changeset 1121 for GTP/trunk/Lib/Vis/Preprocessing/src/X3dExporter.cpp
- Timestamp:
- 07/12/06 00:52:51 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/X3dExporter.cpp
r1112 r1121 1292 1292 1293 1293 1294 bool X3dExporter::ExportOspTree(const OspTree &ospTree) 1295 { 1296 vector<KdLeaf *> leaves; 1297 ospTree.CollectLeaves(leaves); 1298 1299 mUseForcedMaterial = true; 1300 1301 vector<KdLeaf *>::const_iterator it, it_end = leaves.end(); 1302 1303 for (it = leaves.begin(); it != it_end; ++ it) 1304 { 1305 SetWireframe(); 1306 ExportBox(ospTree.GetBBox(*it)); 1307 1308 SetForcedMaterial(RandomMaterial()); 1309 1310 ExportGeometry((*it)->mObjects); 1311 } 1312 1313 return true; 1314 } 1315 1316 1317 } 1318 1294 } 1295
Note: See TracChangeset
for help on using the changeset viewer.