28 ViewMapGradientNormBP1D___doc__,
29 "Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > "
30 ":class:`ViewMapGradientNormBP1D`\n"
32 ".. method:: __init__(level, integration_type=IntegrationType.MEAN, sampling=2.0)\n"
34 " Builds a ViewMapGradientNormBP1D object.\n"
36 " :arg level: The level of the pyramid from which the pixel must be\n"
39 " :arg integration_type: The integration method used to compute a single value\n"
40 " from a set of values.\n"
41 " :type integration_type: :class:`freestyle.types.IntegrationType`\n"
42 " :arg sampling: The resolution used to sample the chain:\n"
43 " GetViewMapGradientNormF0D is evaluated at each sample point and\n"
44 " the result is obtained by combining the resulting values into a\n"
45 " single one, following the method specified by integration_type.\n"
46 " :type sampling: float\n"
48 ".. method:: __call__(inter1, inter2)\n"
50 " Returns true if the evaluation of the Gradient norm Function is\n"
51 " higher for inter1 than for inter2.\n"
53 " :arg inter1: The first Interface1D object.\n"
54 " :type inter1: :class:`freestyle.types.Interface1D`\n"
55 " :arg inter2: The second Interface1D object.\n"
56 " :type inter2: :class:`freestyle.types.Interface1D`\n"
57 " :return: True or false.\n"
64 static const char *kwlist[] = {
"level",
"integration_type",
"sampling",
nullptr};
65 PyObject *obj =
nullptr;
69 if (!PyArg_ParseTupleAndKeywords(
82 PyVarObject_HEAD_INIT(
nullptr, 0)
83 "ViewMapGradientNormBP1D",
101 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
102 ViewMapGradientNormBP1D___doc__,
PyTypeObject BinaryPredicate1D_Type
IntegrationType IntegrationType_from_BPy_IntegrationType(PyObject *obj)
PyTypeObject IntegrationType_Type
static int ViewMapGradientNormBP1D___init__(BPy_ViewMapGradientNormBP1D *self, PyObject *args, PyObject *kwds)
PyTypeObject ViewMapGradientNormBP1D_Type
PyDoc_STRVAR(ViewMapGradientNormBP1D___doc__, "Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > " ":class:`ViewMapGradientNormBP1D`\n" "\n" ".. method:: __init__(level, integration_type=IntegrationType.MEAN, sampling=2.0)\n" "\n" " Builds a ViewMapGradientNormBP1D 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:\n" " GetViewMapGradientNormF0D 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__(inter1, inter2)\n" "\n" " Returns true if the evaluation of the Gradient norm Function is\n" " higher for inter1 than for inter2.\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: True or false.\n" " :rtype: bool\n")