|
Blender V5.3
|
#include "BPy_ViewEdgeIterator.h"#include "../BPy_Convert.h"#include "../Interface1D/BPy_ViewEdge.h"Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (ViewEdgeIterator_doc, "Class hierarchy: :class:`Iterator` > :class:`ViewEdgeIterator`\n" "\n" "Base class for iterators over ViewEdges of the :class:`ViewMap` Graph.\n" "Basically the increment() operator of this class should be able to\n" "take the decision of \"where\" (on which ViewEdge) to go when pointing\n" "on a given ViewEdge.\n" "\n" ".. method:: __init__(*args)\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__(begin=None, orientation=True)``\n" " - ``__init__(brother)``\n" "\n" " Builds a ViewEdgeIterator from a starting ViewEdge and its\n" " orientation or the copy constructor.\n" "\n" " :param begin: The ViewEdge from where to start the iteration.\n" " :type begin: :class:`ViewEdge` | None\n" " :param orientation: If true, we'll look for the next ViewEdge among\n" " the ViewEdges that surround the ending ViewVertex of begin. If\n" " false, we'll search over the ViewEdges surrounding the ending\n" " ViewVertex of begin.\n" " :type orientation: bool\n" " :param brother: A ViewEdgeIterator object.\n" " :type brother: :class:`ViewEdgeIterator`\n") | |
| static int | check_begin (PyObject *obj, void *v) |
| static int | ViewEdgeIterator_init (BPy_ViewEdgeIterator *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (ViewEdgeIterator_change_orientation_doc, ".. method:: change_orientation()\n" "\n" " Changes the current orientation.\n") | |
| static PyObject * | ViewEdgeIterator_change_orientation (BPy_ViewEdgeIterator *self) |
| PyDoc_STRVAR (ViewEdgeIterator_object_doc, "The ViewEdge object currently pointed by this iterator.\n" "\n" ":type: :class:`ViewEdge`\n") | |
| static PyObject * | ViewEdgeIterator_object_get (BPy_ViewEdgeIterator *self, void *) |
| PyDoc_STRVAR (ViewEdgeIterator_current_edge_doc, "The ViewEdge object currently pointed by this iterator.\n" "\n" ":type: :class:`ViewEdge`\n") | |
| static PyObject * | ViewEdgeIterator_current_edge_get (BPy_ViewEdgeIterator *self, void *) |
| static int | ViewEdgeIterator_current_edge_set (BPy_ViewEdgeIterator *self, PyObject *value, void *) |
| PyDoc_STRVAR (ViewEdgeIterator_orientation_doc, "The orientation of the pointed ViewEdge in the iteration.\n" "If true, the iterator looks for the next ViewEdge among those ViewEdges\n" "that surround the ending ViewVertex of the \"begin\" ViewEdge. If false,\n" "the iterator searches over the ViewEdges surrounding the ending ViewVertex\n" "of the \"begin\" ViewEdge.\n" "\n" ":type: bool\n") | |
| static PyObject * | ViewEdgeIterator_orientation_get (BPy_ViewEdgeIterator *self, void *) |
| static int | ViewEdgeIterator_orientation_set (BPy_ViewEdgeIterator *self, PyObject *value, void *) |
| PyDoc_STRVAR (ViewEdgeIterator_begin_doc, "The first ViewEdge used for the iteration.\n" "\n" ":type: :class:`ViewEdge`\n") | |
| static PyObject * | ViewEdgeIterator_begin_get (BPy_ViewEdgeIterator *self, void *) |
| static int | ViewEdgeIterator_begin_set (BPy_ViewEdgeIterator *self, PyObject *value, void *) |
Variables | |
| static PyMethodDef | BPy_ViewEdgeIterator_methods [] |
| static PyGetSetDef | BPy_ViewEdgeIterator_getseters [] |
| PyTypeObject | ViewEdgeIterator_Type |
|
static |
Definition at line 49 of file BPy_ViewEdgeIterator.cpp.
References BPy_ViewEdge_Check, and check_begin().
Referenced by check_begin(), and ViewEdgeIterator_init().
| PyDoc_STRVAR | ( | ViewEdgeIterator_begin_doc | , |
| "The first ViewEdge used for the iteration.\n" "\n" ":type: :class:`ViewEdge`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewEdgeIterator_change_orientation_doc | , |
| ".. method:: change_orientation()\n" "\n" " Changes the current orientation.\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewEdgeIterator_current_edge_doc | , |
| "The ViewEdge object currently pointed by this iterator.\n" "\n" ":type: :class:`ViewEdge`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewEdgeIterator_doc | , |
| "Class hierarchy: :class:`Iterator` | , | ||
| :class:`ViewEdgeIterator`\n" "\n" "Base class for iterators over ViewEdges of the :class:`ViewMap` Graph.\n" "Basically the increment() operator of this class should be able to\n" "take the decision of \"where\" (on which ViewEdge) to go when pointing\n" "on a given ViewEdge.\n" "\n" ".. method:: __init__*args\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__(begin=None, orientation=True)``\n" " - ``__init__(brother)``\n" "\n" " Builds a ViewEdgeIterator from a starting ViewEdge and its\n" " orientation or the copy constructor.\n" "\n" " :param begin: The ViewEdge from where to start the iteration.\n" " :type begin: :class:`ViewEdge` | None\n" " :param orientation: If | true, | ||
| we 'll look for the next ViewEdge among\n" " the ViewEdges that surround the ending ViewVertex of begin. If\n" " | false, | ||
| we 'll search over the ViewEdges surrounding the ending\n" " ViewVertex of begin.\n" " :type orientation:bool\n" " :param brother:A ViewEdgeIterator object.\n" " :type brother::class:`ViewEdgeIterator`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewEdgeIterator_object_doc | , |
| "The ViewEdge object currently pointed by this iterator.\n" "\n" ":type: :class:`ViewEdge`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewEdgeIterator_orientation_doc | , |
| "The orientation of the pointed ViewEdge in the iteration.\n" "If | true, | ||
| the iterator looks for the next ViewEdge among those ViewEdges\n" "that surround the ending ViewVertex of the \"begin\" ViewEdge. If | false, | ||
| \n" "the iterator searches over the ViewEdges surrounding the ending ViewVertex\n" "of the \"begin\" ViewEdge.\n" "\n" ":type: bool\n" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 219 of file BPy_ViewEdgeIterator.cpp.
References BPy_ViewEdge_from_ViewEdge(), BPy_ViewEdgeIterator::ve_it, and ViewEdgeIterator_begin_get().
Referenced by ViewEdgeIterator_begin_get().
|
static |
Definition at line 228 of file BPy_ViewEdgeIterator.cpp.
References BPy_ViewEdge_Check, BPy_ViewEdgeIterator::ve_it, and ViewEdgeIterator_begin_set().
Referenced by ViewEdgeIterator_begin_set().
|
static |
Definition at line 106 of file BPy_ViewEdgeIterator.cpp.
References BPy_ViewEdgeIterator::ve_it, and ViewEdgeIterator_change_orientation().
Referenced by ViewEdgeIterator_change_orientation().
|
static |
Definition at line 165 of file BPy_ViewEdgeIterator.cpp.
References BPy_ViewEdge_from_ViewEdge(), BPy_ViewEdgeIterator::ve_it, and ViewEdgeIterator_current_edge_get().
Referenced by ViewEdgeIterator_current_edge_get().
|
static |
Definition at line 174 of file BPy_ViewEdgeIterator.cpp.
References BPy_ViewEdge_Check, BPy_ViewEdgeIterator::ve_it, and ViewEdgeIterator_current_edge_set().
Referenced by ViewEdgeIterator_current_edge_set().
|
static |
Definition at line 58 of file BPy_ViewEdgeIterator.cpp.
References bool_from_PyBool(), check_begin(), BPy_Iterator::it, BPy_ViewEdgeIterator::py_it, BPy_ViewEdgeIterator::ve_it, ViewEdgeIterator_init(), and ViewEdgeIterator_Type.
Referenced by ViewEdgeIterator_init().
|
static |
Definition at line 146 of file BPy_ViewEdgeIterator.cpp.
References BPy_ViewEdge_from_ViewEdge(), BPy_ViewEdgeIterator::ve_it, and ViewEdgeIterator_object_get().
Referenced by ViewEdgeIterator_object_get().
|
static |
Definition at line 196 of file BPy_ViewEdgeIterator.cpp.
References PyBool_from_bool(), BPy_ViewEdgeIterator::ve_it, and ViewEdgeIterator_orientation_get().
Referenced by ViewEdgeIterator_orientation_get().
|
static |
Definition at line 201 of file BPy_ViewEdgeIterator.cpp.
References bool_from_PyBool(), BPy_ViewEdgeIterator::ve_it, and ViewEdgeIterator_orientation_set().
Referenced by ViewEdgeIterator_orientation_set().
|
static |
Definition at line 240 of file BPy_ViewEdgeIterator.cpp.
|
static |
Definition at line 122 of file BPy_ViewEdgeIterator.cpp.
| PyTypeObject ViewEdgeIterator_Type |
Definition at line 266 of file BPy_ViewEdgeIterator.cpp.
Referenced by BPy_ViewEdgeIterator_from_ViewEdgeIterator(), Iterator_Init(), and ViewEdgeIterator_init().