Changeset 923 for trunk/source/visualization/OpenGL/src
- Timestamp:
- Feb 16, 2009, 2:43:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLViewer.cc
r921 r923 38 38 #include "G4OpenGLSceneHandler.hh" 39 39 #include "G4OpenGLTransform3D.hh" 40 #include "G4OpenGL2PSAction.hh" 40 41 41 42 #include "G4Scene.hh" … … 48 49 #include "G4AttHolder.hh" 49 50 #include "G4AttCheck.hh" 51 52 // GL2PS 53 #include "Geant4_gl2ps.h" 50 54 51 55 #include <sstream> … … 888 892 if (!fGL2PSAction) return; 889 893 890 fGL2PSAction->setFileName(" gl2psTest.ps");894 fGL2PSAction->setFileName("PostScriptViaGL2PS.ps"); 891 895 G4cout << "Produce " << aFile << "..." << G4endl; 892 896 if (fGL2PSAction->enableFileWriting()) { … … 896 900 ////////////// 897 901 898 FILE *fFile = fopen(aFile,"w"); 902 // FILE *fFile = fopen(aFile,"w"); 903 FILE *fFile = fopen("PostScriptALaMain.ps","w"); 899 904 if(!fFile) { 900 905 G4cout << "G4OpenGLViewer::WritePostScript. Cannot open file " <<aFile << G4endl;
Note: See TracChangeset
for help on using the changeset viewer.