Blender V5.0
BPy_QuantitativeInvisibilityUP1D.cpp
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2004-2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
10
11using namespace Freestyle;
12
14
15//------------------------INSTANCE METHODS ----------------------------------
16
18 /* Wrap. */
19 QuantitativeInvisibilityUP1D___doc__,
20 "Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > "
21 ":class:`QuantitativeInvisibilityUP1D`\n"
22 "\n"
23 ".. method:: __init__(qi=0)\n"
24 "\n"
25 " Builds a QuantitativeInvisibilityUP1D object.\n"
26 "\n"
27 " :arg qi: The Quantitative Invisibility you want the Interface1D to\n"
28 " have.\n"
29 " :type qi: int\n"
30 "\n"
31 ".. method:: __call__(inter)\n"
32 "\n"
33 " Returns true if the Quantitative Invisibility evaluated at an\n"
34 " Interface1D, using the\n"
35 " :class:`freestyle.functions.QuantitativeInvisibilityF1D` functor,\n"
36 " equals a certain user-defined value.\n"
37 "\n"
38 " :arg inter: An Interface1D object.\n"
39 " :type inter: :class:`freestyle.types.Interface1D`\n"
40 " :return: True if Quantitative Invisibility equals a user-defined\n"
41 " value.\n"
42 " :rtype: bool\n");
44 PyObject *args,
45 PyObject *kwds)
46{
47 static const char *kwlist[] = {"qi", nullptr};
48 int i = 0;
49
50 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|i", (char **)kwlist, &i)) {
51 return -1;
52 }
54 return 0;
55}
56
57/*-----------------------BPy_QuantitativeInvisibilityUP1D type definition -----------------------*/
58
60 /*ob_base*/ PyVarObject_HEAD_INIT(nullptr, 0)
61 /*tp_name*/ "QuantitativeInvisibilityUP1D",
62 /*tp_basicsize*/ sizeof(BPy_QuantitativeInvisibilityUP1D),
63 /*tp_itemsize*/ 0,
64 /*tp_dealloc*/ nullptr,
65 /*tp_vectorcall_offset*/ 0,
66 /*tp_getattr*/ nullptr,
67 /*tp_setattr*/ nullptr,
68 /*tp_as_async*/ nullptr,
69 /*tp_repr*/ nullptr,
70 /*tp_as_number*/ nullptr,
71 /*tp_as_sequence*/ nullptr,
72 /*tp_as_mapping*/ nullptr,
73 /*tp_hash*/ nullptr,
74 /*tp_call*/ nullptr,
75 /*tp_str*/ nullptr,
76 /*tp_getattro*/ nullptr,
77 /*tp_setattro*/ nullptr,
78 /*tp_as_buffer*/ nullptr,
79 /*tp_flags*/ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
80 /*tp_doc*/ QuantitativeInvisibilityUP1D___doc__,
81 /*tp_traverse*/ nullptr,
82 /*tp_clear*/ nullptr,
83 /*tp_richcompare*/ nullptr,
84 /*tp_weaklistoffset*/ 0,
85 /*tp_iter*/ nullptr,
86 /*tp_iternext*/ nullptr,
87 /*tp_methods*/ nullptr,
88 /*tp_members*/ nullptr,
89 /*tp_getset*/ nullptr,
90 /*tp_base*/ &UnaryPredicate1D_Type,
91 /*tp_dict*/ nullptr,
92 /*tp_descr_get*/ nullptr,
93 /*tp_descr_set*/ nullptr,
94 /*tp_dictoffset*/ 0,
95 /*tp_init*/ (initproc)QuantitativeInvisibilityUP1D___init__,
96 /*tp_alloc*/ nullptr,
97 /*tp_new*/ nullptr,
98};
99
PyDoc_STRVAR(QuantitativeInvisibilityUP1D___doc__, "Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > " ":class:`QuantitativeInvisibilityUP1D`\n" "\n" ".. method:: __init__(qi=0)\n" "\n" " Builds a QuantitativeInvisibilityUP1D object.\n" "\n" " :arg qi: The Quantitative Invisibility you want the Interface1D to\n" " have.\n" " :type qi: int\n" "\n" ".. method:: __call__(inter)\n" "\n" " Returns true if the Quantitative Invisibility evaluated at an\n" " Interface1D, using the\n" " :class:`freestyle.functions.QuantitativeInvisibilityF1D` functor,\n" " equals a certain user-defined value.\n" "\n" " :arg inter: An Interface1D object.\n" " :type inter: :class:`freestyle.types.Interface1D`\n" " :return: True if Quantitative Invisibility equals a user-defined\n" " value.\n" " :rtype: bool\n")
static int QuantitativeInvisibilityUP1D___init__(BPy_QuantitativeInvisibilityUP1D *self, PyObject *args, PyObject *kwds)
PyTypeObject QuantitativeInvisibilityUP1D_Type
PyTypeObject UnaryPredicate1D_Type
PyObject * self
inherits from class Rep
Definition AppCanvas.cpp:20
i
Definition text_draw.cc:230