27 GetViewMapGradientNormF1D___doc__,
28 "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
29 ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetViewMapGradientNormF1D`\n"
31 ".. method:: __init__(level, integration_type=IntegrationType.MEAN, sampling=2.0)\n"
33 " Builds a GetViewMapGradientNormF1D object.\n"
35 " :arg level: The level of the pyramid from which the pixel must be\n"
38 " :arg integration_type: The integration method used to compute a single value\n"
39 " from a set of values.\n"
40 " :type integration_type: :class:`freestyle.types.IntegrationType`\n"
41 " :arg sampling: The resolution used to sample the chain: the\n"
42 " corresponding 0D function is evaluated at each sample point and\n"
43 " the result is obtained by combining the resulting values into a\n"
44 " single one, following the method specified by integration_type.\n"
45 " :type sampling: float\n"
47 ".. method:: __call__(inter)\n"
49 " Returns the density of the ViewMap for a given Interface1D. The\n"
50 " density of each :class:`freestyle.types.FEdge` is evaluated in the\n"
51 " proper steerable :class:`freestyle.types.ViewMap` depending on its\n"
54 " :arg inter: An Interface1D object.\n"
55 " :type inter: :class:`freestyle.types.Interface1D`\n"
56 " :return: The density of the ViewMap for a given Interface1D.\n"
63 static const char *kwlist[] = {
"level",
"integration_type",
"sampling",
nullptr};
64 PyObject *obj =
nullptr;
68 if (!PyArg_ParseTupleAndKeywords(
81 PyVarObject_HEAD_INIT(
nullptr, 0)
82 "GetViewMapGradientNormF1D",
100 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
101 GetViewMapGradientNormF1D___doc__,
Functions taking 1D input.
IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj)
PyTypeObject GetViewMapGradientNormF1D_Type
PyDoc_STRVAR(GetViewMapGradientNormF1D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > " ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetViewMapGradientNormF1D`\n" "\n" ".. method:: __init__(level, integration_type=IntegrationType.MEAN, sampling=2.0)\n" "\n" " Builds a GetViewMapGradientNormF1D object.\n" "\n" " :arg level: The level of the pyramid from which the pixel must be\n" " read.\n" " :type level: int\n" " :arg integration_type: The integration method used to compute a single value\n" " from a set of values.\n" " :type integration_type: :class:`freestyle.types.IntegrationType`\n" " :arg sampling: The resolution used to sample the chain: the\n" " corresponding 0D function is evaluated at each sample point and\n" " the result is obtained by combining the resulting values into a\n" " single one, following the method specified by integration_type.\n" " :type sampling: float\n" "\n" ".. method:: __call__(inter)\n" "\n" " Returns the density of the ViewMap for a given Interface1D. The\n" " density of each :class:`freestyle.types.FEdge` is evaluated in the\n" " proper steerable :class:`freestyle.types.ViewMap` depending on its\n" " orientation.\n" "\n" " :arg inter: An Interface1D object.\n" " :type inter: :class:`freestyle.types.Interface1D`\n" " :return: The density of the ViewMap for a given Interface1D.\n" " :rtype: float\n")
static int GetViewMapGradientNormF1D___init__(BPy_GetViewMapGradientNormF1D *self, PyObject *args, PyObject *kwds)
PyTypeObject IntegrationType_Type
PyTypeObject UnaryFunction1DDouble_Type