9 #include "../../../stroke/AdvancedFunctions0D.h"
22 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
23 ":class:`freestyle.types.UnaryFunction0DFloat` > :class:`ReadMapPixelF0D`\n"
25 ".. method:: __init__(map_name, level)\n"
27 " Builds a ReadMapPixelF0D object.\n"
29 " :arg map_name: The name of the map to be read.\n"
30 " :type map_name: str\n"
31 " :arg level: The level of the pyramid from which the pixel must be\n"
35 ".. method:: __call__(it)\n"
37 " Reads a pixel in a map.\n"
39 " :arg it: An Interface0DIterator object.\n"
40 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
41 " :return: A pixel in a map.\n"
46 static const char *kwlist[] = {
"map_name",
"level",
nullptr};
50 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"si", (
char **)kwlist, &s, &i)) {
54 self->py_uf0D_float.uf0D_float->py_uf0D = (PyObject *)
self;
61 PyVarObject_HEAD_INIT(
nullptr, 0)
"ReadMapPixelF0D",
79 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
PyTypeObject ReadMapPixelF0D_Type
static int ReadMapPixelF0D___init__(BPy_ReadMapPixelF0D *self, PyObject *args, PyObject *kwds)
static char ReadMapPixelF0D___doc__[]
PyTypeObject UnaryFunction0DFloat_Type