25 ReadMapPixelF0D___doc__,
26 "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
27 ":class:`freestyle.types.UnaryFunction0DFloat` > :class:`ReadMapPixelF0D`\n"
29 ".. method:: __init__(map_name, level)\n"
31 " Builds a ReadMapPixelF0D object.\n"
33 " :arg map_name: The name of the map to be read.\n"
34 " :type map_name: str\n"
35 " :arg level: The level of the pyramid from which the pixel must be\n"
39 ".. method:: __call__(it)\n"
41 " Reads a pixel in a map.\n"
43 " :arg it: An Interface0DIterator object.\n"
44 " :type it: :class:`freestyle.types.Interface0DIterator`\n"
45 " :return: A pixel in a map.\n"
50 static const char *kwlist[] = {
"map_name",
"level",
nullptr};
54 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"si", (
char **)kwlist, &s, &i)) {
58 self->py_uf0D_float.uf0D_float->py_uf0D = (PyObject *)
self;
65 PyVarObject_HEAD_INIT(
nullptr, 0)
84 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
85 ReadMapPixelF0D___doc__,
Functions taking 0D input.
PyDoc_STRVAR(ReadMapPixelF0D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > " ":class:`freestyle.types.UnaryFunction0DFloat` > :class:`ReadMapPixelF0D`\n" "\n" ".. method:: __init__(map_name, level)\n" "\n" " Builds a ReadMapPixelF0D object.\n" "\n" " :arg map_name: The name of the map to be read.\n" " :type map_name: str\n" " :arg level: The level of the pyramid from which the pixel must be\n" " read.\n" " :type level: int\n" "\n" ".. method:: __call__(it)\n" "\n" " Reads a pixel in a map.\n" "\n" " :arg it: An Interface0DIterator object.\n" " :type it: :class:`freestyle.types.Interface0DIterator`\n" " :return: A pixel in a map.\n" " :rtype: float\n")
PyTypeObject ReadMapPixelF0D_Type
static int ReadMapPixelF0D___init__(BPy_ReadMapPixelF0D *self, PyObject *args, PyObject *kwds)
PyTypeObject UnaryFunction0DFloat_Type