Changeset 1294 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
- Timestamp:
- 08/29/06 17:34:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
r1284 r1294 227 227 ) = 0; 228 228 229 /** Returns a stats about the global pvs. 230 */ 229 231 virtual void GetPvsStatistics(PvsStatistics &stat); 230 232 … … 378 380 vector<MergeCandidate> &candidates); 379 381 382 /** Collects n view cells and stores it as the active view cells. 383 */ 380 384 void CollectViewCells(const int n); 381 385 … … 453 457 ////////////////////////////////////////////////////////7 454 458 // visiblity filter options 459 455 460 // TODO: write own visibiltiy filter class 456 461 void ApplyFilter(KdTree *kdTree, … … 472 477 float GetAbsFilterWidth(); 473 478 474 475 479 /** Returns the bounding box of filter width. 476 480 */ 477 481 AxisAlignedBox3 GetFilterBBox(const Vector3 &viewPoint, const float width) const; 478 482 483 ////////////////////////////////////////////////////////////////// 479 484 480 485 /** Returns true if the view cell is equivalent to a … … 482 487 view cell. 483 488 e.g. to see if the spatial tree can be reduced on this location 489 note: not implemented 484 490 */ 485 491 virtual bool EqualToSpatialNode(ViewCell *viewCell) const; … … 502 508 protected: 503 509 504 /** Exports bounding boxes as xml stream505 */506 //bool ExportBoundingBoxes(ofstream &xmlstream, const ObjectContainer &objects) const;507 508 510 /** Intersects box with the tree and returns the number of intersected boxes. 509 511 @returns number of view cells found … … 520 522 bool ViewCellsTreeConstructed() const; 521 523 524 /** Requests preprocessor to cast samplesPerPass samples of a specific type. 525 */ 522 526 int CastPassSamples(const int samplesPerPass, 523 527 const int sampleType, … … 717 721 ViewCellContainer &viewcells); 718 722 723 /** Returns the probability that the view point lies 724 in this view cells. 725 */ 719 726 float GetProbability(ViewCell *viewCell); 720 721 722 /** Get a viewcell containing the specified point 727 728 /** Get a viewcell containing the specified point. 723 729 */ 724 730 ViewCell *GetViewCell(const Vector3 &point, const bool active = false) const; 725 731 732 /** Creates mesh for this view cell. 733 */ 726 734 void CreateMesh(ViewCell *vc); 727 735
Note: See TracChangeset
for help on using the changeset viewer.