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