|
Blender V5.3
|
Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (Interface0DIterator_doc, "Class hierarchy: :class:`Iterator` > :class:`Interface0DIterator`\n" "\n" "Class defining an iterator over Interface0D elements. An instance of\n" "this iterator is always obtained from a 1D element.\n" "\n" ".. method:: __init__(*args)\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__(brother)``\n" " - ``__init__(it)``\n" "\n" " Construct a nested Interface0DIterator using either the copy constructor\n" " or the constructor that takes an argument of a Function0D.\n" "\n" " :param brother: An Interface0DIterator object.\n" " :type brother: :class:`Interface0DIterator`\n" " :param it: An iterator object to be nested.\n" " :type it: :class:`SVertexIterator` | :class:`CurvePointIterator` | " ":class:`StrokeVertexIterator`\n") | |
| static int | convert_nested_it (PyObject *obj, void *v) |
| static int | Interface0DIterator_init (BPy_Interface0DIterator *self, PyObject *args, PyObject *kwds) |
| static PyObject * | Interface0DIterator_iter (BPy_Interface0DIterator *self) |
| static PyObject * | Interface0DIterator_iternext (BPy_Interface0DIterator *self) |
| PyDoc_STRVAR (Interface0DIterator_object_doc, "The 0D object currently pointed to by this iterator. The object may be an\n" "instance of :class:`Interface0D` or one of its subclasses. For example if\n" "the iterator has been created from the `vertices_begin()` method of the\n" ":class:`Stroke` class, the .object property refers to a :class:`StrokeVertex`\n" "object.\n" "\n" ":type: :class:`Interface0D`\n") | |
| static PyObject * | Interface0DIterator_object_get (BPy_Interface0DIterator *self, void *) |
| PyDoc_STRVAR (Interface0DIterator_t_doc, "The curvilinear abscissa of the current point.\n" "\n" ":type: float\n") | |
| static PyObject * | Interface0DIterator_t_get (BPy_Interface0DIterator *self, void *) |
| PyDoc_STRVAR (Interface0DIterator_u_doc, "The point parameter at the current point in the 1D element (0 <= u <= 1).\n" "\n" ":type: float\n") | |
| static PyObject * | Interface0DIterator_u_get (BPy_Interface0DIterator *self, void *) |
| PyDoc_STRVAR (Interface0DIterator_at_last_doc, "True if the iterator points to the last valid element.\n" "For its counterpart (pointing to the first valid element), use it.is_begin.\n" "\n" ":type: bool\n") | |
| static PyObject * | Interface0DIterator_at_last_get (BPy_Interface0DIterator *self, void *) |
Variables | |
| static PyGetSetDef | BPy_Interface0DIterator_getseters [] |
| PyTypeObject | Interface0DIterator_Type |
|
static |
Definition at line 43 of file BPy_Interface0DIterator.cpp.
References BPy_Iterator_Check, and convert_nested_it().
Referenced by convert_nested_it(), and Interface0DIterator_init().
|
static |
Definition at line 197 of file BPy_Interface0DIterator.cpp.
References BPy_Interface0DIterator::if0D_it, Interface0DIterator_at_last_get(), and PyBool_from_bool().
Referenced by Interface0DIterator_at_last_get().
|
static |
Definition at line 57 of file BPy_Interface0DIterator.cpp.
References BPy_Interface0DIterator::at_start, convert_nested_it(), BPy_Interface0DIterator::if0D_it, Freestyle::Interface0DIterator::Interface0DIterator(), Interface0DIterator_init(), Interface0DIterator_Type, Interface1D_Type, BPy_Iterator::it, BPy_Interface0DIterator::py_it, and BPy_Interface0DIterator::reversed.
Referenced by Interface0DIterator_init().
|
static |
Definition at line 111 of file BPy_Interface0DIterator.cpp.
References BPy_Interface0DIterator::at_start, and Interface0DIterator_iter().
Referenced by Interface0DIterator_iter().
|
static |
Definition at line 118 of file BPy_Interface0DIterator.cpp.
References Any_BPy_Interface0D_from_Interface0D(), BPy_Interface0DIterator::at_start, BPy_Interface0DIterator::if0D_it, Interface0DIterator_iternext(), and BPy_Interface0DIterator::reversed.
Referenced by Interface0DIterator_iternext().
|
static |
Definition at line 159 of file BPy_Interface0DIterator.cpp.
References Any_BPy_Interface0D_from_Interface0D(), BPy_Interface0DIterator::if0D_it, and Interface0DIterator_object_get().
Referenced by Interface0DIterator_object_get().
|
static |
Definition at line 174 of file BPy_Interface0DIterator.cpp.
References BPy_Interface0DIterator::if0D_it, and Interface0DIterator_t_get().
Referenced by Interface0DIterator_t_get().
|
static |
Definition at line 185 of file BPy_Interface0DIterator.cpp.
References BPy_Interface0DIterator::if0D_it, and Interface0DIterator_u_get().
Referenced by Interface0DIterator_u_get().
| PyDoc_STRVAR | ( | Interface0DIterator_at_last_doc | , |
| "True if the iterator points to the last valid element.\n" "For its counterpart | pointing to the first valid element, | ||
| use it.is_begin.\n" "\n" ":type:bool\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | Interface0DIterator_doc | , |
| "Class hierarchy: :class:`Iterator` | , | ||
| :class:`Interface0DIterator`\n" "\n" "Class defining an iterator over Interface0D elements. An instance of\n" "this iterator is always obtained from a 1D element.\n" "\n" ".. method::__init__ *args\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__(brother)``\n" " - ``__init__(it)``\n" "\n" " Construct a nested Interface0DIterator using either the copy constructor\n" " or the constructor that takes an argument of a Function0D.\n" "\n" " :param brother:An Interface0DIterator object.\n" " :type brother::class:`Interface0DIterator`\n" " :param it:An iterator object to be nested.\n" " :type it::class:`SVertexIterator`|:class:`CurvePointIterator`|" ":class:`StrokeVertexIterator`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | Interface0DIterator_object_doc | , |
| "The 0D object currently pointed to by this iterator. The object may be an\n" "instance of :class:`Interface0D` or one of its subclasses. For example if\n" "the iterator has been created from the `vertices_begin()` method of the\n" ":class:`Stroke` | class, | ||
| the .object property refers to a :class:`StrokeVertex`\n" "object.\n" "\n" ":type::class:`Interface0D`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | Interface0DIterator_t_doc | , |
| "The curvilinear abscissa of the current point.\n" "\n" ":type: float\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | Interface0DIterator_u_doc | , |
| "The point parameter at the current point in the 1D element (0 <= u <= 1).\n" "\n" ":type: float\n" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 202 of file BPy_Interface0DIterator.cpp.
| PyTypeObject Interface0DIterator_Type |
Definition at line 220 of file BPy_Interface0DIterator.cpp.
Referenced by BPy_Interface0DIterator_from_Interface0DIterator(), Integrator_integrate(), Interface0DIterator_init(), Iterator_Init(), UnaryFunction0DDouble___call__(), UnaryFunction0DEdgeNature___call__(), UnaryFunction0DFloat___call__(), UnaryFunction0DId___call__(), UnaryFunction0DMaterial___call__(), UnaryFunction0DUnsigned___call__(), UnaryFunction0DVec2f___call__(), UnaryFunction0DVec3f___call__(), UnaryFunction0DVectorViewShape___call__(), UnaryFunction0DViewShape___call__(), and UnaryPredicate0D___call__().