Ignore:
Timestamp:
04/27/06 09:29:52 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.h

    r810 r837  
    384384        void SetViewCellsStorage(int type); 
    385385 
    386         /** pvs storage methods */ 
     386        /** pvs storage methods  
     387        */ 
    387388        enum {PVS_IN_INTERIORS, COMPRESSED, PVS_IN_LEAVES}; 
    388389 
     390        enum {EXPORT_EMPTY_PVS, EXPORT_IDS, EXPORT_BBOXES}; 
     391 
    389392        /** If view cells in this tree have compressed pvs. 
    390393        */ 
     
    403406        void PropagatePvs(ViewCell *vc); 
    404407 
    405         bool Export(ofstream &stream); 
     408        /** Exports view cells to file. 
     409        */ 
     410    bool Export(ofstream &stream, const int pvsType = EXPORT_EMPTY_PVS); 
    406411 
    407412        /** Export statistics of this view cell tree. 
     
    503508        */ 
    504509        float GetMemUsage() const; 
    505          
    506         /** 
    507                 Exports single view cell. 
     510 
     511        /**     Exports single view cell. 
    508512                NOTE: should be in exporter!! 
    509513        */ 
    510         void ExportViewCell(ViewCell *viewCell, ofstream &stream); 
     514        void ExportViewCell(ViewCell *viewCell, ofstream &stream, const int pvsType); 
     515 
     516        /** Exports pvs of a view cell. 
     517        */ 
     518        void ExportPvs(ViewCell *viewCell, ofstream &stream, const int pvsType); 
    511519 
    512520 
     
    522530 
    523531         
    524         /** intermediate container of merged view cells. 
    525 */ 
     532        /// intermediate container of merged view cells. 
    526533        ViewCellContainer mMergedViewCells; 
    527534         
    528535 
     536        /// if merged view cells are refined. 
    529537        bool mRefineViewCells; 
    530538 
     
    537545    float mDeviation; 
    538546        float mAvgRenderCost; 
    539  
     547        /// the area is used for pvs heuristics 
    540548        int mUseAreaForPvs; 
    541549 
Note: See TracChangeset for help on using the changeset viewer.