Changeset 921 for trunk/source/visualization/OpenInventor/include/HEPVis
- Timestamp:
- Feb 16, 2009, 10:14:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenInventor/include/HEPVis/actions/SoGL2PSAction.h
r529 r921 28 28 29 29 #include <Inventor/actions/SoGLRenderAction.h> 30 #include "G4OpenGL2PSAction.hh" 30 31 31 32 /** … … 37 38 #define SoGL2PSAction Geant4_SoGL2PSAction 38 39 39 class SoGL2PSAction : public SoGLRenderAction {40 class SoGL2PSAction : public SoGLRenderAction, public G4OpenGL2PSAction { 40 41 SO_ACTION_HEADER(SoGL2PSAction); 41 42 public: 42 43 SoGL2PSAction(const SbViewportRegion&); 43 void setFileName(const char*);44 void enableFileWriting();45 void disableFileWriting();46 SbBool fileWritingEnabled() const;47 SbBool addBitmap(int,int,float=0,float=0,float=0,float=0);48 void beginViewport();49 void endViewport();50 44 public: /*SoINTERNAL*/ 51 45 static void initClass(); 52 46 protected: 53 47 virtual void beginTraversal(SoNode*); 54 private: 55 void gl2psBegin(); 56 private: 57 SbString fFileName; 58 FILE* fFile; 48 void setViewport(); 59 49 }; 60 50
Note: See TracChangeset
for help on using the changeset viewer.