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
110 const char* aFileName
115 fFileName = (strncpy((
char*)malloc((
unsigned)strlen(aFileName) + 1), aFileName, (
unsigned)strlen(aFileName) + 1));
129 setvbuf (
fFile , NULL , _IONBF , 2048 );
174 return (
fFile?
true:
false);
182 if(!
fFile)
return false;
193 GL_RGBA,0, NULL,0,0,0,
207 fExportImageFormat = type;
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)
std::vector< ExP01TrackerHit * > a
#define GL2PS_DRAW_BACKGROUND
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)
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
void setExportImageFormat(unsigned int)
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)
GL2PSDLL_API GLint gl2psEnable(GLint mode)