Changeset 1051 for trunk/source/visualization/OpenInventor
- Timestamp:
- May 27, 2009, 4:46:43 PM (15 years ago)
- Location:
- trunk/source/visualization/OpenInventor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenInventor/GNUmakefile
r924 r1051 6 6 G4INSTALL = ../../.. 7 7 endif 8 9 # For debug mode 10 CPPFLAGS += -DG4DEBUG_VIS_OI 8 11 9 12 GLOBLIBS = libG4vis_management.lib libG4modeling.lib -
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 -
trunk/source/visualization/OpenInventor/src/SoGL2PSAction.cc
r940 r1051 71 71 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// 72 72 { 73 #ifdef G4DEBUG_VIS_OI 74 printf("SoGL2PSAction::enableFileWriting\n"); 75 #endif 73 76 fFile = ::fopen(fFileName,"w"); 74 77 if(!fFile) {
Note: See TracChangeset
for help on using the changeset viewer.