29 GetDirectionalViewMapDensityF1D___doc__,
30 "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
31 ":class:`freestyle.types.UnaryFunction1DDouble` "
32 "> :class:`GetDirectionalViewMapDensityF1D`\n"
34 ".. method:: __init__(orientation, level, integration_type=IntegrationType.MEAN, "
37 " Builds a GetDirectionalViewMapDensityF1D object.\n"
39 " :arg orientation: The number of the directional map we must work\n"
41 " :type orientation: int\n"
42 " :arg level: The level of the pyramid from which the pixel must be\n"
45 " :arg integration_type: The integration method used to compute a single value\n"
46 " from a set of values.\n"
47 " :type integration_type: :class:`freestyle.types.IntegrationType`\n"
48 " :arg sampling: The resolution used to sample the chain: the\n"
49 " corresponding 0D function is evaluated at each sample point and\n"
50 " the result is obtained by combining the resulting values into a\n"
51 " single one, following the method specified by integration_type.\n"
52 " :type sampling: float\n"
54 ".. method:: __call__(inter)\n"
56 " Returns the density evaluated for an Interface1D in of the steerable\n"
57 " viewmaps image. The direction telling which Directional map to choose\n"
58 " is explicitly specified by the user. The density is evaluated for a\n"
59 " set of points along the Interface1D (using the\n"
60 " :class:`freestyle.functions.ReadSteerableViewMapPixelF0D` functor) and\n"
61 " then integrated into a single value using a user-defined integration\n"
64 " :arg inter: An Interface1D object.\n"
65 " :type inter: :class:`freestyle.types.Interface1D`\n"
66 " :return: the density evaluated for an Interface1D in of the\n"
67 " steerable viewmaps image.\n"
74 static const char *kwlist[] = {
"orientation",
"level",
"integration_type",
"sampling",
nullptr};
75 PyObject *obj =
nullptr;
79 if (!PyArg_ParseTupleAndKeywords(
93 PyVarObject_HEAD_INIT(
nullptr, 0)
94 "GetDirectionalViewMapDensityF1D",
112 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
113 GetDirectionalViewMapDensityF1D___doc__,
Functions taking 1D input.
IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj)
PyTypeObject GetDirectionalViewMapDensityF1D_Type
PyDoc_STRVAR(GetDirectionalViewMapDensityF1D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > " ":class:`freestyle.types.UnaryFunction1DDouble` " "> :class:`GetDirectionalViewMapDensityF1D`\n" "\n" ".. method:: __init__(orientation, level, integration_type=IntegrationType.MEAN, " "sampling=2.0)\n" "\n" " Builds a GetDirectionalViewMapDensityF1D object.\n" "\n" " :arg orientation: The number of the directional map we must work\n" " with.\n" " :type orientation: int\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 of the steerable\n" " viewmaps image. The direction telling which Directional map to choose\n" " is explicitly specified by the user. The density is evaluated for a\n" " set of points along the Interface1D (using the\n" " :class:`freestyle.functions.ReadSteerableViewMapPixelF0D` 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 an Interface1D in of the\n" " steerable viewmaps image.\n" " :rtype: float\n")
static int GetDirectionalViewMapDensityF1D___init__(BPy_GetDirectionalViewMapDensityF1D *self, PyObject *args, PyObject *kwds)
PyTypeObject IntegrationType_Type
PyTypeObject UnaryFunction1DDouble_Type