31 #ifdef G4VIS_BUILD_OPENGL_DRIVER
32 #define G4VIS_BUILD_OPENGL_GL2PS
34 #ifdef G4VIS_BUILD_OI_DRIVER
35 #define G4VIS_BUILD_OPENGL_GL2PS
38 #ifdef G4VIS_BUILD_OPENGL_GL2PS
109 const char* aFileName
114 fFileName = (strncpy((
char*)
malloc((
unsigned)strlen(aFileName) + 1), aFileName, (
unsigned)strlen(aFileName) + 1));
128 setvbuf (
fFile , NULL , _IONBF , 2048 );
164 return (
fFile?
true:
false);
172 if(!
fFile)
return false;
187 GL_RGBA,0, NULL,0,0,0,
GL2PSDLL_API GLint gl2psBeginPage(const char *title, const char *producer, GLint viewport[4], GLint format, GLint sort, GLint options, GLint colormode, GLint colorsize, GL2PSrgba *colormap, GLint nr, GLint ng, GLint nb, GLint buffersize, FILE *stream, const char *filename)
#define GL2PS_DRAW_BACKGROUND
#define GL2PS_OCCLUSION_CULL
const G4ThreeVector const G4double const
bool disableFileWriting()
void setFileName(const char *)
GL2PSDLL_API GLint gl2psEndPage(void)
#define GL2PS_USE_CURRENT_VIEWPORT
GL2PSDLL_API GLint gl2psPointSize(GLfloat value)
void resetBufferSizeParameters()
void setViewport(int, int, int, int)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
bool fileWritingEnabled() const
GL2PSDLL_API GLint gl2psLineWidth(GLfloat value)
void * malloc(size_t __size)