Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4gl2ps.hh>
Public Member Functions | |
G4gl2ps () | |
~G4gl2ps () | |
void | setOpenGLFunctions (tools_gl2ps_gl_funcs_t *) |
void | setFileName (const char *) |
void | setExportImageFormat (unsigned int) |
void | setExportImageFormat_PS () |
void | setExportImageFormat_EPS () |
void | setExportImageFormat_TEX () |
void | setExportImageFormat_PDF () |
void | setExportImageFormat_SVG () |
void | setExportImageFormat_PGF () |
bool | enableFileWriting () |
void | disableFileWriting () |
bool | fileWritingEnabled () const |
bool | beginPage () |
bool | endPage () |
void | setLineWidth (int) |
void | setPointSize (int) |
void | addTextOpt (const char *, const char *, tools_GLshort, tools_GLint, tools_GLfloat) |
void | setViewport (int, int, int, int) |
bool | extendBufferSize () |
void | resetBufferSizeParameters () |
void | setBufferSize (int) |
tools_GL2PScontextPointer | context () const |
Protected Attributes | |
tools_gl2ps_gl_funcs_t | fOpenGLFuncs |
tools_GL2PScontextPointer | fContext |
FILE * | fFile |
G4String | fFileName |
int | fViewport [4] |
int | fBufferSize |
int | fBufferSizeLimit |
Definition at line 35 of file G4gl2ps.hh.
G4gl2ps::G4gl2ps | ( | ) |
Definition at line 38 of file G4gl2ps.cc.
G4gl2ps::~G4gl2ps | ( | ) |
void G4gl2ps::addTextOpt | ( | const char * | str, |
const char * | fontname, | ||
tools_GLshort | fontsize, | ||
tools_GLint | alignment, | ||
tools_GLfloat | angle ) |
Definition at line 100 of file G4gl2ps.cc.
Referenced by G4OpenGLViewer::DrawText().
bool G4gl2ps::beginPage | ( | ) |
Definition at line 178 of file G4gl2ps.cc.
|
inline |
Definition at line 68 of file G4gl2ps.hh.
void G4gl2ps::disableFileWriting | ( | ) |
bool G4gl2ps::enableFileWriting | ( | ) |
Definition at line 118 of file G4gl2ps.cc.
bool G4gl2ps::endPage | ( | ) |
Definition at line 206 of file G4gl2ps.cc.
bool G4gl2ps::extendBufferSize | ( | ) |
Definition at line 161 of file G4gl2ps.cc.
bool G4gl2ps::fileWritingEnabled | ( | ) | const |
Definition at line 157 of file G4gl2ps.cc.
Referenced by G4OpenGLViewer::isGl2psWriting().
void G4gl2ps::resetBufferSizeParameters | ( | ) |
void G4gl2ps::setBufferSize | ( | int | newSize | ) |
Definition at line 172 of file G4gl2ps.cc.
void G4gl2ps::setExportImageFormat | ( | unsigned int | type | ) |
Definition at line 215 of file G4gl2ps.cc.
Referenced by setExportImageFormat_EPS(), setExportImageFormat_PDF(), setExportImageFormat_PGF(), setExportImageFormat_PS(), setExportImageFormat_SVG(), and setExportImageFormat_TEX().
|
inline |
|
inline |
Definition at line 48 of file G4gl2ps.hh.
Referenced by G4OpenGLViewer::exportImage().
|
inline |
Definition at line 50 of file G4gl2ps.hh.
|
inline |
|
inline |
|
inline |
Definition at line 47 of file G4gl2ps.hh.
void G4gl2ps::setFileName | ( | const char * | aFileName | ) |
Definition at line 114 of file G4gl2ps.cc.
void G4gl2ps::setLineWidth | ( | int | width | ) |
Definition at line 90 of file G4gl2ps.cc.
Referenced by G4OpenGLViewer::ChangeLineWidth().
void G4gl2ps::setOpenGLFunctions | ( | tools_gl2ps_gl_funcs_t * | a_funcs | ) |
void G4gl2ps::setPointSize | ( | int | size | ) |
Definition at line 95 of file G4gl2ps.cc.
Referenced by G4OpenGLViewer::ChangePointSize().
void G4gl2ps::setViewport | ( | int | a, |
int | b, | ||
int | winSizeX, | ||
int | winSizeY ) |
|
protected |
Definition at line 75 of file G4gl2ps.hh.
Referenced by beginPage(), extendBufferSize(), G4gl2ps(), resetBufferSizeParameters(), and setBufferSize().
|
protected |
Definition at line 76 of file G4gl2ps.hh.
Referenced by extendBufferSize(), G4gl2ps(), and setBufferSize().
|
protected |
Definition at line 71 of file G4gl2ps.hh.
Referenced by addTextOpt(), beginPage(), context(), disableFileWriting(), enableFileWriting(), endPage(), fileWritingEnabled(), G4gl2ps(), setLineWidth(), setPointSize(), and ~G4gl2ps().
|
protected |
Definition at line 72 of file G4gl2ps.hh.
Referenced by beginPage(), disableFileWriting(), enableFileWriting(), fileWritingEnabled(), G4gl2ps(), setExportImageFormat(), and ~G4gl2ps().
|
protected |
Definition at line 73 of file G4gl2ps.hh.
Referenced by beginPage(), enableFileWriting(), and setFileName().
|
protected |
Definition at line 70 of file G4gl2ps.hh.
Referenced by enableFileWriting(), G4gl2ps(), and setOpenGLFunctions().
|
protected |
Definition at line 74 of file G4gl2ps.hh.
Referenced by beginPage(), G4gl2ps(), and setViewport().