OpenGL.GLU.quadrics
index
/home/mcfletch/pylive/OpenGL/GLU/quadrics.py

Wrapper/Implementation of the GLU quadrics object for PyOpenGL

 
Modules
       
ctypes
OpenGL.raw.GLU

 
Classes
       
GLUquadric(Structure)
GLUQuadric
GLUQuadric

 
class GLUQuadric(GLUquadric)
    Implementation class for GLUQuadric classes in PyOpenGL
 
 
Method resolution order:
GLUQuadric
GLUquadric
Structure
_ctypes._CData
object

Methods defined here:
FUNCTION_TYPE = CFUNCTYPE(restype, *argtypes, **kw)
CFUNCTYPE(restype, *argtypes,
             use_errno=False, use_last_error=False) -> function prototype.
 
restype: the result type
argtypes: a sequence specifying the argument types
 
The function prototype can be called in different ways to create a
callable object:
 
prototype(integer address) -> foreign function
prototype(callable) -> create and return a C callable function from callable
prototype(integer index, method name[, paramflags]) -> foreign function calling a COM method
prototype((ordinal number, dll object)[, paramflags]) -> foreign function exported by ordinal
prototype((function name, dll object)[, paramflags]) -> foreign function exported by name
addCallback(self, which, function)
Register a callback for the quadric object
 
At the moment only GLU_ERROR is supported by OpenGL, but
we allow for the possibility of more callbacks in the future...

Data and other attributes defined here:
CALLBACK_TYPES = {GLU_ERROR: <class 'ctypes.CFunctionType'>}

Data descriptors inherited from GLUquadric:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from Structure:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes inherited from Structure:
__new__ = <built-in method __new__ of _ctypes.StructType object at 0x7f8ebe8a9960>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from _ctypes._CData:
__ctypes_from_outparam__(...)
__hash__(...)
x.__hash__() <==> hash(x)
__reduce__(...)
__setstate__(...)

 
GLUquadric = class GLUQuadric(GLUquadric)
    Implementation class for GLUQuadric classes in PyOpenGL
 
 
Method resolution order:
GLUQuadric
GLUquadric
Structure
_ctypes._CData
object

Methods defined here:
FUNCTION_TYPE = CFUNCTYPE(restype, *argtypes, **kw)
CFUNCTYPE(restype, *argtypes,
             use_errno=False, use_last_error=False) -> function prototype.
 
restype: the result type
argtypes: a sequence specifying the argument types
 
The function prototype can be called in different ways to create a
callable object:
 
prototype(integer address) -> foreign function
prototype(callable) -> create and return a C callable function from callable
prototype(integer index, method name[, paramflags]) -> foreign function calling a COM method
prototype((ordinal number, dll object)[, paramflags]) -> foreign function exported by ordinal
prototype((function name, dll object)[, paramflags]) -> foreign function exported by name
addCallback(self, which, function)
Register a callback for the quadric object
 
At the moment only GLU_ERROR is supported by OpenGL, but
we allow for the possibility of more callbacks in the future...

Data and other attributes defined here:
CALLBACK_TYPES = {GLU_ERROR: <class 'ctypes.CFunctionType'>}

Data descriptors inherited from GLUquadric:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from Structure:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes inherited from Structure:
__new__ = <built-in method __new__ of _ctypes.StructType object at 0x7f8ebe8a9960>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from _ctypes._CData:
__ctypes_from_outparam__(...)
__hash__(...)
x.__hash__() <==> hash(x)
__reduce__(...)
__setstate__(...)

 
Functions
       
gluQuadricCallback(quadric, which=GLU_ERROR, function=None)
Set the GLU error callback function

 
Data
        GLU = <CDLL 'libGLU.so.1', handle 2189a60 at 2156790>
PLATFORM = <OpenGL.platform.glx.GLXPlatform object at 0x20bad90>
__all__ = ('gluNewQuadric', 'gluQuadricCallback', 'GLUQuadric')
__file__ = '/home/mcfletch/pylive/OpenGL/GLU/quadrics.pyc'
__name__ = 'OpenGL.GLU.quadrics'
__package__ = 'OpenGL.GLU'
gluNewQuadric = <CFunctionType object at 0x28f4c80>