23 GetSteerableViewMapDensityF1D___doc__,
24 "Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > "
25 ":class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetSteerableViewMapDensityF1D`\n"
27 ".. method:: __init__(level, integration_type=IntegrationType.MEAN, sampling=2.0)\n"
29 " Builds a GetSteerableViewMapDensityF1D object.\n"
31 " :arg level: The level of the pyramid from which the pixel must be\n"
34 " :arg integration_type: The integration method used to compute a single value\n"
35 " from a set of values.\n"
36 " :type integration_type: :class:`freestyle.types.IntegrationType`\n"
37 " :arg sampling: The resolution used to sample the chain: the\n"
38 " corresponding 0D function is evaluated at each sample point and\n"
39 " the result is obtained by combining the resulting values into a\n"
40 " single one, following the method specified by integration_type.\n"
41 " :type sampling: float\n"
43 ".. method:: __call__(inter)\n"
45 " Returns the density of the ViewMap for a given Interface1D. The\n"
46 " density of each :class:`freestyle.types.FEdge` is evaluated in the\n"
47 " proper steerable :class:`freestyle.types.ViewMap` depending on its\n"
50 " :arg inter: An Interface1D object.\n"
51 " :type inter: :class:`freestyle.types.Interface1D`\n"
52 " :return: The density of the ViewMap for a given Interface1D.\n"
59 static const char *kwlist[] = {
"level",
"integration_type",
"sampling",
nullptr};
60 PyObject *obj =
nullptr;
64 if (!PyArg_ParseTupleAndKeywords(
77 PyVarObject_HEAD_INIT(
nullptr, 0)
78 "GetSteerableViewMapDensityF1D",
96 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
97 GetSteerableViewMapDensityF1D___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 GetSteerableViewMapDensityF1D_Type
static int GetSteerableViewMapDensityF1D___init__(BPy_GetSteerableViewMapDensityF1D *self, PyObject *args, PyObject *kwds)
PyTypeObject IntegrationType_Type
PyTypeObject UnaryFunction1DDouble_Type
BPy_UnaryFunction1DDouble py_uf1D_double
Freestyle::UnaryFunction1D< double > * uf1D_double