Changeset 924 for trunk/source/visualization/OpenGL
- Timestamp:
- Feb 16, 2009, 4:31:26 PM (15 years ago)
- Location:
- trunk/source/visualization/OpenGL
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/GNUmakefile
r921 r924 1 # $Id: GNUmakefile,v 1. 8 2008/04/29 16:58:04lgarnier Exp $1 # $Id: GNUmakefile,v 1.9 2009/02/16 15:31:05 lgarnier Exp $ 2 2 3 3 name := G4OpenGL … … 21 21 include $(G4INSTALL)/config/interactivity.gmk 22 22 23 CPPFLAGS += -DG4DEBUG_VIS_OGL24 25 ifdef G4VIS_BUILD_OPENGL_DRIVER26 23 CPPFLAGS += -I$(G4BASE)/visualization/externals/gl2ps/include 27 endif28 ifdef G4VIS_BUILD_OI_DRIVER29 CPPFLAGS += -I$(G4BASE)/visualization/externals/gl2ps/include30 endif31 24 CPPFLAGS += -I$(G4BASE)/visualization/management/include 32 25 CPPFLAGS += -I$(G4BASE)/visualization/modeling/include -
trunk/source/visualization/OpenGL/History
r915 r924 1 $Id: History,v 1.12 5 2009/02/04 16:48:40lgarnier Exp $1 $Id: History,v 1.126 2009/02/16 15:31:05 lgarnier Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 20 20 History file for visualization/OpenGL 21 21 ------------------------------------- 22 23 16 February 2009, Laurent Garnier 24 - Modifications in GNUMakefile for gl2ps. 25 - G4OpenGLViewer,G4OpenGLViewerMessenger.cc,G4OpenGLXmMainMenubarCallbacks.cc 26 ,G4OpenGLXmViewer.cc modified for gl2ps and some renaming "print" in 27 "printVectoredEPS" 22 28 23 29 2nd February 2009 Laurent Garnier -
trunk/source/visualization/OpenGL/include/G4OpenGLViewer.hh
r923 r924 25 25 // 26 26 // 27 // $Id: G4OpenGLViewer.hh,v 1.2 6 2009/02/04 16:48:41lgarnier Exp $27 // $Id: G4OpenGLViewer.hh,v 1.27 2009/02/16 15:31:05 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // -
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.