27 GetCompleteViewMapDensityF1D___doc__,
28 "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
29 ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetCompleteViewMapDensityF1D`\n"
31 ".. method:: __init__(level, integration_type=IntegrationType.MEAN, sampling=2.0)\n"
33 " Builds a GetCompleteViewMapDensityF1D 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 evaluated for an Interface1D in the complete\n"
50 " viewmap image. The density is evaluated for a set of points along the\n"
51 " Interface1D (using the\n"
52 " :class:`freestyle.functions.ReadCompleteViewMapPixelF0D` functor) and\n"
53 " then integrated into a single value using a user-defined integration\n"
56 " :arg inter: An Interface1D object.\n"
57 " :type inter: :class:`freestyle.types.Interface1D`\n"
58 " :return: The density evaluated for the Interface1D in the complete\n"
66 static const char *kwlist[] = {
"level",
"integration_type",
"sampling",
nullptr};
67 PyObject *obj =
nullptr;
71 if (!PyArg_ParseTupleAndKeywords(
84 PyVarObject_HEAD_INIT(
nullptr, 0)
85 "GetCompleteViewMapDensityF1D",
103 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
104 GetCompleteViewMapDensityF1D___doc__,
Functions taking 1D input.
IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj)
static int GetCompleteViewMapDensityF1D___init__(BPy_GetCompleteViewMapDensityF1D *self, PyObject *args, PyObject *kwds)
PyTypeObject GetCompleteViewMapDensityF1D_Type
PyDoc_STRVAR(GetCompleteViewMapDensityF1D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > " ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetCompleteViewMapDensityF1D`\n" "\n" ".. method:: __init__(level, integration_type=IntegrationType.MEAN, sampling=2.0)\n" "\n" " Builds a GetCompleteViewMapDensityF1D 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 evaluated for an Interface1D in the complete\n" " viewmap image. The density is evaluated for a set of points along the\n" " Interface1D (using the\n" " :class:`freestyle.functions.ReadCompleteViewMapPixelF0D` functor) and\n" " then integrated into a single value using a user-defined integration\n" " method.\n" "\n" " :arg inter: An Interface1D object.\n" " :type inter: :class:`freestyle.types.Interface1D`\n" " :return: The density evaluated for the Interface1D in the complete\n" " viewmap image.\n" " :rtype: float\n")
PyTypeObject IntegrationType_Type
PyTypeObject UnaryFunction1DDouble_Type