|
Blender V4.5
|
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__(brother)\n" " __init__(it)\n" "\n" " Construct a nested Interface0DIterator using either the copy constructor\n" " or the constructor that takes an he argument of a Function0D.\n" "\n" " :arg brother: An Interface0DIterator object.\n" " :type brother: :class:`Interface0DIterator`\n" " :arg it: An iterator object to be nested.\n" " :type it: :class:`SVertexIterator`, :class:`CurvePointIterator`, or\n" " :class:`StrokeVertexIterator`") | |
| 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. Note that the object\n" "may be an instance of an Interface0D subclass. For example if the iterator\n" "has been created from the `vertices_begin()` method of the :class:`Stroke`\n" "class, the .object property refers to a :class:`StrokeVertex` object.\n" "\n" ":type: :class:`Interface0D` or one of its subclasses.") | |
| 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") | |
| 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") | |
| 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") | |
| static PyObject * | Interface0DIterator_at_last_get (BPy_Interface0DIterator *self, void *) |
Variables | |
| static PyGetSetDef | BPy_Interface0DIterator_getseters [] |
| PyTypeObject | Interface0DIterator_Type |
|
static |
Definition at line 40 of file BPy_Interface0DIterator.cpp.
References BPy_Iterator_Check, convert_nested_it(), and v.
Referenced by convert_nested_it(), and Interface0DIterator_init().
|
static |
Definition at line 182 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 54 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 93 of file BPy_Interface0DIterator.cpp.
References BPy_Interface0DIterator::at_start, and Interface0DIterator_iter().
Referenced by Interface0DIterator_iter().
|
static |
Definition at line 100 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 141 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 157 of file BPy_Interface0DIterator.cpp.
References BPy_Interface0DIterator::if0D_it, and Interface0DIterator_t_get().
Referenced by Interface0DIterator_t_get().
|
static |
Definition at line 169 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" | ) |
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__(brother)\n" " __init__(it)\n" "\n" " Construct a nested Interface0DIterator using either the copy constructor\n" " or the constructor that takes an he argument of a Function0D.\n" "\n" " :arg brother:An Interface0DIterator object.\n" " :type brother::class:`Interface0DIterator`\n" " :arg it:An iterator object to be nested.\n" " :type it::class:`SVertexIterator` | , | ||
| :class:`CurvePointIterator` | , | ||
| or\n" " :class:`StrokeVertexIterator`" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | Interface0DIterator_object_doc | , |
| "The 0D object currently pointed to by this iterator. Note that the object\n" "may be an instance of an Interface0D subclass. For example if the iterator\n" "has been created from the `vertices_begin()` method of the :class:`Stroke`\n" " | class, | ||
| the .object property refers to a :class:`StrokeVertex` object.\n" "\n" ":type::class:`Interface0D` or one of its subclasses." | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | Interface0DIterator_t_doc | , |
| "The curvilinear abscissa of the current point.\n" "\n" ":type: float" | ) |
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" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 187 of file BPy_Interface0DIterator.cpp.
| PyTypeObject Interface0DIterator_Type |
Definition at line 205 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__().