Changeset 2598 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
- Timestamp:
- 01/15/08 15:37:02 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.h
r2586 r2598 7 7 #include "Containers.h" 8 8 #include "ViewCell.h" 9 #include "RandomViewCellsHandler.h" 10 9 11 10 12 #define TEST_PACKETS 0 … … 45 47 struct BspRay; 46 48 class BspTree; 47 49 //class RandomViewCellsHandler; 48 50 49 51 … … 77 79 }; 78 80 79 typedef pair<ViewCell *, SimpleRayContainer> ViewCellPoints;80 81 81 82 struct VizBuffer … … 507 508 */ 508 509 int GetNumViewCells() const; 509 510 bool GenerateRandomViewCells(ViewCellContainer &viewCells, 511 const int numViewCells); 512 513 bool GenerateRandomViewCells(vector<ViewCellPoints *> &viewCells, 514 const int nViewCells, 515 const int nViewPoints); 516 517 518 bool GenerateViewPoints(ViewCell *viewCell, 519 const int numViewPoints, 520 SimpleRayContainer &viewPoints); 521 522 bool ImportRandomViewCells(const string &filename, 523 vector<ViewCellPoints *> &viewCells); 524 525 bool ImportRandomViewCells(const string &filename); 526 527 bool ExportRandomViewCells(const string &filename, 528 const vector<ViewCellPoints *> &viewCells); 529 510 /** Returns the stored list of view cells and view points. 511 */ 512 ViewCellPointsList *GetViewCellPointsList(); 513 /** Exports list of random view cells. 514 */ 530 515 bool ExportRandomViewCells(const string &filename); 531 532 bool GenerateViewPoint(ViewCell *viewCell, SimpleRay &ray); 533 534 bool IsValidViewSpace(ViewCell *vc); 516 /** Imports list of random view cells and view points. 517 */ 518 bool ImportViewCellsList(const string &filename); 535 519 536 520 … … 642 626 { 643 627 mPreprocessor = p; 644 }645 646 vector<ViewCellPoints *> *GetViewCellPoints()647 {648 return &mViewCellPoints;649 628 } 650 629 … … 822 801 bool mCompressViewCells; 823 802 824 vector<ViewCellPoints *> mViewCellPoints; 803 /// Handler for generating and loading random view cells. 804 RandomViewCellsHandler *mRandomViewCellsHandler; 825 805 826 806 /// holds the current view cell statistics
Note: See TracChangeset
for help on using the changeset viewer.