Changeset 1723 for GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
- Timestamp:
- 11/07/06 21:32:10 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
r1715 r1723 149 149 } 150 150 151 151 #include "ViewCellsManager.h" 152 152 int 153 153 main(int argc, char **argv) … … 244 244 } 245 245 } 246 247 248 // parse view cells related options 249 if (!preprocessor->PrepareViewCells()) 250 { 251 Cleanup(); 252 exit(1); 253 } 254 246 255 if (0){ 247 256 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(); 250 258 exporter->SetWireframe(); 251 exporter->ExportBox(preprocessor->mKdTree->GetBox());252 259 exporter->ExportBox(bbox); 253 260 exporter->SetFilled(); 254 exporter->ExportGeometry(preprocessor->mObjects, true , &bbox);261 exporter->ExportGeometry(preprocessor->mObjects, true); 255 262 delete exporter; 256 263 } 257 264 258 259 // parse view cells related options260 if (!preprocessor->PrepareViewCells())261 {262 Cleanup();263 exit(1);264 }265 266 265 if (0) 267 266 {
Note: See TracChangeset
for help on using the changeset viewer.