Import Geant4 9.0.0 source tree
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4OpenGLViewer.hh,v 1.18 2006/09/19 16:13:15 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
// $Id: G4OpenGLViewer.hh,v 1.20 2007/05/08 11:04:11 allison Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
//
|
||||
//
|
||||
// Andrew Walkden 27th March 1996
|
||||
@@ -37,6 +37,7 @@
|
||||
#define G4OPENGLVIEWER_HH
|
||||
|
||||
#include "G4VViewer.hh"
|
||||
#include "G4OpenGL.hh"
|
||||
|
||||
class G4OpenGLSceneHandler;
|
||||
|
||||
@@ -61,7 +62,21 @@ protected:
|
||||
void HLRSecondPass ();
|
||||
void HLRThirdPass ();
|
||||
void InitializeGLView ();
|
||||
void Pick(GLdouble x, GLdouble y);
|
||||
virtual void CreateFontLists () {}
|
||||
virtual void print();
|
||||
//////////////////////////////Vectored PostScript production functions///
|
||||
void printBuffer(GLint, GLfloat*);
|
||||
GLfloat* spewPrimitiveEPS (FILE*, GLfloat*);
|
||||
void spewSortedFeedback (FILE*, GLint, GLfloat*);
|
||||
void spewWireframeEPS (FILE*, GLint, GLfloat*, const char*);
|
||||
void print3DcolorVertex(GLint, GLint*, GLfloat*);
|
||||
G4float pointSize;
|
||||
char print_string[50];
|
||||
G4bool print_colour;
|
||||
G4bool vectored_ps;
|
||||
|
||||
G4OpenGLSceneHandler& fOpenGLSceneHandler;
|
||||
G4Colour background; //the OpenGL clear colour
|
||||
G4bool
|
||||
transparency_enabled, //is alpha blending enabled?
|
||||
@@ -79,6 +94,16 @@ protected:
|
||||
G4double fDisplayLightFrontRed, fDisplayLightFrontGreen, fDisplayLightFrontBlue;
|
||||
};
|
||||
|
||||
typedef struct G4OpenGLViewerFeedback3Dcolor {
|
||||
GLfloat x;
|
||||
GLfloat y;
|
||||
GLfloat z;
|
||||
GLfloat red;
|
||||
GLfloat green;
|
||||
GLfloat blue;
|
||||
GLfloat alpha;
|
||||
} Feedback3Dcolor;
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user