Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Geant4_gl2ps.h
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 #ifndef Geant4_gl2ps_h
27 #define Geant4_gl2ps_h
28 
29 // gl2ps-1.3.5
30 // The gl2ps code is prefixed by Geant4_ in order
31 // to avoid clashes with other gl2ps code that may come at link
32 // time from other channels.
33 
34 #define gl2psBeginPage Geant4_gl2psBeginPage
35 #define gl2psEndPage Geant4_gl2psEndPage
36 #define gl2psText Geant4_gl2psText
37 #define gl2psEnable Geant4_gl2psEnable
38 #define gl2psDisable Geant4_gl2psDisable
39 #define gl2psPointSize Geant4_gl2psPointSize
40 #define gl2psLineWidth Geant4_gl2psLineWidth
41 #define gl2psDrawPixels Geant4_gl2psDrawPixels
42 #define gl2psBeginViewport Geant4_gl2psBeginViewport
43 #define gl2psEndViewport Geant4_gl2psEndViewport
44 #define gl2psTextOpt Geant4_gl2psTextOpt
45 #define gl2psSetOptions Geant4_gl2psSetOptions
46 #define gl2psGetOptions Geant4_gl2psGetOptions
47 #define gl2psSpecial Geant4_gl2psSpecial
48 #define gl2psBlendFunc Geant4_gl2psBlendFunc
49 #define gl2psDrawImageMap Geant4_gl2psDrawImageMap
50 #define gl2psGetFileExtension Geant4_gl2psGetFileExtension
51 #define gl2psGetFormatDescription Geant4_gl2psGetFormatDescription
52 
53 #define gl2psMsg Geant4_gl2psMsg
54 #define gl2psMalloc Geant4_gl2psMalloc
55 #define gl2psRealloc Geant4_gl2psRealloc
56 #define gl2psFree Geant4_gl2psFree
57 #define gl2psWriteBigEndian Geant4_gl2psWriteBigEndian
58 #define gl2psSetupCompress Geant4_gl2psSetupCompress
59 #define gl2psFreeCompress Geant4_gl2psFreeCompress
60 #define gl2psAllocCompress Geant4_gl2psAllocCompress
61 #define gl2psReallocCompress Geant4_gl2psReallocCompress
62 #define gl2psWriteBigEndianCompress Geant4_gl2psWriteBigEndianCompress
63 #define gl2psDeflate Geant4_gl2psDeflate
64 #define gl2psPrintf Geant4_gl2psPrintf
65 #define gl2psPrintGzipHeader Geant4_gl2psPrintGzipHeader
66 #define gl2psPrintGzipFooter Geant4_gl2psPrintGzipFooter
67 #define gl2psListReset Geant4_gl2psListReset
68 #define gl2psListRealloc Geant4_gl2psListRealloc
69 #define gl2psListCreate Geant4_gl2psListCreate
70 #define gl2psListDelete Geant4_gl2psListDelete
71 #define gl2psListAdd Geant4_gl2psListAdd
72 #define gl2psListNbr Geant4_gl2psListNbr
73 #define gl2psListPointer Geant4_gl2psListPointer
74 #define gl2psListSort Geant4_gl2psListSort
75 #define gl2psListAction Geant4_gl2psListAction
76 #define gl2psListActionInverse Geant4_gl2psListActionInverse
77 #define gl2psListRead Geant4_gl2psListRead
78 #define gl2psEncodeBase64Block Geant4_gl2psEncodeBase64Block
79 #define gl2psListEncodeBase64 Geant4_gl2psListEncodeBase64
80 #define gl2psSameColor Geant4_gl2psSameColor
81 #define gl2psVertsSameColor Geant4_gl2psVertsSameColor
82 #define gl2psSameColorThreshold Geant4_gl2psSameColorThreshold
83 #define gl2psSetLastColor Geant4_gl2psSetLastColor
84 #define gl2psGetRGB Geant4_gl2psGetRGB
85 #define gl2psCopyPixmap Geant4_gl2psCopyPixmap
86 #define gl2psFreePixmap Geant4_gl2psFreePixmap
87 #define gl2psUserWritePNG Geant4_gl2psUserWritePNG
88 #define gl2psUserFlushPNG Geant4_gl2psUserFlushPNG
89 #define gl2psConvertPixmapToPNG Geant4_gl2psConvertPixmapToPNG
90 #define gl2psAddText Geant4_gl2psAddText
91 #define gl2psCopyText Geant4_gl2psCopyText
92 #define gl2psFreeText Geant4_gl2psFreeText
93 #define gl2psSupportedBlendMode Geant4_gl2psSupportedBlendMode
94 #define gl2psAdaptVertexForBlending Geant4_gl2psAdaptVertexForBlending
95 #define gl2psAssignTriangleProperties Geant4_gl2psAssignTriangleProperties
96 #define gl2psFillTriangleFromPrimitive Geant4_gl2psFillTriangleFromPrimitive
97 #define gl2psInitTriangle Geant4_gl2psInitTriangle
98 #define gl2psCopyPrimitive Geant4_gl2psCopyPrimitive
99 #define gl2psSamePosition Geant4_gl2psSamePosition
100 #define gl2psComparePointPlane Geant4_gl2psComparePointPlane
101 #define gl2psPsca Geant4_gl2psPsca
102 #define gl2psPvec Geant4_gl2psPvec
103 #define gl2psNorm Geant4_gl2psNorm
104 #define gl2psGetNormal Geant4_gl2psGetNormal
105 #define gl2psGetPlane Geant4_gl2psGetPlane
106 #define gl2psCutEdge Geant4_gl2psCutEdge
107 #define gl2psCreateSplitPrimitive Geant4_gl2psCreateSplitPrimitive
108 #define gl2psAddIndex Geant4_gl2psAddIndex
109 #define gl2psGetIndex Geant4_gl2psGetIndex
110 #define gl2psTestSplitPrimitive Geant4_gl2psTestSplitPrimitive
111 #define gl2psSplitPrimitive Geant4_gl2psSplitPrimitive
112 #define gl2psDivideQuad Geant4_gl2psDivideQuad
113 #define gl2psCompareDepth Geant4_gl2psCompareDepth
114 #define gl2psTrianglesFirst Geant4_gl2psTrianglesFirst
115 #define gl2psFindRoot Geant4_gl2psFindRoot
116 #define gl2psFreeImagemap Geant4_gl2psFreeImagemap
117 #define gl2psFreePrimitive Geant4_gl2psFreePrimitive
118 #define gl2psAddPrimitiveInList Geant4_gl2psAddPrimitiveInList
119 #define gl2psFreeBspTree Geant4_gl2psFreeBspTree
120 #define gl2psGreater Geant4_gl2psGreater
121 #define gl2psLess Geant4_gl2psLess
122 #define gl2psBuildBspTree Geant4_gl2psBuildBspTree
123 #define gl2psTraverseBspTree Geant4_gl2psTraverseBspTree
124 #define gl2psRescaleAndOffset Geant4_gl2psRescaleAndOffset
125 #define gl2psGetPlaneFromPoints Geant4_gl2psGetPlaneFromPoints
126 #define gl2psFreeBspImageTree Geant4_gl2psFreeBspImageTree
127 #define gl2psCheckPoint Geant4_gl2psCheckPoint
128 #define gl2psAddPlanesInBspTreeImage Geant4_gl2psAddPlanesInBspTreeImage
129 #define gl2psCheckPrimitive Geant4_gl2psCheckPrimitive
130 #define gl2psCreateSplitPrimitive2D Geant4_gl2psCreateSplitPrimitive2D
131 #define gl2psSplitPrimitive2D Geant4_gl2psSplitPrimitive2D
132 #define gl2psAddInImageTree Geant4_gl2psAddInImageTree
133 #define gl2psAddInBspImageTree Geant4_gl2psAddInBspImageTree
134 #define gl2psAddBoundaryInList Geant4_gl2psAddBoundaryInList
135 #define gl2psBuildPolygonBoundary Geant4_gl2psBuildPolygonBoundary
136 #define gl2psAddPolyPrimitive Geant4_gl2psAddPolyPrimitive
137 #define gl2psGetVertex Geant4_gl2psGetVertex
138 #define gl2psParseFeedbackBuffer Geant4_gl2psParseFeedbackBuffer
139 #define gl2psWriteByte Geant4_gl2psWriteByte
140 #define gl2psPrintPostScriptPixmap Geant4_gl2psPrintPostScriptPixmap
141 #define gl2psPrintPostScriptImagemap Geant4_gl2psPrintPostScriptImagemap
142 #define gl2psPrintPostScriptHeader Geant4_gl2psPrintPostScriptHeader
143 #define gl2psPrintPostScriptColor Geant4_gl2psPrintPostScriptColor
144 #define gl2psResetPostScriptColor Geant4_gl2psResetPostScriptColor
145 #define gl2psEndPostScriptLine Geant4_gl2psEndPostScriptLine
146 #define gl2psParseStipplePattern Geant4_gl2psParseStipplePattern
147 #define gl2psPrintPostScriptDash Geant4_gl2psPrintPostScriptDash
148 #define gl2psPrintPostScriptPrimitive Geant4_gl2psPrintPostScriptPrimitive
149 #define gl2psPrintPostScriptFooter Geant4_gl2psPrintPostScriptFooter
150 #define gl2psPrintTeXHeader Geant4_gl2psPrintTeXHeader
151 #define gl2psPrintTeXPrimitive Geant4_gl2psPrintTeXPrimitive
152 #define gl2psPrintTeXFooter Geant4_gl2psPrintTeXFooter
153 
154 #define gl2psPrintPostScriptBeginViewport Geant4_gl2psPrintPostScriptBeginViewport
155 #define gl2psPrintPostScriptEndViewport Geant4_gl2psPrintPostScriptEndViewport
156 
157 #define gl2psPrintPostScriptFinalPrimitive Geant4_gl2psPrintPostScriptFinalPrimitive
158 #define gl2psPrintPrimitives Geant4_gl2psPrintPrimitives
159 #define gl2psPrintTeXBeginViewport Geant4_gl2psPrintTeXBeginViewport
160 #define gl2psPrintTeXEndViewport Geant4_gl2psPrintTeXEndViewport
161 #define gl2psPrintTeXFinalPrimitive Geant4_gl2psPrintTeXFinalPrimitive
162 #define gl2psPrintPDFCompressorType Geant4_gl2psPrintPDFCompressorType
163 #define gl2psPrintPDFStrokeColor Geant4_gl2psPrintPDFStrokeColor
164 #define gl2psPrintPDFFillColor Geant4_gl2psPrintPDFFillColor
165 #define gl2psPrintPDFLineWidth Geant4_gl2psPrintPDFLineWidth
166 #define gl2psPutPDFText Geant4_gl2psPutPDFText
167 #define gl2psPutPDFImage Geant4_gl2psPutPDFImage
168 #define gl2psPDFstacksInit Geant4_gl2psPDFstacksInit
169 #define gl2psPDFgroupObjectInit Geant4_gl2psPDFgroupObjectInit
170 #define gl2psPDFgroupListInit Geant4_gl2psPDFgroupListInit
171 #define gl2psSortOutTrianglePDFgroup Geant4_gl2psSortOutTrianglePDFgroup
172 #define gl2psPDFgroupListWriteMainStream Geant4_gl2psPDFgroupListWriteMainStream
173 #define gl2psPDFgroupListWriteGStateResources Geant4_gl2psPDFgroupListWriteGStateResources
174 #define gl2psPDFgroupListWriteShaderResources Geant4_gl2psPDFgroupListWriteShaderResources
175 #define gl2psPDFgroupListWriteXObjectResources Geant4_gl2psPDFgroupListWriteXObjectResources
176 #define gl2psPDFgroupListWriteFontResources Geant4_gl2psPDFgroupListWriteFontResources
177 #define gl2psPDFgroupListDelete Geant4_gl2psPDFgroupListDelete
178 #define gl2psPrintPDFInfo Geant4_gl2psPrintPDFInfo
179 #define gl2psPrintPDFCatalog Geant4_gl2psPrintPDFCatalog
180 #define gl2psPrintPDFPages Geant4_gl2psPrintPDFPages
181 #define gl2psOpenPDFDataStream Geant4_gl2psOpenPDFDataStream
182 #define gl2psOpenPDFDataStreamWritePreface Geant4_gl2psOpenPDFDataStreamWritePreface
183 #define gl2psPrintPDFHeader Geant4_gl2psPrintPDFHeader
184 #define gl2psPrintPDFPrimitive Geant4_gl2psPrintPDFPrimitive
185 #define gl2psClosePDFDataStream Geant4_gl2psClosePDFDataStream
186 #define gl2psPrintPDFDataStreamLength Geant4_gl2psPrintPDFDataStreamLength
187 #define gl2psPrintPDFOpenPage Geant4_gl2psPrintPDFOpenPage
188 #define gl2psPDFgroupListWriteVariableResources Geant4_gl2psPDFgroupListWriteVariableResources
189 #define gl2psPrintPDFGSObject Geant4_gl2psPrintPDFGSObject
190 #define gl2psPrintPDFShaderStreamDataCoord Geant4_gl2psPrintPDFShaderStreamDataCoord
191 #define gl2psPrintPDFShaderStreamDataRGB Geant4_gl2psPrintPDFShaderStreamDataRGB
192 #define gl2psPrintPDFShaderStreamDataAlpha Geant4_gl2psPrintPDFShaderStreamDataAlpha
193 #define gl2psPrintPDFShaderStreamData Geant4_gl2psPrintPDFShaderStreamData
194 #define gl2psPDFRectHull Geant4_gl2psPDFRectHull
195 #define gl2psPrintPDFShader Geant4_gl2psPrintPDFShader
196 #define gl2psPrintPDFShaderMask Geant4_gl2psPrintPDFShaderMask
197 #define gl2psPrintPDFShaderExtGS Geant4_gl2psPrintPDFShaderExtGS
198 #define gl2psPrintPDFShaderSimpleExtGS Geant4_gl2psPrintPDFShaderSimpleExtGS
199 #define gl2psPrintPDFPixmapStreamData Geant4_gl2psPrintPDFPixmapStreamData
200 #define gl2psPrintPDFPixmap Geant4_gl2psPrintPDFPixmap
201 #define gl2psPrintPDFText Geant4_gl2psPrintPDFText
202 #define gl2psPDFgroupListWriteObjects Geant4_gl2psPDFgroupListWriteObjects
203 #define gl2psPrintPDFFooter Geant4_gl2psPrintPDFFooter
204 #define gl2psPrintPDFBeginViewport Geant4_gl2psPrintPDFBeginViewport
205 #define gl2psPrintPDFEndViewport Geant4_gl2psPrintPDFEndViewport
206 #define gl2psPrintPDFFinalPrimitive Geant4_gl2psPrintPDFFinalPrimitive
207 #define gl2psSVGGetCoordsAndColors Geant4_gl2psSVGGetCoordsAndColors
208 #define gl2psSVGGetColorString Geant4_gl2psSVGGetColorString
209 #define gl2psPrintSVGHeader Geant4_gl2psPrintSVGHeader
210 #define gl2psPrintSVGSmoothTriangle Geant4_gl2psPrintSVGSmoothTriangle
211 #define gl2psPrintSVGDash Geant4_gl2psPrintSVGDash
212 #define gl2psEndSVGLine Geant4_gl2psEndSVGLine
213 #define gl2psPrintSVGPixmap Geant4_gl2psPrintSVGPixmap
214 #define gl2psPrintSVGPrimitive Geant4_gl2psPrintSVGPrimitive
215 #define gl2psPrintSVGFooter Geant4_gl2psPrintSVGFooter
216 #define gl2psPrintSVGBeginViewport Geant4_gl2psPrintSVGBeginViewport
217 #define gl2psPrintSVGEndViewport Geant4_gl2psPrintSVGEndViewport
218 #define gl2psPrintSVGFinalPrimitive Geant4_gl2psPrintSVGFinalPrimitive
219 #define gl2psPrintPGFColor Geant4_gl2psPrintPGFColor
220 #define gl2psPrintPGFHeader Geant4_gl2psPrintPGFHeader
221 #define gl2psPrintPGFDash Geant4_gl2psPrintPGFDash
222 #define gl2psPGFTextAlignment Geant4_gl2psPGFTextAlignment
223 #define gl2psPrintPGFPrimitive Geant4_gl2psPrintPGFPrimitive
224 #define gl2psPrintPGFFooter Geant4_gl2psPrintPGFFooter
225 #define gl2psPrintPGFBeginViewport Geant4_gl2psPrintPGFBeginViewport
226 #define gl2psPrintPGFEndViewport Geant4_gl2psPrintPGFEndViewport
227 #define gl2psPrintPGFFinalPrimitive Geant4_gl2psPrintPGFFinalPrimitive
228 #define gl2psComputeTightBoundingBox Geant4_gl2psComputeTightBoundingBox
229 
230 #define gl2ps Geant4_gl2ps
231 
232 #ifndef G4OPENGL_VERSION_2
233 #include "gl2ps.h"
234 #endif
235 
236 #ifdef _WIN32
237 #define _USE_MATH_DEFINES
238 #endif
239 
240 #endif