Ignore:
Timestamp:
11/07/06 21:32:10 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1715 r1723  
    149149} 
    150150 
    151  
     151#include "ViewCellsManager.h" 
    152152int 
    153153main(int argc, char **argv) 
     
    244244                } 
    245245        } 
     246         
     247         
     248        // parse view cells related options 
     249        if (!preprocessor->PrepareViewCells()) 
     250        { 
     251                Cleanup(); 
     252                exit(1); 
     253        } 
     254 
    246255        if (0){ 
    247256        Exporter *exporter= Exporter::GetExporter("test1.wrl"); 
    248         AxisAlignedBox3 bbox = preprocessor->mKdTree->GetBox();  
    249         bbox.Scale(Vector3(0.5, 1, 0.5)); 
     257        AxisAlignedBox3 bbox = preprocessor->mViewCellsManager->GetViewSpaceBox();  
    250258    exporter->SetWireframe(); 
    251         exporter->ExportBox(preprocessor->mKdTree->GetBox()); 
    252259        exporter->ExportBox(bbox); 
    253260        exporter->SetFilled(); 
    254         exporter->ExportGeometry(preprocessor->mObjects, true, &bbox); 
     261        exporter->ExportGeometry(preprocessor->mObjects, true); 
    255262        delete exporter; 
    256263        } 
    257264         
    258          
    259         // parse view cells related options 
    260         if (!preprocessor->PrepareViewCells()) 
    261         { 
    262                 Cleanup(); 
    263                 exit(1); 
    264         } 
    265  
    266265        if (0)  
    267266        { 
Note: See TracChangeset for help on using the changeset viewer.