hyperion.ng
Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
EffectModule Struct Reference
Inheritance diagram for EffectModule:

Static Public Member Functions

static PyObject * PyInit_hyperion ()
 
static void registerHyperionExtensionModule ()
 
static PyObject * json2python (const QJsonValue &jsonData)
 
static PyObject * wrapSetColor (PyObject *self, PyObject *args)
 
static PyObject * wrapSetImage (PyObject *self, PyObject *args)
 
static PyObject * wrapGetImage (PyObject *self, PyObject *args)
 
static PyObject * wrapAbort (PyObject *self, PyObject *args)
 
static PyObject * wrapImageShow (PyObject *self, PyObject *args)
 
static PyObject * wrapImageLinearGradient (PyObject *self, PyObject *args)
 
static PyObject * wrapImageConicalGradient (PyObject *self, PyObject *args)
 
static PyObject * wrapImageRadialGradient (PyObject *self, PyObject *args)
 
static PyObject * wrapImageSolidFill (PyObject *self, PyObject *args)
 
static PyObject * wrapImageDrawLine (PyObject *self, PyObject *args)
 
static PyObject * wrapImageDrawPoint (PyObject *self, PyObject *args)
 
static PyObject * wrapImageDrawRect (PyObject *self, PyObject *args)
 
static PyObject * wrapImageDrawPolygon (PyObject *self, PyObject *args)
 
static PyObject * wrapImageDrawPie (PyObject *self, PyObject *args)
 
static PyObject * wrapImageSetPixel (PyObject *self, PyObject *args)
 
static PyObject * wrapImageGetPixel (PyObject *self, PyObject *args)
 
static PyObject * wrapImageSave (PyObject *self, PyObject *args)
 
static PyObject * wrapImageMinSize (PyObject *self, PyObject *args)
 
static PyObject * wrapImageWidth (PyObject *self, PyObject *args)
 
static PyObject * wrapImageHeight (PyObject *self, PyObject *args)
 
static PyObject * wrapImageCRotate (PyObject *self, PyObject *args)
 
static PyObject * wrapImageCOffset (PyObject *self, PyObject *args)
 
static PyObject * wrapImageCShear (PyObject *self, PyObject *args)
 
static PyObject * wrapImageResetT (PyObject *self, PyObject *args)
 
static EffectgetEffect ()
 

Public Attributes

 PyModuleDef_HEAD_INIT
 
 hyperion
 
Hyperion module
 
Hyperion NULL
 

Static Public Attributes

static struct PyModuleDef moduleDef
 
static PyMethodDef effectMethods []
 

Member Data Documentation

§ effectMethods

PyMethodDef EffectModule::effectMethods
static
Initial value:
= {
{"setColor" , EffectModule::wrapSetColor , METH_VARARGS, "Set a new color for the leds."},
{"setImage" , EffectModule::wrapSetImage , METH_VARARGS, "Set a new image to process and determine new led colors."},
{"getImage" , EffectModule::wrapGetImage , METH_VARARGS, "get image data from file."},
{"abort" , EffectModule::wrapAbort , METH_NOARGS, "Check if the effect should abort execution."},
{"imageShow" , EffectModule::wrapImageShow , METH_VARARGS, "set current effect image to hyperion core."},
{"imageLinearGradient" , EffectModule::wrapImageLinearGradient , METH_VARARGS, ""},
{"imageConicalGradient" , EffectModule::wrapImageConicalGradient , METH_VARARGS, ""},
{"imageRadialGradient" , EffectModule::wrapImageRadialGradient , METH_VARARGS, ""},
{"imageSolidFill" , EffectModule::wrapImageSolidFill , METH_VARARGS, ""},
{"imageDrawLine" , EffectModule::wrapImageDrawLine , METH_VARARGS, ""},
{"imageDrawPoint" , EffectModule::wrapImageDrawPoint , METH_VARARGS, ""},
{"imageDrawRect" , EffectModule::wrapImageDrawRect , METH_VARARGS, ""},
{"imageDrawPolygon" , EffectModule::wrapImageDrawPolygon , METH_VARARGS, ""},
{"imageDrawPie" , EffectModule::wrapImageDrawPie , METH_VARARGS, ""},
{"imageSetPixel" , EffectModule::wrapImageSetPixel , METH_VARARGS, "set pixel color of image"},
{"imageGetPixel" , EffectModule::wrapImageGetPixel , METH_VARARGS, "get pixel color of image"},
{"imageSave" , EffectModule::wrapImageSave , METH_NOARGS, "adds a new background image"},
{"imageMinSize" , EffectModule::wrapImageMinSize , METH_VARARGS, "sets minimal dimension of background image"},
{"imageWidth" , EffectModule::wrapImageWidth , METH_NOARGS, "gets image width"},
{"imageHeight" , EffectModule::wrapImageHeight , METH_NOARGS, "gets image height"},
{"imageCRotate" , EffectModule::wrapImageCRotate , METH_VARARGS, "rotate the coordinate system by given angle"},
{"imageCOffset" , EffectModule::wrapImageCOffset , METH_VARARGS, "Add offset to the coordinate system"},
{"imageCShear" , EffectModule::wrapImageCShear , METH_VARARGS, "Shear of coordinate system by the given horizontal/vertical axis"},
{"imageResetT" , EffectModule::wrapImageResetT , METH_NOARGS, "Resets all coords modifications (rotate,offset,shear)"},
{NULL, NULL, 0, NULL}
}

The documentation for this struct was generated from the following files: