Changeset 1042
- Timestamp:
- May 14, 2009, 6:24:00 PM (15 years ago)
- Location:
- trunk/source/visualization
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/History
r1041 r1042 1 $Id: History,v 1.4 39 2009/05/13 10:47:29 lgarnierExp $1 $Id: History,v 1.440 2009/05/13 18:21:03 allison Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 24 24 History file for visualization category 25 25 --------------------------------------- 26 27 13th May 2009 John Allison 28 - visman-V09-02-02: Added /vis/viewer/set/targetPoint and minor 29 wording improvements. 26 30 27 31 6 May 2009, Laurent Garnier -
trunk/source/visualization/OpenGL/include/G4OpenGLViewer.hh
r1041 r1042 114 114 G4int fPrintSizeY; 115 115 G4String fPrintFilename; 116 G4intfPrintFilenameIndex;116 int fPrintFilenameIndex; 117 117 unsigned int fWinSize_x, fWinSize_y; 118 118 G4float fPointSize; -
trunk/source/visualization/OpenGL/src/G4OpenGLViewer.cc
r1041 r1042 84 84 fPrintSizeX(-1), 85 85 fPrintSizeY(-1), 86 fPrintFilename ("G4OpenGL .eps"),86 fPrintFilename ("G4OpenGL"), 87 87 fPrintFilenameIndex(0), 88 88 fPointSize (0), … … 503 503 G4cerr << "Error while saving file... "<<getRealPrintFilename().c_str()<< G4endl; 504 504 } else { 505 G4cout << "File "<< fPrintFilename.c_str()<<" has been saved " << G4endl;505 G4cout << "File "<<getRealPrintFilename().c_str()<<" has been saved " << G4endl; 506 506 } 507 507 … … 691 691 692 692 void G4OpenGLViewer::setPrintFilename(G4String name,G4bool inc) { 693 #ifdef G4DEBUG_VIS_OGL 694 printf("G4OpenGLViewer::setPrintFilename :%s Inc:%d\n",name.c_str(),inc); 695 #endif 696 693 697 if (name != "") { 694 698 fPrintFilename = name; … … 704 708 705 709 std::string G4OpenGLViewer::getRealPrintFilename() { 706 std:: 710 std::string temp = fPrintFilename; 707 711 if (fPrintFilenameIndex != -1) { 708 temp +="_"+fPrintFilenameIndex; 712 temp += std::string("_"); 713 std::ostringstream os; 714 os << fPrintFilenameIndex; 715 std::string nb_str = os.str(); 716 temp += nb_str; 709 717 } 710 718 temp += ".eps"; 719 #ifdef G4DEBUG_VIS_OGL 720 printf("G4OpenGLViewer::getRealPrintFilename :%s --%d\n",temp.c_str(),fPrintFilenameIndex); 721 #endif 711 722 return temp; 712 723 } -
trunk/source/visualization/management/History
r944 r1042 1 $Id: History,v 1.12 0 2009/03/14 11:44:46allison Exp $1 $Id: History,v 1.121 2009/05/13 18:18:03 allison Exp $ 2 2 3 3 ------------------------------------------------------------------- … … 26 26 History file for visualization management sub-category 27 27 ------------------------------------------------------ 28 29 13th May 2009 John Allison (visman-V09-02-02) 30 - G4VisCommandsViewerSet.hh/cc: Added /vis/viewer/set/targetPoint. 31 - G4VisManager.cc: End of run event keeping information improved. 28 32 29 33 14th March 2009 John Allison (visman-V09-02-01) -
trunk/source/visualization/management/include/G4VisCommandsViewerSet.hh
r954 r1042 25 25 // 26 26 // 27 // $Id: G4VisCommandsViewerSet.hh,v 1.2 2 2007/04/03 13:33:16allison Exp $28 // GEANT4 tag $Name: $27 // $Id: G4VisCommandsViewerSet.hh,v 1.23 2009/05/13 18:17:25 allison Exp $ 28 // GEANT4 tag $Name: HEAD $ 29 29 30 30 // /vis/viewer/set commands - John Allison 16th May 2000 … … 42 42 class G4UIcmdWithAnInteger; 43 43 class G4UIcmdWithADouble; 44 class G4UIcmdWith3VectorAndUnit; 44 45 45 46 class G4VisCommandsViewerSet: public G4VVisCommandViewer { … … 73 74 G4UIcommand* fpCommandSectionPlane; 74 75 G4UIcmdWithAString* fpCommandStyle; 76 G4UIcmdWith3VectorAndUnit* fpCommandTargetPoint; 75 77 G4UIcommand* fpCommandUpThetaPhi; 76 78 G4UIcommand* fpCommandUpVector;
Note: See TracChangeset
for help on using the changeset viewer.