Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <stdio.h>
#include <stdlib.h>
#include <GL/gl.h>
Go to the source code of this file.
Classes | |
struct | GL2PSvertex |
Typedefs | |
typedef GLfloat | GL2PSrgba[4] |
typedef GLfloat | GL2PSxyz[3] |
Functions | |
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) |
GL2PSDLL_API GLint | gl2psEndPage (void) |
GL2PSDLL_API GLint | gl2psSetOptions (GLint options) |
GL2PSDLL_API GLint | gl2psGetOptions (GLint *options) |
GL2PSDLL_API GLint | gl2psBeginViewport (GLint viewport[4]) |
GL2PSDLL_API GLint | gl2psEndViewport (void) |
GL2PSDLL_API GLint | gl2psText (const char *str, const char *fontname, GLshort fontsize) |
GL2PSDLL_API GLint | gl2psTextOpt (const char *str, const char *fontname, GLshort fontsize, GLint align, GLfloat angle) |
GL2PSDLL_API GLint | gl2psTextOptColor (const char *str, const char *fontname, GLshort fontsize, GLint align, GLfloat angle, GL2PSrgba color) |
GL2PSDLL_API GLint | gl2psSpecial (GLint format, const char *str) |
GL2PSDLL_API GLint | gl2psSpecialColor (GLint format, const char *str, GL2PSrgba rgba) |
GL2PSDLL_API GLint | gl2psDrawPixels (GLsizei width, GLsizei height, GLint xorig, GLint yorig, GLenum format, GLenum type, const void *pixels) |
GL2PSDLL_API GLint | gl2psEnable (GLint mode) |
GL2PSDLL_API GLint | gl2psDisable (GLint mode) |
GL2PSDLL_API GLint | gl2psPointSize (GLfloat value) |
GL2PSDLL_API GLint | gl2psLineCap (GLint value) |
GL2PSDLL_API GLint | gl2psLineJoin (GLint value) |
GL2PSDLL_API GLint | gl2psLineWidth (GLfloat value) |
GL2PSDLL_API GLint | gl2psBlendFunc (GLenum sfactor, GLenum dfactor) |
GL2PSDLL_API GLint | gl2psForceRasterPos (GL2PSvertex *vert) |
GL2PSDLL_API void | gl2psAddPolyPrimitive (GLshort type, GLshort numverts, GL2PSvertex *verts, GLint offset, GLfloat ofactor, GLfloat ounits, GLushort pattern, GLint factor, GLfloat width, GLint linecap, GLint linejoin, char boundary) |
GL2PSDLL_API GLint | gl2psDrawImageMap (GLsizei width, GLsizei height, const GLfloat position[3], const unsigned char *imagemap) |
GL2PSDLL_API const char * | gl2psGetFileExtension (GLint format) |
GL2PSDLL_API const char * | gl2psGetFormatDescription (GLint format) |
GL2PSDLL_API GLint | gl2psGetFileFormat () |
#define GL2PS_VERSION |
GL2PSDLL_API void gl2psAddPolyPrimitive | ( | GLshort | type, |
GLshort | numverts, | ||
GL2PSvertex * | verts, | ||
GLint | offset, | ||
GLfloat | ofactor, | ||
GLfloat | ounits, | ||
GLushort | pattern, | ||
GLint | factor, | ||
GLfloat | width, | ||
GLint | linecap, | ||
GLint | linejoin, | ||
char | boundary | ||
) |
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 | ||
) |
GL2PSDLL_API GLint gl2psBeginViewport | ( | GLint | viewport[4] | ) |
GL2PSDLL_API GLint gl2psBlendFunc | ( | GLenum | sfactor, |
GLenum | dfactor | ||
) |
GL2PSDLL_API GLint gl2psDisable | ( | GLint | mode | ) |
GL2PSDLL_API GLint gl2psDrawImageMap | ( | GLsizei | width, |
GLsizei | height, | ||
const GLfloat | position[3], | ||
const unsigned char * | imagemap | ||
) |
GL2PSDLL_API GLint gl2psDrawPixels | ( | GLsizei | width, |
GLsizei | height, | ||
GLint | xorig, | ||
GLint | yorig, | ||
GLenum | format, | ||
GLenum | type, | ||
const void * | pixels | ||
) |
GL2PSDLL_API GLint gl2psEnable | ( | GLint | mode | ) |
GL2PSDLL_API GLint gl2psEndPage | ( | void | ) |
GL2PSDLL_API GLint gl2psEndViewport | ( | void | ) |
GL2PSDLL_API GLint gl2psForceRasterPos | ( | GL2PSvertex * | vert | ) |
GL2PSDLL_API const char * gl2psGetFileExtension | ( | GLint | format | ) |
GL2PSDLL_API GLint gl2psGetFileFormat | ( | ) |
GL2PSDLL_API const char * gl2psGetFormatDescription | ( | GLint | format | ) |
GL2PSDLL_API GLint gl2psGetOptions | ( | GLint * | options | ) |
GL2PSDLL_API GLint gl2psLineCap | ( | GLint | value | ) |
GL2PSDLL_API GLint gl2psLineJoin | ( | GLint | value | ) |
GL2PSDLL_API GLint gl2psLineWidth | ( | GLfloat | value | ) |
GL2PSDLL_API GLint gl2psPointSize | ( | GLfloat | value | ) |
GL2PSDLL_API GLint gl2psSetOptions | ( | GLint | options | ) |
GL2PSDLL_API GLint gl2psSpecial | ( | GLint | format, |
const char * | str | ||
) |
GL2PSDLL_API GLint gl2psSpecialColor | ( | GLint | format, |
const char * | str, | ||
GL2PSrgba | rgba | ||
) |
GL2PSDLL_API GLint gl2psText | ( | const char * | str, |
const char * | fontname, | ||
GLshort | fontsize | ||
) |
GL2PSDLL_API GLint gl2psTextOpt | ( | const char * | str, |
const char * | fontname, | ||
GLshort | fontsize, | ||
GLint | align, | ||
GLfloat | angle | ||
) |
GL2PSDLL_API GLint gl2psTextOptColor | ( | const char * | str, |
const char * | fontname, | ||
GLshort | fontsize, | ||
GLint | align, | ||
GLfloat | angle, | ||
GL2PSrgba | color | ||
) |