Changeset 837 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.h
- Timestamp:
- 04/27/06 09:29:52 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.h
r810 r837 384 384 void SetViewCellsStorage(int type); 385 385 386 /** pvs storage methods */ 386 /** pvs storage methods 387 */ 387 388 enum {PVS_IN_INTERIORS, COMPRESSED, PVS_IN_LEAVES}; 388 389 390 enum {EXPORT_EMPTY_PVS, EXPORT_IDS, EXPORT_BBOXES}; 391 389 392 /** If view cells in this tree have compressed pvs. 390 393 */ … … 403 406 void PropagatePvs(ViewCell *vc); 404 407 405 bool Export(ofstream &stream); 408 /** Exports view cells to file. 409 */ 410 bool Export(ofstream &stream, const int pvsType = EXPORT_EMPTY_PVS); 406 411 407 412 /** Export statistics of this view cell tree. … … 503 508 */ 504 509 float GetMemUsage() const; 505 506 /** 507 Exports single view cell. 510 511 /** Exports single view cell. 508 512 NOTE: should be in exporter!! 509 513 */ 510 void ExportViewCell(ViewCell *viewCell, ofstream &stream); 514 void ExportViewCell(ViewCell *viewCell, ofstream &stream, const int pvsType); 515 516 /** Exports pvs of a view cell. 517 */ 518 void ExportPvs(ViewCell *viewCell, ofstream &stream, const int pvsType); 511 519 512 520 … … 522 530 523 531 524 /** intermediate container of merged view cells. 525 */ 532 /// intermediate container of merged view cells. 526 533 ViewCellContainer mMergedViewCells; 527 534 528 535 536 /// if merged view cells are refined. 529 537 bool mRefineViewCells; 530 538 … … 537 545 float mDeviation; 538 546 float mAvgRenderCost; 539 547 /// the area is used for pvs heuristics 540 548 int mUseAreaForPvs; 541 549
Note: See TracChangeset
for help on using the changeset viewer.