Import Geant4 9.3.0 source tree
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4OpenInventorWinViewer.hh,v 1.9 2006/06/29 21:20:34 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4OpenInventorWinViewer.hh,v 1.10 2009/09/18 12:48:43 lgarnier Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
//
|
||||
// Jeff Kallenbach 01 Aug 1996
|
||||
@@ -54,6 +54,8 @@ public:
|
||||
G4OpenInventorWinViewer(G4OpenInventorSceneHandler& scene,
|
||||
const G4String& name = "");
|
||||
virtual ~G4OpenInventorWinViewer();
|
||||
void Initialise();
|
||||
|
||||
private:
|
||||
static LRESULT CALLBACK WindowProc(HWND,UINT,WPARAM,LPARAM);
|
||||
private:
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4OpenInventorXtViewer.hh,v 1.14 2006/06/29 21:20:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4OpenInventorXtViewer.hh,v 1.15 2009/09/18 12:48:43 lgarnier Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
//
|
||||
// Jeff Kallenbach 01 Aug 1996
|
||||
@@ -52,6 +52,8 @@ protected:
|
||||
public:
|
||||
G4OpenInventorXtViewer(G4OpenInventorSceneHandler& scene,
|
||||
const G4String& name = "");
|
||||
void Initialise();
|
||||
|
||||
virtual ~G4OpenInventorXtViewer();
|
||||
private:
|
||||
Widget AddMenu(Widget,const G4String&,const G4String&);
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#define HEPVis_SoGL2PSAction_h
|
||||
|
||||
#include <Inventor/actions/SoGLRenderAction.h>
|
||||
#include "G4OpenGL2PSAction.hh"
|
||||
|
||||
/**
|
||||
* SoGL2PSAction inherits Inventor/SoGLRenderAction.
|
||||
@@ -36,26 +37,17 @@
|
||||
|
||||
#define SoGL2PSAction Geant4_SoGL2PSAction
|
||||
|
||||
class SoGL2PSAction : public SoGLRenderAction {
|
||||
class SoGL2PSAction : public SoGLRenderAction, public G4OpenGL2PSAction {
|
||||
SO_ACTION_HEADER(SoGL2PSAction);
|
||||
public:
|
||||
SoGL2PSAction(const SbViewportRegion&);
|
||||
void setFileName(const char*);
|
||||
void enableFileWriting();
|
||||
void disableFileWriting();
|
||||
SbBool fileWritingEnabled() const;
|
||||
SbBool addBitmap(int,int,float=0,float=0,float=0,float=0);
|
||||
void beginViewport();
|
||||
void endViewport();
|
||||
public: /*SoINTERNAL*/
|
||||
static void initClass();
|
||||
bool enableFileWriting();
|
||||
void disableFileWriting();
|
||||
bool addBitmap(int,int,float=0,float=0,float=0,float=0);
|
||||
protected:
|
||||
virtual void beginTraversal(SoNode*);
|
||||
private:
|
||||
void gl2psBegin();
|
||||
private:
|
||||
SbString fFileName;
|
||||
FILE* fFile;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user