Changeset 924 for trunk/source
- Timestamp:
- Feb 16, 2009, 4:31:26 PM (15 years ago)
- Location:
- trunk/source/visualization
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/GNUmakefile
r921 r924 1 # $Id: GNUmakefile,v 1.2 1 2005/06/04 14:53:18 gcosmoExp $1 # $Id: GNUmakefile,v 1.22 2009/02/16 15:31:05 lgarnier Exp $ 2 2 # ----------------------------------------------------------------------- 3 3 # GNUmakefile for visualization and modeling. John Allison, 5/7/95. -
trunk/source/visualization/History
r912 r924 1 $Id: History,v 1.42 5 2009/01/22 15:39:54lgarnier Exp $1 $Id: History,v 1.426 2009/02/16 15:31:05 lgarnier Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 24 24 History file for visualization category 25 25 --------------------------------------- 26 27 16 February 2009, Laurent Garnier 28 - Creation of this gl2ps library in order to have a gl2ps for all viewers. 29 - Some modifications in GNUMakefile for gl2ps. Packages OpenInventor, 30 OpenGL had also been modified for gl2ps. 26 31 27 32 22th January 2009 Laurent Garnier -
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 // -
trunk/source/visualization/OpenInventor/GNUmakefile
r921 r924 1 # $Id: GNUmakefile,v 1. 8 2006/11/02 12:02:23 allisonExp $1 # $Id: GNUmakefile,v 1.9 2009/02/16 15:31:05 lgarnier Exp $ 2 2 3 3 name := G4OpenInventor … … 18 18 include $(G4INSTALL)/config/interactivity.gmk 19 19 20 ifdef G4VIS_BUILD_OPENGL_DRIVER21 20 CPPFLAGS += -I$(G4BASE)/visualization/externals/gl2ps/include 22 endif23 ifdef G4VIS_BUILD_OI_DRIVER24 CPPFLAGS += -I$(G4BASE)/visualization/externals/gl2ps/include25 endif26 27 21 CPPFLAGS += -I$(G4BASE)/visualization/management/include 28 22 CPPFLAGS += -I$(G4BASE)/visualization/modeling/include -
trunk/source/visualization/OpenInventor/History
r849 r924 1 $Id: History,v 1.9 6 2008/04/30 10:05:31 allisonExp $1 $Id: History,v 1.97 2009/02/16 15:31:05 lgarnier Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 20 20 History file for visualization/OpenInventor 21 21 ------------------------------------------- 22 23 16 February 2009, Laurent Garnier 24 - Modifications in GNUMakefile for gl2ps. 25 - SoGL2PSAction Modified. 26 - G4OpenInventorViewer.cc add a protection on file writing in gl2ps 22 27 23 28 30th April 2008 John Allison (openinventor-V09-01-01) -
trunk/source/visualization/OpenInventor/src/G4OpenInventorViewer.cc
r921 r924 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4OpenInventorViewer.cc,v 1. 59 2007/04/03 13:35:48 allisonExp $27 // GEANT4 tag $Name: HEAD$26 // $Id: G4OpenInventorViewer.cc,v 1.60 2009/02/16 15:31:05 lgarnier Exp $ 27 // GEANT4 tag $Name: $ 28 28 29 29 #ifdef G4VIS_BUILD_OI_DRIVER … … 50 50 #include "G4Scene.hh" 51 51 #include "Geant4_SoPolyhedron.h" 52 #include "G4AttValue.hh"#include "G4AttDef.hh" 52 #include "G4AttValue.hh" 53 #include "G4AttDef.hh" 53 54 #include "G4AttCheck.hh" 54 55 #include "G4AttHolder.hh" -
trunk/source/visualization/OpenInventor/src/SoGL2PSAction.cc
r923 r924 33 33 /*--------------------------------------------------------------------------*/ 34 34 35 36 35 // this : 37 36 #include <HEPVis/actions/SoGL2PSAction.h> … … 60 59 :SoGLRenderAction(aViewPortRegion) 61 60 ,G4OpenGL2PSAction() 61 ,fFileName("out.ps") 62 ,fFile(0) 62 63 ////////////////////////////////////////////////////////////////////////////// 63 64 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// 64 65 { 65 setFileName("out.ps");66 66 SO_ACTION_CONSTRUCTOR(SoGL2PSAction); 67 67 } … … 72 72 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// 73 73 { 74 // FIXME Useful ?? 75 74 // Useful ?? L.Garnier 02/2009 76 75 #ifdef __COIN__ 77 76 #else //SGI -
trunk/source/visualization/externals/gl2ps/History
r919 r924 1 $Id: History,v 1.106 2009/02/16 16:05:06 garnier Exp $ 2 ------------------------------------------------------------------- 3 4 ========================================================= 5 Geant4 - an Object-Oriented Toolkit for Simulation in HEP 6 ========================================================= 7 8 Category History file 9 --------------------- 10 This file should be used by G4 developers and category coordinators 11 to briefly summarize all major modifications introduced in the code 12 and keep track of all category-tags. 13 It DOES NOT substitute the CVS log-message one should put at every 14 committal in the CVS repository ! 15 16 ---------------------------------------------------------- 17 * Reverse chronological order (last date on top), please * 18 ---------------------------------------------------------- 19 20 16 February 2009, Laurent Garnier 21 - Creation of this library in order to have a gl2ps for all viewers. 22 - Copying gl2ps.cc and gl2ps.h files form OpenInventor/src 23 - Add a new file G4OpenGL2PSAction.cc to be on the top of gl2ps 24 external package. This file will be heritate/used by viewers 25 in order to have gl2ps render.
Note: See TracChangeset
for help on using the changeset viewer.