- Timestamp:
- 01/23/06 15:58:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellsManager.h
r564 r569 182 182 183 183 /** Get a viewcell containing the specified point */ 184 virtual ViewCell *GetViewCell(const Vector3 &point) = 0;184 virtual ViewCell *GetViewCell(const Vector3 &point) const = 0; 185 185 186 186 virtual void PrintPvsStatistics(ostream &s); … … 267 267 int maxPvsSize) const; 268 268 269 /** sets validy of all viewcells */ 270 virtual void SetValidity( 271 int minPvsSize, 272 int maxPvsSize) const; 273 274 /** set valid viewcells in the range of pvs. sorts the viewcells 275 according to the pvs and then pickups those in the ranges */ 276 277 void 278 SetValidityPercentage( 279 const float minValid, 280 const float maxValid 281 ); 282 283 int 284 CountValidViewcells() const; 285 269 286 /** Returns maximal allowed pvs size. 270 287 */ … … 417 434 418 435 /** Get a viewcell containing the specified point */ 419 ViewCell *GetViewCell(const Vector3 &point) ;436 ViewCell *GetViewCell(const Vector3 &point) const; 420 437 421 438 void CreateMesh(ViewCell *vc); … … 482 499 */ 483 500 // virtual void PrintStatistics(ostream &s) const; 484 ViewCell *GetViewCell(const Vector3 &point) { return NULL; }501 ViewCell *GetViewCell(const Vector3 &point) const { return NULL; } 485 502 486 503 float GetProbability(ViewCell *viewCell); … … 540 557 ViewCellContainer &viewcells); 541 558 542 ViewCell *GetViewCell(const Vector3 &point) { return NULL; }559 ViewCell *GetViewCell(const Vector3 &point) const { return NULL; } 543 560 544 561 float GetProbability(ViewCell *viewCell); … … 600 617 float GetRendercost(ViewCell *viewCell, float objRendercost) const; 601 618 602 ViewCell *GetViewCell(const Vector3 &point) ;619 ViewCell *GetViewCell(const Vector3 &point) const; 603 620 604 621 bool GetViewPoint(Vector3 &viewPoint) const;
Note: See TracChangeset
for help on using the changeset viewer.