Changeset 924 for trunk/source/visualization/OpenGL/src
- Timestamp:
- Feb 16, 2009, 4:31:26 PM (17 years ago)
- Location:
- trunk/source/visualization/OpenGL/src
- Files:
-
- 4 edited
-
G4OpenGLViewer.cc (modified) (4 diffs)
-
G4OpenGLViewerMessenger.cc (modified) (1 diff)
-
G4OpenGLXViewer.cc (modified) (1 diff)
-
G4OpenGLXmMainMenubarCallbacks.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLViewer.cc
r923 r924 25 25 // 26 26 // 27 // $Id: G4OpenGLViewer.cc,v 1.4 7 2009/02/04 16:48:41lgarnier Exp $27 // $Id: G4OpenGLViewer.cc,v 1.48 2009/02/16 15:31:05 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 812 812 int components, pos, i; 813 813 814 WritePostScript("1-PostScripTest.ps");815 816 814 pixels = grabPixels (inColour, width, height); 817 815 … … 884 882 void G4OpenGLViewer::WritePostScript(const char *aFile) { 885 883 886 G4cout << "Produce " << aFile << "..." << G4endl;887 888 // fGL2PSAction->enableFileWriting();889 890 891 //////////////892 884 if (!fGL2PSAction) return; 893 885 894 886 fGL2PSAction->setFileName("PostScriptViaGL2PS.ps"); 895 G4cout << "Produce " << aFile << "..." << G4endl;896 887 if (fGL2PSAction->enableFileWriting()) { 897 888 DrawView(); 898 889 fGL2PSAction->disableFileWriting(); 899 890 } 900 ////////////// 901 902 // FILE *fFile = fopen(aFile,"w"); 903 FILE *fFile = fopen("PostScriptALaMain.ps","w"); 891 FILE *fFile = fopen(aFile,"w"); 904 892 if(!fFile) { 905 893 G4cout << "G4OpenGLViewer::WritePostScript. Cannot open file " <<aFile << G4endl; … … 948 936 15, 20, 10, buffsize, fFile, aFile); 949 937 DrawView(); 950 #ifdef G4DEBUG_VIS_OGL951 printf("into While............\n");952 #endif953 938 res = gl2psEndPage(); 954 939 } -
trunk/source/visualization/OpenGL/src/G4OpenGLViewerMessenger.cc
r917 r924 25 25 // 26 26 // 27 // $Id: G4OpenGLViewerMessenger.cc,v 1.1 3 2009/01/19 16:53:42lgarnier Exp $27 // $Id: G4OpenGLViewerMessenger.cc,v 1.14 2009/02/16 15:31:05 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 -
trunk/source/visualization/OpenGL/src/G4OpenGLXViewer.cc
r917 r924 25 25 // 26 26 // 27 // $Id: G4OpenGLXViewer.cc,v 1.4 8 2009/02/04 16:48:41lgarnier Exp $27 // $Id: G4OpenGLXViewer.cc,v 1.49 2009/02/16 15:31:05 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // -
trunk/source/visualization/OpenGL/src/G4OpenGLXmMainMenubarCallbacks.cc
r916 r924 25 25 // 26 26 // 27 // $Id: G4OpenGLXmMainMenubarCallbacks.cc,v 1.1 5 2009/02/04 16:48:41lgarnier Exp $27 // $Id: G4OpenGLXmMainMenubarCallbacks.cc,v 1.16 2009/02/16 15:31:05 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 //
Note:
See TracChangeset
for help on using the changeset viewer.
