Changeset 1582 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
- Timestamp:
- 10/07/06 23:13:47 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
r1581 r1582 430 430 bool GetExportPvs() const; 431 431 432 433 Preprocessor *GetPreprocessor() { 434 return mPreprocessor; 435 } 436 437 void SetPreprocessor(Preprocessor *p) { 438 mPreprocessor = p; 439 } 432 ///////////////////////////// 433 // static members 434 435 /** Loads view cells from file. The view cells manager is created with 436 respect to the loaded view cells. 437 438 @param filename the filename of the view cells 439 @param objects the scene objects 440 @param finalizeViewCells if the view cells should be post processed, i.e. 441 a mesh is created representing the geometry 442 @param bconverter a conversion routine working with the similarities of bounding 443 boxes: if there is a certain similarity of overlap between bounding boxes, two tested 444 candidate objects are considered to be the same objects 445 @returns the view cells manager if loading was successful, false otherwise 446 */ 447 static ViewCellsManager *LoadViewCells(const string &filename, 448 ObjectContainer *objects, 449 const bool finalizeViewCells, 450 BoundingBoxConverter *bconverter = NULL); 440 451 441 452 … … 523 534 524 535 void ViewCellsManager::ResetPvs(); 525 536 537 Preprocessor *GetPreprocessor() const { 538 return mPreprocessor; 539 } 540 541 void SetPreprocessor(Preprocessor *p) { 542 mPreprocessor = p; 543 } 526 544 527 545 protected: … … 623 641 void UpdatePvsForEvaluation(ViewCell *root, ObjectPvs &pvs); 624 642 625 643 644 626 645 //////////////////////////////////////////////// 627 646 … … 720 739 721 740 ~BspViewCellsManager(); 722 741 723 742 int ConstructSubdivision(const ObjectContainer &objects, 724 743 const VssRayContainer &rays);
Note: See TracChangeset
for help on using the changeset viewer.