- Timestamp:
- 01/20/06 11:44:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellsManager.h
r557 r561 253 253 /** Checks if view cell is considered as valid. 254 254 */ 255 virtual bool CheckValid(ViewCell *vc) const; 255 virtual bool CheckValidity(ViewCell *vc, 256 float minPvsRatio, 257 float maxPvsRatio) const; 256 258 257 259 /** Returns maximal allowed pvs size. 258 260 */ 259 261 int GetMaxPvsSize() const; 262 263 /** Returns maximal ratio. i.e., currentPVs / maxPvs, 264 where pvs is still considered valid. 265 */ 266 float GetMaxPvsRatio() const; 260 267 261 268 /** Exports view cell geometry. … … 327 334 int mVisualizationSamples; 328 335 329 //-- thresholds used for view cells merge330 int mMinPvsDif;331 int mMinPvs;332 int mMaxPvs;333 334 336 float mTotalAreaValid; 335 337 float mTotalArea; 336 338 337 339 int mMaxPvsSize; 338 339 340 float mMaxPvsRatio; 340 341 … … 410 411 void CollectViewCells(); 411 412 412 /** Merges view cells front and back leaf view cell.413 */414 bool MergeBspLeafViewCells(BspLeaf *front, BspLeaf *back) const;415 416 /** Returns true if front and back leaf should be merged.417 */418 bool ShouldMerge(BspLeaf *front, BspLeaf *back) const;419 420 413 void ConstructBspRays(const VssRayContainer &rays, 421 414 const int numSamples);
Note: See TracChangeset
for help on using the changeset viewer.