Ignore:
Timestamp:
04/27/06 14:59:18 (18 years ago)
Author:
mattausch
Message:

adding functionality for bounding box hacks

File:
1 edited

Legend:

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

    r840 r844  
    19591959 
    19601960 
    1961 bool ViewCellsTree::Export(ofstream &stream) 
     1961bool ViewCellsTree::Export(ofstream &stream, const bool exportPvs) 
    19621962{ 
    19631963        // export recursivly all view cells from the root 
    1964         ExportViewCell(mRoot, stream); 
     1964        ExportViewCell(mRoot, stream, exportPvs); 
    19651965 
    19661966        return true; 
     
    20072007 
    20082008 
    2009 void ViewCellsTree::ExportViewCell(ViewCell *viewCell, ofstream &stream) 
     2009void ViewCellsTree::ExportViewCell(ViewCell *viewCell, ofstream &stream, const bool exportPvs) 
    20102010{ 
    20112011        if (viewCell->IsLeaf()) 
     
    20182018                 
    20192019                //-- export pvs 
    2020                 if (0) 
     2020                if (exportPvs) 
    20212021                        ExportPvs(viewCell, stream); 
    20222022         
     
    20482048                for (it = interior->mChildren.begin(); it != it_end; ++ it) 
    20492049                { 
    2050                         ExportViewCell(*it, stream); 
     2050                        ExportViewCell(*it, stream, exportPvs); 
    20512051                } 
    20522052 
Note: See TracChangeset for help on using the changeset viewer.