23 #include "../../../stroke/AdvancedFunctions0D.h"
36 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
37 ":class:`freestyle.types.UnaryFunction0DFloat` > :class:`ReadMapPixelF0D`\n"
39 ".. method:: __init__(map_name, level)\n"
41 " Builds a ReadMapPixelF0D object.\n"
43 " :arg map_name: The name of the map to be read.\n"
44 " :type map_name: str\n"
45 " :arg level: The level of the pyramid from which the pixel must be\n"
49 ".. method:: __call__(it)\n"
51 " Reads a pixel in a map.\n"
53 " :arg it: An Interface0DIterator object.\n"
54 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
55 " :return: A pixel in a map.\n"
60 static const char *kwlist[] = {
"map_name",
"level",
nullptr};
64 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"si", (
char **)kwlist, &s, &i)) {
68 self->py_uf0D_float.uf0D_float->py_uf0D = (PyObject *)
self;
75 PyVarObject_HEAD_INIT(
nullptr, 0)
"ReadMapPixelF0D",
93 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