OpenGL_accelerate.numpy_formathandler
index
/home/mcfletch/pylive/OpenGL_accelerate/numpy_formathandler.so

Accelerator for numpy format handler operations

 
Modules
       
__builtin__
numpy
traceback
weakref

 
Classes
       
FormatHandler(object)
NumpyHandler

 
class NumpyHandler(FormatHandler)
    
Method resolution order:
NumpyHandler
FormatHandler
object

Methods defined here:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data descriptors defined here:
array_to_gl_constant
gl_constant_to_array

Data and other attributes defined here:
HANDLED_TYPES = (<type 'numpy.ndarray'>,)
__new__ = <built-in method __new__ of type object at 0x7f8eb9e62640>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__pyx_vtable__ = <PyCObject object at 0x7f8ebf97ed00>
isOutput = True

Methods inherited from FormatHandler:
arrayByteCount(...)
Given a data-value, calculate number of bytes required to represent
arraySize(...)
Retrieve array size reference
arrayToGLType(...)
Given a value, guess OpenGL type of the corresponding pointer
asArray(...)
Retrieve the given value as a (contiguous) array of type typeCode
dataPointer(...)
Retrieve data-pointer directly
dimensions(...)
Retrieve full set of dimensions for the array as tuple
from_param(...)
simple function-based from_param
register(...)
Register this class as handler for given set of types
registerEquivalent(...)
Register a sub-class for handling as the base-type
registerReturn(...)
Register this handler as the default return-type handler
unitSize(...)
Retrieve last dimension of the array
zeros(...)
Create an array initialized to zeros

Data descriptors inherited from FormatHandler:
ERROR_ON_COPY

 
Data
        __file__ = '/home/mcfletch/pylive/OpenGL_accelerate/numpy_formathandler.so'
__name__ = 'OpenGL_accelerate.numpy_formathandler'
__package__ = 'OpenGL_accelerate'