- Timestamp:
- 01/25/06 17:45:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellsManager.h
r575 r577 120 120 @return true on success 121 121 */ 122 virtual bool LoadViewCells(const string filename, ObjectContainer *objects); 123 122 virtual bool LoadViewCellsGeometry(const string filename); 123 124 124 125 /** Constructs view cell from base triangle. The ViewCell is extruded along the normal vector. 125 126 @param the base triangle … … 314 315 virtual void FinalizeViewCells(const bool createMesh); 315 316 317 318 /** Loads view cells from file. The view cells manager is created with respect to the loaded 319 view cells. 320 321 @returns the view cells manager if loading was successful, false otherwise 322 */ 323 static ViewCellsManager *LoadViewCells(const string filename, ObjectContainer *objects); 324 316 325 protected: 317 326 … … 366 375 void ExportViewCell(ViewCell *viewCell, ofstream &stream); 367 376 368 /// the view cell corresponding to space ouside the valid view space 369 //ViewCell *mOutOfBoundsCell; 377 378 /** 379 Takes different measures to prepares the view cells after loading them from disc. 380 */ 381 virtual void PrepareLoadedViewCells() {}; 370 382 371 383 /// Renders the view cells. … … 641 653 void CreateMesh(ViewCell *vc); 642 654 643 bool LoadViewCells(const string filename, ObjectContainer *objects);655 //bool LoadViewCellsGeometry(const string filename, ObjectContainer *objects); 644 656 bool ExportViewCells(const string filename); 645 657 … … 671 683 void ExportColor(Exporter *exporter, ViewCell *vc) const; 672 684 685 void PrepareLoadedViewCells(); 686 673 687 /// the view space partition BSP tree. 674 688 VspBspTree *mVspBspTree;
Note: See TracChangeset
for help on using the changeset viewer.