home *** CD-ROM | disk | FTP | other *** search
/ Hackers Magazine 57 / CdHackersMagazineNr57.iso / Software / Multimedia / k3d-setup-0.7.11.0.exe / lib / site-packages / OpenGL / raw / GLE / __init__.py next >
Encoding:
Python Source  |  2008-12-07  |  11.4 KB  |  300 lines

  1. # -*- coding: iso-8859-1 -*-
  2. """Raw (C-style) API for OpenGL.GLE
  3.  
  4. Automatically generated by the generateraw script, do not edit!
  5. """
  6. from OpenGL.raw.GLE.constants import *
  7.  
  8. from ctypes import *
  9. from OpenGL import platform, arrays
  10. from OpenGL.constant import Constant
  11. from OpenGL import constants as GLconstants
  12. GLvoid = GLconstants.GLvoid
  13.  
  14.  
  15.  
  16.  
  17. gleDouble = c_double
  18. gleAffine = gleDouble * 3 * 2
  19.  
  20.  
  21. # /usr/include/GL/gle.h 136
  22. gleExtrusion = platform.createBaseFunction( 
  23.     'gleExtrusion', dll=platform.GLE, resultType=None, 
  24.     argTypes=[c_int,arrays.GLdoubleArray,arrays.GLdoubleArray,arrays.GLdoubleArray,c_int,arrays.GLdoubleArray,arrays.GLfloatArray],
  25.     doc='gleExtrusion( c_int(ncp), arrays.GLdoubleArray(contour), arrays.GLdoubleArray(cont_normal), arrays.GLdoubleArray(up), c_int(npoints), arrays.GLdoubleArray(point_array), arrays.GLfloatArray(color_array) ) -> None', 
  26.     argNames=('ncp', 'contour', 'cont_normal', 'up', 'npoints', 'point_array', 'color_array'),
  27. )
  28.  
  29.  
  30. # /usr/include/GL/gle.h 110
  31. gleGetJoinStyle = platform.createBaseFunction( 
  32.     'gleGetJoinStyle', dll=platform.GLE, resultType=c_int, 
  33.     argTypes=[],
  34.     doc='gleGetJoinStyle(  ) -> c_int', 
  35.     argNames=(),
  36. )
  37.  
  38.  
  39. # /usr/include/GL/gle.h 114
  40. gleGetNumSides = platform.createBaseFunction( 
  41.     'gleGetNumSides', dll=platform.GLE, resultType=c_int, 
  42.     argTypes=[],
  43.     doc='gleGetNumSides(  ) -> c_int', 
  44.     argNames=(),
  45. )
  46.  
  47.  
  48. # /usr/include/GL/gle.h 195
  49. gleHelicoid = platform.createBaseFunction( 
  50.     'gleHelicoid', dll=platform.GLE, resultType=None, 
  51.     argTypes=[gleDouble,gleDouble,gleDouble,gleDouble,gleDouble,arrays.GLdoubleArray,arrays.GLdoubleArray,gleDouble,gleDouble],
  52.     doc='gleHelicoid( gleDouble(rToroid), gleDouble(startRadius), gleDouble(drdTheta), gleDouble(startZ), gleDouble(dzdTheta), arrays.GLdoubleArray(startXform), arrays.GLdoubleArray(dXformdTheta), gleDouble(startTheta), gleDouble(sweepTheta) ) -> None', 
  53.     argNames=('rToroid', 'startRadius', 'drdTheta', 'startZ', 'dzdTheta', 'startXform', 'dXformdTheta', 'startTheta', 'sweepTheta'),
  54. )
  55.  
  56.  
  57. # /usr/include/GL/gle.h 184
  58. gleLathe = platform.createBaseFunction( 
  59.     'gleLathe', dll=platform.GLE, resultType=None, 
  60.     argTypes=[c_int,arrays.GLdoubleArray,arrays.GLdoubleArray,arrays.GLdoubleArray,gleDouble,gleDouble,gleDouble,gleDouble,arrays.GLdoubleArray,arrays.GLdoubleArray,gleDouble,gleDouble],
  61.     doc='gleLathe( c_int(ncp), arrays.GLdoubleArray(contour), arrays.GLdoubleArray(cont_normal), arrays.GLdoubleArray(up), gleDouble(startRadius), gleDouble(drdTheta), gleDouble(startZ), gleDouble(dzdTheta), arrays.GLdoubleArray(startXform), arrays.GLdoubleArray(dXformdTheta), gleDouble(startTheta), gleDouble(sweepTheta) ) -> None', 
  62.     argNames=('ncp', 'contour', 'cont_normal', 'up', 'startRadius', 'drdTheta', 'startZ', 'dzdTheta', 'startXform', 'dXformdTheta', 'startTheta', 'sweepTheta'),
  63. )
  64.  
  65.  
  66. # /usr/include/GL/gle.h 127
  67. glePolyCone = platform.createBaseFunction( 
  68.     'glePolyCone', dll=platform.GLE, resultType=None, 
  69.     argTypes=[c_int,arrays.GLdoubleArray,arrays.GLfloatArray,arrays.GLdoubleArray],
  70.     doc='glePolyCone( c_int(npoints), arrays.GLdoubleArray(point_array), arrays.GLfloatArray(color_array), arrays.GLdoubleArray(radius_array) ) -> None', 
  71.     argNames=('npoints', 'point_array', 'color_array', 'radius_array'),
  72. )
  73.  
  74.  
  75. # /usr/include/GL/gle.h 121
  76. glePolyCylinder = platform.createBaseFunction( 
  77.     'glePolyCylinder', dll=platform.GLE, resultType=None, 
  78.     argTypes=[c_int,arrays.GLdoubleArray,arrays.GLfloatArray,gleDouble],
  79.     doc='glePolyCylinder( c_int(npoints), arrays.GLdoubleArray(point_array), arrays.GLfloatArray(color_array), gleDouble(radius) ) -> None', 
  80.     argNames=('npoints', 'point_array', 'color_array', 'radius'),
  81. )
  82.  
  83.  
  84. # /usr/include/GL/gle.h 215
  85. gleScrew = platform.createBaseFunction( 
  86.     'gleScrew', dll=platform.GLE, resultType=None, 
  87.     argTypes=[c_int,arrays.GLdoubleArray,arrays.GLdoubleArray,arrays.GLdoubleArray,gleDouble,gleDouble,gleDouble],
  88.     doc='gleScrew( c_int(ncp), arrays.GLdoubleArray(contour), arrays.GLdoubleArray(cont_normal), arrays.GLdoubleArray(up), gleDouble(startz), gleDouble(endz), gleDouble(twist) ) -> None', 
  89.     argNames=('ncp', 'contour', 'cont_normal', 'up', 'startz', 'endz', 'twist'),
  90. )
  91.  
  92. # /usr/include/GL/gle.h 111
  93. gleSetJoinStyle = platform.createBaseFunction( 
  94.     'gleSetJoinStyle', dll=platform.GLE, resultType=None, 
  95.     argTypes=[c_int],
  96.     doc='gleSetJoinStyle( c_int(style) ) -> None', 
  97.     argNames=('style',),
  98. )
  99.  
  100.  
  101. # /usr/include/GL/gle.h 115
  102. gleSetNumSides = platform.createBaseFunction( 
  103.     'gleSetNumSides', dll=platform.GLE, resultType=None, 
  104.     argTypes=[c_int],
  105.     doc='gleSetNumSides( c_int(slices) ) -> None', 
  106.     argNames=('slices',),
  107. )
  108.  
  109.  
  110. # /usr/include/GL/gle.h 170
  111. gleSpiral = platform.createBaseFunction( 
  112.     'gleSpiral', dll=platform.GLE, resultType=None, 
  113.     argTypes=[c_int,arrays.GLdoubleArray,arrays.GLdoubleArray,arrays.GLdoubleArray,gleDouble,gleDouble,gleDouble,gleDouble,arrays.GLdoubleArray,arrays.GLdoubleArray,gleDouble,gleDouble],
  114.     doc='gleSpiral( c_int(ncp), arrays.GLdoubleArray(contour), arrays.GLdoubleArray(cont_normal), arrays.GLdoubleArray(up), gleDouble(startRadius), gleDouble(drdTheta), gleDouble(startZ), gleDouble(dzdTheta), arrays.GLdoubleArray(startXform), arrays.GLdoubleArray(dXformdTheta), gleDouble(startTheta), gleDouble(sweepTheta) ) -> None', 
  115.     argNames=('ncp', 'contour', 'cont_normal', 'up', 'startRadius', 'drdTheta', 'startZ', 'dzdTheta', 'startXform', 'dXformdTheta', 'startTheta', 'sweepTheta'),
  116. )
  117.  
  118.  
  119. # /usr/include/GL/gle.h 156
  120. gleSuperExtrusion = platform.createBaseFunction( 
  121.     'gleSuperExtrusion', dll=platform.GLE, resultType=None, 
  122.     argTypes=[c_int,arrays.GLdoubleArray,arrays.GLdoubleArray,arrays.GLdoubleArray,c_int,arrays.GLdoubleArray,arrays.GLfloatArray,arrays.GLdoubleArray],
  123.     doc='gleSuperExtrusion( c_int(ncp), arrays.GLdoubleArray(contour), arrays.GLdoubleArray(cont_normal), arrays.GLdoubleArray(up), c_int(npoints), arrays.GLdoubleArray(point_array), arrays.GLfloatArray(color_array), arrays.GLdoubleArray(xform_array) ) -> None', 
  124.     argNames=('ncp', 'contour', 'cont_normal', 'up', 'npoints', 'point_array', 'color_array', 'xform_array'),
  125. )
  126.  
  127.  
  128. # /usr/include/GL/gle.h 217
  129. gleTextureMode = platform.createBaseFunction( 
  130.     'gleTextureMode', dll=platform.GLE, resultType=None, 
  131.     argTypes=[c_int],
  132.     doc='gleTextureMode( c_int(mode) ) -> None', 
  133.     argNames=('mode',),
  134. )
  135.  
  136.  
  137. # /usr/include/GL/gle.h 206
  138. gleToroid = platform.createBaseFunction( 
  139.     'gleToroid', dll=platform.GLE, resultType=None, 
  140.     argTypes=[gleDouble,gleDouble,gleDouble,gleDouble,gleDouble,arrays.GLdoubleArray,arrays.GLdoubleArray,gleDouble,gleDouble],
  141.     doc='gleToroid( gleDouble(rToroid), gleDouble(startRadius), gleDouble(drdTheta), gleDouble(startZ), gleDouble(dzdTheta), arrays.GLdoubleArray(startXform), arrays.GLdoubleArray(dXformdTheta), gleDouble(startTheta), gleDouble(sweepTheta) ) -> None', 
  142.     argNames=('rToroid', 'startRadius', 'drdTheta', 'startZ', 'dzdTheta', 'startXform', 'dXformdTheta', 'startTheta', 'sweepTheta'),
  143. )
  144.  
  145.  
  146. # /usr/include/GL/gle.h 146
  147. gleTwistExtrusion = platform.createBaseFunction( 
  148.     'gleTwistExtrusion', dll=platform.GLE, resultType=None, 
  149.     argTypes=[c_int,arrays.GLdoubleArray,arrays.GLdoubleArray,arrays.GLdoubleArray,c_int,arrays.GLdoubleArray,arrays.GLfloatArray,arrays.GLdoubleArray],
  150.     doc='gleTwistExtrusion( c_int(ncp), arrays.GLdoubleArray(contour), arrays.GLdoubleArray(cont_normal), arrays.GLdoubleArray(up), c_int(npoints), arrays.GLdoubleArray(point_array), arrays.GLfloatArray(color_array), arrays.GLdoubleArray(twist_array) ) -> None', 
  151.     argNames=('ncp', 'contour', 'cont_normal', 'up', 'npoints', 'point_array', 'color_array', 'twist_array'),
  152. )
  153.  
  154.  
  155. # /usr/include/GL/gle.h 221
  156. rot_about_axis = platform.createBaseFunction( 
  157.     'rot_about_axis', dll=platform.GLE, resultType=None, 
  158.     argTypes=[gleDouble,arrays.GLdoubleArray],
  159.     doc='rot_about_axis( gleDouble(angle), arrays.GLdoubleArray(axis) ) -> None', 
  160.     argNames=('angle', 'axis'),
  161. )
  162.  
  163.  
  164. # /usr/include/GL/gle.h 220
  165. rot_axis = platform.createBaseFunction( 
  166.     'rot_axis', dll=platform.GLE, resultType=None, 
  167.     argTypes=[gleDouble,arrays.GLdoubleArray],
  168.     doc='rot_axis( gleDouble(omega), arrays.GLdoubleArray(axis) ) -> None', 
  169.     argNames=('omega', 'axis'),
  170. )
  171.  
  172.  
  173. # /usr/include/GL/gle.h 222
  174. rot_omega = platform.createBaseFunction( 
  175.     'rot_omega', dll=platform.GLE, resultType=None, 
  176.     argTypes=[arrays.GLdoubleArray],
  177.     doc='rot_omega( arrays.GLdoubleArray(axis) ) -> None', 
  178.     argNames=('axis',),
  179. )
  180.  
  181.  
  182. # /usr/include/GL/gle.h 223
  183. rot_prince = platform.createBaseFunction( 
  184.     'rot_prince', dll=platform.GLE, resultType=None, 
  185.     argTypes=[gleDouble,c_char],
  186.     doc='rot_prince( gleDouble(omega), c_char(axis) ) -> None', 
  187.     argNames=('omega', 'axis'),
  188. )
  189.  
  190.  
  191. # /usr/include/GL/gle.h 225
  192. urot_about_axis = platform.createBaseFunction( 
  193.     'urot_about_axis', dll=platform.GLE, resultType=None, 
  194.     argTypes=[arrays.GLdoubleArray,gleDouble,arrays.GLdoubleArray],
  195.     doc='urot_about_axis( arrays.GLdoubleArray(m), gleDouble(angle), arrays.GLdoubleArray(axis) ) -> None', 
  196.     argNames=('m', 'angle', 'axis'),
  197. )
  198.  
  199.  
  200. # /usr/include/GL/gle.h 224
  201. urot_axis = platform.createBaseFunction( 
  202.     'urot_axis', dll=platform.GLE, resultType=None, 
  203.     argTypes=[arrays.GLdoubleArray,gleDouble,arrays.GLdoubleArray],
  204.     doc='urot_axis( arrays.GLdoubleArray(m), gleDouble(omega), arrays.GLdoubleArray(axis) ) -> None', 
  205.     argNames=('m', 'omega', 'axis'),
  206. )
  207.  
  208.  
  209. # /usr/include/GL/gle.h 226
  210. urot_omega = platform.createBaseFunction( 
  211.     'urot_omega', dll=platform.GLE, resultType=None, 
  212.     argTypes=[arrays.GLdoubleArray,arrays.GLdoubleArray],
  213.     doc='urot_omega( arrays.GLdoubleArray(m), arrays.GLdoubleArray(axis) ) -> None', 
  214.     argNames=('m', 'axis'),
  215. )
  216.  
  217.  
  218. # /usr/include/GL/gle.h 227
  219. urot_prince = platform.createBaseFunction( 
  220.     'urot_prince', dll=platform.GLE, resultType=None, 
  221.     argTypes=[arrays.GLdoubleArray,gleDouble,c_char],
  222.     doc='urot_prince( arrays.GLdoubleArray(m), gleDouble(omega), c_char(axis) ) -> None', 
  223.     argNames=('m', 'omega', 'axis'),
  224. )
  225.  
  226.  
  227. # /usr/include/GL/gle.h 232
  228. uview_direction = platform.createBaseFunction( 
  229.     'uview_direction', dll=platform.GLE, resultType=None, 
  230.     argTypes=[arrays.GLdoubleArray,arrays.GLdoubleArray,arrays.GLdoubleArray],
  231.     doc='uview_direction( arrays.GLdoubleArray(m), arrays.GLdoubleArray(v21), arrays.GLdoubleArray(up) ) -> None', 
  232.     argNames=('m', 'v21', 'up'),
  233. )
  234.  
  235.  
  236. # /usr/include/GL/gle.h 237
  237. uviewpoint = platform.createBaseFunction( 
  238.     'uviewpoint', dll=platform.GLE, resultType=None, 
  239.     argTypes=[arrays.GLdoubleArray,arrays.GLdoubleArray,arrays.GLdoubleArray,arrays.GLdoubleArray],
  240.     doc='uviewpoint( arrays.GLdoubleArray(m), arrays.GLdoubleArray(v1), arrays.GLdoubleArray(v2), arrays.GLdoubleArray(up) ) -> None', 
  241.     argNames=('m', 'v1', 'v2', 'up'),
  242. )
  243.  
  244. __all__ = [
  245.     'GLE_TEXTURE_ENABLE',
  246.     'GLE_TEXTURE_NORMAL_CYL',
  247.     'GLE_TEXTURE_NORMAL_FLAT',
  248.     'GLE_TEXTURE_NORMAL_MODEL_CYL',
  249.     'GLE_TEXTURE_NORMAL_MODEL_FLAT',
  250.     'GLE_TEXTURE_NORMAL_MODEL_SPH',
  251.     'GLE_TEXTURE_NORMAL_SPH',
  252.     'GLE_TEXTURE_STYLE_MASK',
  253.     'GLE_TEXTURE_VERTEX_CYL',
  254.     'GLE_TEXTURE_VERTEX_FLAT',
  255.     'GLE_TEXTURE_VERTEX_MODEL_CYL',
  256.     'GLE_TEXTURE_VERTEX_MODEL_FLAT',
  257.     'GLE_TEXTURE_VERTEX_MODEL_SPH',
  258.     'GLE_TEXTURE_VERTEX_SPH',
  259.     'TUBE_CONTOUR_CLOSED',
  260.     'TUBE_JN_ANGLE',
  261.     'TUBE_JN_CAP',
  262.     'TUBE_JN_CUT',
  263.     'TUBE_JN_MASK',
  264.     'TUBE_JN_RAW',
  265.     'TUBE_JN_ROUND',
  266.     'TUBE_NORM_EDGE',
  267.     'TUBE_NORM_FACET',
  268.     'TUBE_NORM_MASK',
  269.     'TUBE_NORM_PATH_EDGE',
  270.     '__GLE_DOUBLE',
  271.     'gleAffine',
  272.     'gleDouble',
  273.     'gleExtrusion',
  274.     'gleGetJoinStyle',
  275.     'gleGetNumSides',
  276.     'gleHelicoid',
  277.     'gleLathe',
  278.     'glePolyCone',
  279.     'glePolyCylinder',
  280.     'gleScrew',
  281.     'gleSetJoinStyle',
  282.     'gleSetNumSides',
  283.     'gleSpiral',
  284.     'gleSuperExtrusion',
  285.     'gleTextureMode',
  286.     'gleToroid',
  287.     'gleTwistExtrusion',
  288.     'rot_about_axis',
  289.     'rot_axis',
  290.     'rot_omega',
  291.     'rot_prince',
  292.     'urot_about_axis',
  293.     'urot_axis',
  294.     'urot_omega',
  295.     'urot_prince',
  296.     'uview_direction',
  297.     'uviewpoint'
  298. ]
  299.  
  300.