Ignore:
Timestamp:
05/22/06 07:53:18 (18 years ago)
Author:
mattausch
Message:

added stuff for view cell ziping (not working yet!)

File:
1 edited

Legend:

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

    r955 r971  
    77#include "Statistics.h" 
    88#include "Material.h" 
    9 //#include "bzip2stream.hpp" 
    109#include "gzstream.h" 
    1110 
    12 //class ogzstream; 
    1311 
    1412namespace GtpVisibilityPreprocessor { 
     
    440438        /** Exports view cells to file. 
    441439        */ 
     440#if ZIPPED_VIEWCELLS 
     441        bool Export(ogzstream &stream, const bool exportPvs = false); 
     442#else 
    442443        bool Export(ofstream &stream, const bool exportPvs = false); 
    443     //bool Export(ogzstream &stream, const bool exportPvs = false); 
     444#endif 
    444445 
    445446        /** Export statistics of this view cell tree. 
     
    545546                NOTE: should be in exporter!! 
    546547        */ 
    547         void ExportViewCell(ViewCell *viewCell, ofstream &stream, const bool exportPvs); 
    548         //void ExportViewCell(ViewCell *viewCell, ogzstream &stream, const bool exportPvs); 
     548#if ZIPPED_VIEWCELLS 
     549        void ExportViewCell(ViewCell *viewCell, ogzstream &stream, const bool exportPvs); 
     550#else 
     551        void ExportViewCell(ViewCell *viewCell, ofstream &stream, const bool exportPvs);         
     552#endif 
    549553 
    550554        /** Exports pvs of a view cell. 
    551555        */ 
     556#if ZIPPED_VIEWCELLS 
     557        void ExportPvs(ViewCell *viewCell, ogzstream &stream); 
     558#else 
    552559        void ExportPvs(ViewCell *viewCell, ofstream &stream); 
    553         //void ExportPvs(ViewCell *viewCell, ogzstream &stream); 
    554  
     560#endif 
    555561 
    556562 
Note: See TracChangeset for help on using the changeset viewer.