Changeset 1201 for GTP/trunk/Lib/Vis/Preprocessing/src/VspOspTree.h
- Timestamp:
- 08/11/06 17:39:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspOspTree.h
r1189 r1201 733 733 /** Writes tree to output stream 734 734 */ 735 #if ZIPPED_VIEWCELLS 736 bool Export(ogzstream &stream); 737 #else 738 bool Export(ofstream &stream); 739 #endif 735 bool Export(OUT_STREAM &stream); 740 736 741 737 /** Casts beam, i.e. a 5D frustum of rays, into tree. … … 1033 1029 @note: should be implemented as visitor. 1034 1030 */ 1035 #if ZIPPED_VIEWCELLS 1036 void ExportNode(VspNode *node, ogzstream &stream); 1037 #else 1038 void ExportNode(VspNode *node, ofstream &stream); 1039 #endif 1031 void ExportNode(VspNode *node, OUT_STREAM &stream); 1040 1032 1041 1033 /** Returns estimated memory usage of tree. … … 1335 1327 void CollectLeaves(vector<KdLeaf *> &leaves) const; 1336 1328 1337 1338 1329 /** Returns bounding box of the whole tree (= bbox of root node) 1339 1330 */ … … 1390 1381 /** Writes tree to output stream 1391 1382 */ 1392 #if ZIPPED_VIEWCELLS 1393 bool Export(ogzstream &stream); 1394 #else 1395 bool Export(ofstream &stream); 1396 #endif 1383 bool Export(OUT_STREAM &stream); 1397 1384 1398 1385 /** Returns or creates a new intersectable for use in a kd based pvs. … … 1423 1410 float EvalRenderCost(const VssRayContainer &myrays); 1424 1411 float EvalLeafCost(const OspTraversalData &tData); 1412 1413 /** Adds this objects to the kd leaf objects. 1414 @warning: Can corrupt the tree 1415 */ 1416 void InsertObjects(KdNode *node, const ObjectContainer &objects); 1425 1417 1426 1418 protected: … … 1621 1613 @note: should be implemented as visitor. 1622 1614 */ 1623 #if ZIPPED_VIEWCELLS 1624 void ExportNode(KdNode *node, ogzstream &stream); 1625 #else 1626 void ExportNode(KdNode *node, ofstream &stream); 1627 #endif 1615 void ExportNode(KdNode *node, OUT_STREAM &stream); 1628 1616 1629 1617 /** Returns estimated memory usage of tree.
Note: See TracChangeset
for help on using the changeset viewer.