Go to the source code of this file.
◆ PyDoc_STRVAR() [1/2]
| PyDoc_STRVAR |
( |
UnaryPredicate1D___doc__ | , |
|
|
"Base class for unary predicates that work on :class:`Interface1D`. A\n" "UnaryPredicate1D is a functor that evaluates a condition on a\n" "Interface1D and returns true or false depending on whether this\n" "condition is satisfied or not. The UnaryPredicate1D is used by\n" "invoking its __call__() method. Any inherited class must overload the\n" "__call__() method.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n" "\n" ".. method:: __call__(inter)\n" "\n" " Must be overload by inherited classes.\n" "\n" " :arg inter: The Interface1D on which we wish to evaluate the predicate.\n" " :type inter: :class:`Interface1D`\n" " :return: True if the condition is | satisfied, |
|
|
false otherwise.\n" " :rtype:bool\n" | ) |
◆ PyDoc_STRVAR() [2/2]
| PyDoc_STRVAR |
( |
UnaryPredicate1D_name_doc | , |
|
|
"The name of the unary 1D predicate.\n" "\n" ":type: str" | ) |
◆ UnaryPredicate1D___call__()
| static PyObject * UnaryPredicate1D___call__ |
( |
BPy_UnaryPredicate1D * | self, |
|
|
PyObject * | args, |
|
|
PyObject * | kwds ) |
|
static |
◆ UnaryPredicate1D___dealloc__()
◆ UnaryPredicate1D___init__()
| static int UnaryPredicate1D___init__ |
( |
BPy_UnaryPredicate1D * | self, |
|
|
PyObject * | args, |
|
|
PyObject * | kwds ) |
|
static |
◆ UnaryPredicate1D___repr__()
◆ UnaryPredicate1D_Init()
| int UnaryPredicate1D_Init |
( |
PyObject * | module | ) |
|
Definition at line 30 of file BPy_UnaryPredicate1D.cpp.
References ContourUP1D_Type, DensityLowerThanUP1D_Type, EqualToChainingTimeStampUP1D_Type, EqualToTimeStampUP1D_Type, ExternalContourUP1D_Type, FalseUP1D_Type, module, QuantitativeInvisibilityUP1D_Type, ShapeUP1D_Type, TrueUP1D_Type, UnaryPredicate1D_Type, and WithinImageBoundaryUP1D_Type.
Referenced by Freestyle_Init().
◆ UnaryPredicate1D_name_get()
◆ BPy_UnaryPredicate1D_getseters
| PyGetSetDef BPy_UnaryPredicate1D_getseters[] |
|
static |
Initial value:= {
{"name",
(setter) nullptr,
UnaryPredicate1D_name_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * UnaryPredicate1D_name_get(BPy_UnaryPredicate1D *self, void *)
Definition at line 192 of file BPy_UnaryPredicate1D.cpp.
◆ UnaryPredicate1D_Type
| PyTypeObject UnaryPredicate1D_Type |