Changeset 1041 for trunk/source/visualization/OpenGL/include
- Timestamp:
- May 14, 2009, 5:40:34 PM (17 years ago)
- Location:
- trunk/source/visualization/OpenGL/include
- Files:
-
- 3 edited
-
G4OpenGLQtViewer.hh (modified) (1 diff)
-
G4OpenGLViewer.hh (modified) (5 diffs)
-
G4OpenGLViewerMessenger.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/include/G4OpenGLQtViewer.hh
r1040 r1041 25 25 // 26 26 // 27 // $Id: G4OpenGLQtViewer.hh,v 1.1 6 2009/03/05 16:36:13lgarnier Exp $27 // $Id: G4OpenGLQtViewer.hh,v 1.17 2009/05/13 10:28:00 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // -
trunk/source/visualization/OpenGL/include/G4OpenGLViewer.hh
r1040 r1041 25 25 // 26 26 // 27 // $Id: G4OpenGLViewer.hh,v 1.3 0 2009/04/08 16:55:44lgarnier Exp $27 // $Id: G4OpenGLViewer.hh,v 1.31 2009/05/13 10:28:00 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 73 73 void printEPS(); 74 74 // print EPS file. Depending of fVectoredPs, it will print Vectored or not 75 75 void setPrintSize(G4int,G4int); 76 // set the new print size. 77 // -1 means 'print size' = 'window size' 78 // Setting size greater than max OpenGL viewport size will set the size to 79 // maximum 80 void setPrintFilename(G4String name,G4bool inc); 81 // set print filename. 82 // if inc, then the filename will be increment by one each time 83 std::string getRealPrintFilename(); 76 84 unsigned int getWinWidth(); 77 85 unsigned int getWinHeight(); … … 81 89 GLdouble getSceneFarWidth(); 82 90 GLdouble getSceneDepth(); 83 std::string fPrintFilename;84 91 G4bool fPrintColour; 85 92 G4bool fVectoredPs; 86 G4int fPrintSizeX;87 G4int fPrintSizeY;88 93 89 94 G4OpenGLSceneHandler& fOpenGLSceneHandler; … … 106 111 107 112 private : 113 G4int fPrintSizeX; 114 G4int fPrintSizeY; 115 G4String fPrintFilename; 116 G4int fPrintFilenameIndex; 108 117 unsigned int fWinSize_x, fWinSize_y; 109 118 G4float fPointSize; … … 111 120 // size of the OpenGL frame 112 121 bool printGl2PS(); 122 G4int getRealPrintSizeX(); 123 G4int getRealPrintSizeY(); 113 124 GLubyte* grabPixels (int inColor, 114 125 unsigned int width, -
trunk/source/visualization/OpenGL/include/G4OpenGLViewerMessenger.hh
r956 r1041 53 53 G4UIdirectory* fpDirectory; 54 54 G4UIcmdWithoutParameter* fpCommandPrintEPS; 55 G4UIcommand* fpCommandPrintSize; 56 G4UIcommand* fpCommandPrintFilename; 55 57 G4UIdirectory* fpDirectorySet; 56 58 G4UIcommand* fpCommandDisplayHeadTime;
Note:
See TracChangeset
for help on using the changeset viewer.
