Blender V4.3
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
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15using namespace Freestyle;
16
18
19//------------------------INSTANCE METHODS ----------------------------------
20
22 /* Wrap. */
23 QuantitativeInvisibilityUP1D___doc__,
24 "Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > "
25 ":class:`QuantitativeInvisibilityUP1D`\n"
26 "\n"
27 ".. method:: __init__(qi=0)\n"
28 "\n"
29 " Builds a QuantitativeInvisibilityUP1D object.\n"
30 "\n"
31 " :arg qi: The Quantitative Invisibility you want the Interface1D to\n"
32 " have.\n"
33 " :type qi: int\n"
34 "\n"
35 ".. method:: __call__(inter)\n"
36 "\n"
37 " Returns true if the Quantitative Invisibility evaluated at an\n"
38 " Interface1D, using the\n"
39 " :class:`freestyle.functions.QuantitativeInvisibilityF1D` functor,\n"
40 " equals a certain user-defined value.\n"
41 "\n"
42 " :arg inter: An Interface1D object.\n"
43 " :type inter: :class:`freestyle.types.Interface1D`\n"
44 " :return: True if Quantitative Invisibility equals a user-defined\n"
45 " value.\n"
46 " :rtype: bool\n");
47
49 PyObject *args,
50 PyObject *kwds)
51{
52 static const char *kwlist[] = {"qi", nullptr};
53 int i = 0;
54
55 if (!PyArg_ParseTupleAndKeywords(args, kwds, "|i", (char **)kwlist, &i)) {
56 return -1;
57 }
59 return 0;
60}
61
62/*-----------------------BPy_QuantitativeInvisibilityUP1D type definition -----------------------*/
63
65 /*ob_base*/ PyVarObject_HEAD_INIT(nullptr, 0)
66 /*tp_name*/ "QuantitativeInvisibilityUP1D",
67 /*tp_basicsize*/ sizeof(BPy_QuantitativeInvisibilityUP1D),
68 /*tp_itemsize*/ 0,
69 /*tp_dealloc*/ nullptr,
70 /*tp_vectorcall_offset*/ 0,
71 /*tp_getattr*/ nullptr,
72 /*tp_setattr*/ nullptr,
73 /*tp_as_async*/ nullptr,
74 /*tp_repr*/ nullptr,
75 /*tp_as_number*/ nullptr,
76 /*tp_as_sequence*/ nullptr,
77 /*tp_as_mapping*/ nullptr,
78 /*tp_hash*/ nullptr,
79 /*tp_call*/ nullptr,
80 /*tp_str*/ nullptr,
81 /*tp_getattro*/ nullptr,
82 /*tp_setattro*/ nullptr,
83 /*tp_as_buffer*/ nullptr,
84 /*tp_flags*/ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
85 /*tp_doc*/ QuantitativeInvisibilityUP1D___doc__,
86 /*tp_traverse*/ nullptr,
87 /*tp_clear*/ nullptr,
88 /*tp_richcompare*/ nullptr,
89 /*tp_weaklistoffset*/ 0,
90 /*tp_iter*/ nullptr,
91 /*tp_iternext*/ nullptr,
92 /*tp_methods*/ nullptr,
93 /*tp_members*/ nullptr,
94 /*tp_getset*/ nullptr,
95 /*tp_base*/ &UnaryPredicate1D_Type,
96 /*tp_dict*/ nullptr,
97 /*tp_descr_get*/ nullptr,
98 /*tp_descr_set*/ nullptr,
99 /*tp_dictoffset*/ 0,
100 /*tp_init*/ (initproc)QuantitativeInvisibilityUP1D___init__,
101 /*tp_alloc*/ nullptr,
102 /*tp_new*/ nullptr,
103};
104
106
107#ifdef __cplusplus
108}
109#endif
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