25 GetDirectionalViewMapDensityF1D___doc__,
26 "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
27 ":class:`freestyle.types.UnaryFunction1DDouble` "
28 "> :class:`GetDirectionalViewMapDensityF1D`\n"
30 ".. method:: __init__(orientation, level, integration_type=IntegrationType.MEAN, "
33 " Builds a GetDirectionalViewMapDensityF1D object.\n"
35 " :arg orientation: The number of the directional map we must work\n"
37 " :type orientation: int\n"
38 " :arg level: The level of the pyramid from which the pixel must be\n"
41 " :arg integration_type: The integration method used to compute a single value\n"
42 " from a set of values.\n"
43 " :type integration_type: :class:`freestyle.types.IntegrationType`\n"
44 " :arg sampling: The resolution used to sample the chain: the\n"
45 " corresponding 0D function is evaluated at each sample point and\n"
46 " the result is obtained by combining the resulting values into a\n"
47 " single one, following the method specified by integration_type.\n"
48 " :type sampling: float\n"
50 ".. method:: __call__(inter)\n"
52 " Returns the density evaluated for an Interface1D in of the steerable\n"
53 " viewmaps image. The direction telling which Directional map to choose\n"
54 " is explicitly specified by the user. The density is evaluated for a\n"
55 " set of points along the Interface1D (using the\n"
56 " :class:`freestyle.functions.ReadSteerableViewMapPixelF0D` functor) and\n"
57 " then integrated into a single value using a user-defined integration\n"
60 " :arg inter: An Interface1D object.\n"
61 " :type inter: :class:`freestyle.types.Interface1D`\n"
62 " :return: the density evaluated for an Interface1D in of the\n"
63 " steerable viewmaps image.\n"
70 static const char *kwlist[] = {
"orientation",
"level",
"integration_type",
"sampling",
nullptr};
71 PyObject *obj =
nullptr;
75 if (!PyArg_ParseTupleAndKeywords(
89 PyVarObject_HEAD_INIT(
nullptr, 0)
90 "GetDirectionalViewMapDensityF1D",
108 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
109 GetDirectionalViewMapDensityF1D___doc__,
Functions taking 1D input.
IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj)
PyDoc_STRVAR(FalseBP1D___doc__, "Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`FalseBP1D`\n" "\n" ".. method:: __call__(inter1, inter2)\n" "\n" " Always returns false.\n" "\n" " :arg inter1: The first Interface1D object.\n" " :type inter1: :class:`freestyle.types.Interface1D`\n" " :arg inter2: The second Interface1D object.\n" " :type inter2: :class:`freestyle.types.Interface1D`\n" " :return: False.\n" " :rtype: bool\n")
PyTypeObject GetDirectionalViewMapDensityF1D_Type
static int GetDirectionalViewMapDensityF1D___init__(BPy_GetDirectionalViewMapDensityF1D *self, PyObject *args, PyObject *kwds)
PyTypeObject IntegrationType_Type
PyTypeObject UnaryFunction1DDouble_Type
BPy_UnaryFunction1DDouble py_uf1D_double
Freestyle::UnaryFunction1D< double > * uf1D_double