- Timestamp:
- May 27, 2009, 4:46:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenInventor/src/G4OpenInventorViewer.cc
r924 r1051 477 477 478 478 void G4OpenInventorViewer::WritePostScript(const G4String& aFile) { 479 #ifdef G4DEBUG_VIS_OI 480 printf("G4OpenInventorViewer::WritePostScript %s\n",aFile.c_str()); 481 #endif 479 482 if(!fGL2PSAction) return; 480 483 fGL2PSAction->setFileName(aFile.c_str()); 481 484 G4cout << "Produce " << aFile << "..." << G4endl; 482 485 if (fGL2PSAction->enableFileWriting()) { 486 #ifdef G4DEBUG_VIS_OI 487 printf("G4OpenInventorViewer::WritePostScript produce OK\n"); 488 #endif 483 489 ViewerRender(); 484 490 fGL2PSAction->disableFileWriting(); … … 487 493 488 494 void G4OpenInventorViewer::WritePixmapPostScript(const G4String& aFile) { 495 #ifdef G4DEBUG_VIS_OI 496 printf("G4OpenInventorViewer::WritePixmapPostScript %s\n",aFile.c_str()); 497 #endif 498 489 499 fSoImageWriter->fileName.setValue(aFile.c_str()); 490 500 //imageWriter->format.setValue(SoImageWriter::POST_SCRIPT); … … 501 511 << G4endl; 502 512 } 513 #ifdef G4DEBUG_VIS_OI 514 printf("G4OpenInventorViewer::WritePixmapPostScript END\n"); 515 #endif 503 516 } 504 517
Note: See TracChangeset
for help on using the changeset viewer.