Changeset 586 for trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h
- Timestamp:
- 02/03/06 23:02:07 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h
r584 r586 217 217 */ 218 218 void SetupChildLink(ViewCell *l); 219 void RemoveChildLink(ViewCell *l); 219 220 bool IsLeaf() const; 220 221 … … 362 363 to view cell 2. 363 364 */ 364 void ShuffleLeaf(ViewCell *leaf, ViewCell *vc1, ViewCell*vc2) const;365 void ShuffleLeaf(ViewCell *leaf, ViewCellInterior *vc1, ViewCellInterior *vc2) const; 365 366 366 367 /** Shuffles the leaves, i.e., tests if exchanging 367 368 the leaves helps in improving the view cells. 368 369 */ 369 bool ShuffleLeaves( ViewCell *l, ViewCell *r) const;370 bool ShuffleLeaves(MergeCandidate &mc) const; 370 371 371 372 /** Calculates cost for merge of view cell 1 and 2. 372 373 */ 373 float EvalShuffleCost(ViewCell *leaf, ViewCell *vc1, ViewCell *vc2) const; 374 float EvalShuffleCost(ViewCell *leaf, 375 ViewCellInterior *vc1, 376 ViewCellInterior *vc2) const; 374 377 375 378 /** Exports a snapshot of the merged view cells to disc. … … 411 414 ViewCellContainer mMergedViewCells; 412 415 416 417 bool mRefineViewCells; 413 418 414 419 /// weights between variance and render cost increase (must be between zero and one)
Note: See TracChangeset
for help on using the changeset viewer.