itom
Loading...
Searching...
No Matches
ito::PythonAlgorithms Class Reference

Classes

struct  PyAlgorithm
 PyAlgorithm is a thin wrapper class for calling any itom algorithm, defined in an algo plugin. More...
 

Static Public Member Functions

static void AddAlgorithmFunctions (PyObject *mod)
 calls an algorithm with a given name and the required args and kwds.
 
static PyObject * PyGenericAlgorithm (const QString &algorithmName, PyObject *self, PyObject *args, PyObject *kwds)
 
static PyObject * PyGenericAlgorithm2 (const AddInAlgo::FilterDef *filterDef, PyObject *self, PyObject *args, PyObject *kwds)
 

Static Public Attributes

static PyMethodDef PythonMethodItomAlgorithms []
 
static PyModuleDef PythonModuleItomAlgorithms
 

Static Private Member Functions

static void PyAlgorithm_dealloc (PyAlgorithm *self)
 
static PyObject * PyAlgorithm_new (PyTypeObject *type, PyObject *args, PyObject *kwds)
 
static int PyAlgorithm_init (PyAlgorithm *self, PyObject *args, PyObject *kwds)
 
static PyObject * PyAlgorithm_call (PyAlgorithm *self, PyObject *args, PyObject *kwds)
 
static PyObject * PyAlgorithm_repr (PyAlgorithm *self)
 
static PyObject * createPyAlgorithm (const ito::AddInAlgo::FilterDef *filterDef)
 

Static Private Attributes

static PyTypeObject PyAlgorithmType
 
static PyModuleDef PyAlgorithmModule
 

Member Data Documentation

◆ PyAlgorithmModule

PyModuleDef ito::PythonAlgorithms::PyAlgorithmModule
staticprivate
Initial value:
= {
PyModuleDef_HEAD_INIT,
"_algorithm",
"Algorithm wrapper.",
-1,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr}

◆ PythonMethodItomAlgorithms

PyMethodDef ito::PythonAlgorithms::PythonMethodItomAlgorithms
static
Initial value:
= {
{nullptr, nullptr, 0, nullptr}}

◆ PythonModuleItomAlgorithms

PyModuleDef ito::PythonAlgorithms::PythonModuleItomAlgorithms
static
Initial value:
= {
PyModuleDef_HEAD_INIT,
"algorithms",
nullptr,
-1,
PythonMethodItomAlgorithms,
nullptr,
nullptr,
nullptr,
nullptr}

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