Ignore:
Timestamp:
Feb 16, 2009, 10:14:30 AM (15 years ago)
Author:
garnier
Message:

en test de gl2ps. Problemes de libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenInventor/include/HEPVis/actions/SoGL2PSAction.h

    r529 r921  
    2828
    2929#include <Inventor/actions/SoGLRenderAction.h>
     30#include "G4OpenGL2PSAction.hh"
    3031
    3132/**
     
    3738#define SoGL2PSAction Geant4_SoGL2PSAction
    3839
    39 class SoGL2PSAction : public SoGLRenderAction {
     40class SoGL2PSAction : public SoGLRenderAction, public G4OpenGL2PSAction {
    4041  SO_ACTION_HEADER(SoGL2PSAction);
    4142public:
    4243  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();
    5044public: /*SoINTERNAL*/
    5145  static void initClass();
    5246protected:
    5347  virtual void beginTraversal(SoNode*);
    54 private:
    55   void gl2psBegin();
    56 private:
    57   SbString fFileName;
    58   FILE* fFile;
     48  void setViewport();
    5949};
    6050
Note: See TracChangeset for help on using the changeset viewer.