Changeset 582 for trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h
- Timestamp:
- 02/02/06 19:16:39 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h
r581 r582 325 325 float GetDeviation(ViewCell *vc) const; 326 326 327 /** Recalculates this merge candidate and sets valid. 328 */ 329 void SetMergeCandidateValid(MergeCandidate &mc) const; 327 /** Tries to set this merge candidate to valid. 328 @returns false if both view cells are the same 329 */ 330 bool ValidateMergeCandidate(MergeCandidate &mc) const; 330 331 331 332 /** Merge view cells of leaves l1 and l2. … … 360 361 361 362 /** Updates the current top level of view cells. 362 */ 363 int UpdateMergedViewCells(ViewCellContainer &viewCells); 363 @returns number of newly merged view cells 364 */ 365 int UpdateActiveViewCells(ViewCellContainer &viewCells); 364 366 365 367 void ComputeCommonPvs(ViewCellInterior *interior); 368 369 370 /** Returns memory usage of view cells. 371 */ 372 float GetMemUsage() const; 373 366 374 367 375 … … 375 383 376 384 377 ViewCellContainer m InactiveViewCells;378 ViewCellContainer mActiveViewCells;385 ViewCellContainer mMergedViewCells; 386 379 387 380 388 /// weights between variance and render cost increase (must be between zero and one) … … 389 397 int mUseAreaForPvs; 390 398 391 int mNum ViewCells;399 int mNumActiveViewCells; 392 400 393 401 /// minimal number of view cells … … 402 410 MergeQueue mMergeQueue; 403 411 404 412 float mMaxMemory; 405 413 406 414 };
Note: See TracChangeset
for help on using the changeset viewer.