|
Blender V4.5
|
#include "BPy_AdjacencyIterator.h"#include "../BPy_Convert.h"#include "../Interface0D/BPy_ViewVertex.h"Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (AdjacencyIterator_doc, "Class hierarchy: :class:`Iterator` > :class:`AdjacencyIterator`\n" "\n" "Class for representing adjacency iterators used in the chaining\n" "process. An AdjacencyIterator is created in the increment() and\n" "decrement() methods of a :class:`ChainingIterator` and passed to the\n" "traverse() method of the ChainingIterator.\n" "\n" ".. method:: __init__()\n" " __init__(brother)\n" " __init__(vertex, restrict_to_selection=True, restrict_to_unvisited=True)\n" "\n" " Builds an :class:`AdjacencyIterator` using the default constructor,\n" " copy constructor or the overloaded constructor.\n" "\n" " :arg brother: An AdjacencyIterator object.\n" " :type brother: :class:`AdjacencyIterator`\n" " :arg vertex: The vertex which is the next crossing.\n" " :type vertex: :class:`ViewVertex`\n" " :arg restrict_to_selection: Indicates whether to force the chaining\n" " to stay within the set of selected ViewEdges or not.\n" " :type restrict_to_selection: bool\n" " :arg restrict_to_unvisited: Indicates whether a ViewEdge that has\n" " already been chained must be ignored ot not.\n" " :type restrict_to_unvisited: bool") | |
| static int | AdjacencyIterator_init (BPy_AdjacencyIterator *self, PyObject *args, PyObject *kwds) |
| static PyObject * | AdjacencyIterator_iter (BPy_AdjacencyIterator *self) |
| static PyObject * | AdjacencyIterator_iternext (BPy_AdjacencyIterator *self) |
| PyDoc_STRVAR (AdjacencyIterator_object_doc, "The ViewEdge object currently pointed to by this iterator.\n" "\n" ":type: :class:`ViewEdge`") | |
| static PyObject * | AdjacencyIterator_object_get (BPy_AdjacencyIterator *self, void *) |
| PyDoc_STRVAR (AdjacencyIterator_is_incoming_doc, "True if the current ViewEdge is coming towards the iteration vertex, and\n" "False otherwise.\n" "\n" ":type: bool") | |
| static PyObject * | AdjacencyIterator_is_incoming_get (BPy_AdjacencyIterator *self, void *) |
Variables | |
| static PyGetSetDef | BPy_AdjacencyIterator_getseters [] |
| PyTypeObject | AdjacencyIterator_Type |
|
static |
Definition at line 48 of file BPy_AdjacencyIterator.cpp.
References BPy_AdjacencyIterator::a_it, Freestyle::AdjacencyIterator::AdjacencyIterator(), AdjacencyIterator_init(), AdjacencyIterator_Type, BPy_AdjacencyIterator::at_start, bool_from_PyBool(), BPy_Iterator::it, BPy_AdjacencyIterator::py_it, and ViewVertex_Type.
Referenced by AdjacencyIterator_init().
|
static |
Definition at line 151 of file BPy_AdjacencyIterator.cpp.
References BPy_AdjacencyIterator::a_it, AdjacencyIterator_is_incoming_get(), and PyBool_from_bool().
Referenced by AdjacencyIterator_is_incoming_get().
|
static |
Definition at line 94 of file BPy_AdjacencyIterator.cpp.
References AdjacencyIterator_iter(), and BPy_AdjacencyIterator::at_start.
Referenced by AdjacencyIterator_iter().
|
static |
Definition at line 101 of file BPy_AdjacencyIterator.cpp.
References BPy_AdjacencyIterator::a_it, AdjacencyIterator_iternext(), BPy_AdjacencyIterator::at_start, and BPy_ViewEdge_from_ViewEdge().
Referenced by AdjacencyIterator_iternext().
|
static |
Definition at line 130 of file BPy_AdjacencyIterator.cpp.
References BPy_AdjacencyIterator::a_it, AdjacencyIterator_object_get(), and BPy_ViewEdge_from_ViewEdge().
Referenced by AdjacencyIterator_object_get().
| PyDoc_STRVAR | ( | AdjacencyIterator_doc | , |
| "Class hierarchy: :class:`Iterator` | , | ||
| :class:`AdjacencyIterator`\n" "\n" "Class for representing adjacency iterators used in the chaining\n" "process. An AdjacencyIterator is created in the increment() and\n" "decrement() methods of a :class:`ChainingIterator` and passed to the\n" "traverse() method of the ChainingIterator.\n" "\n" ".. method::__init__()\n" " __init__(brother)\n" " __init__(vertex, restrict_to_selection=True, restrict_to_unvisited=True)\n" "\n" " Builds an :class:`AdjacencyIterator` using the default | constructor, | ||
| \n" " copy constructor or the overloaded constructor.\n" "\n" " :arg brother:An AdjacencyIterator object.\n" " :type brother::class:`AdjacencyIterator`\n" " :arg vertex:The vertex which is the next crossing.\n" " :type vertex::class:`ViewVertex`\n" " :arg restrict_to_selection:Indicates whether to force the chaining\n" " to stay within the set of selected ViewEdges or not.\n" " :type restrict_to_selection:bool\n" " :arg restrict_to_unvisited:Indicates whether a ViewEdge that has\n" " already been chained must be ignored ot not.\n" " :type restrict_to_unvisited:bool" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | AdjacencyIterator_is_incoming_doc | , |
| "True if the current ViewEdge is coming towards the iteration | vertex, | ||
| and\n" "False otherwise.\n" "\n" ":type:bool" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | AdjacencyIterator_object_doc | , |
| "The ViewEdge object currently pointed to by this iterator.\n" "\n" ":type: :class:`ViewEdge`" | ) |
References PyDoc_STRVAR().
| PyTypeObject AdjacencyIterator_Type |
Definition at line 176 of file BPy_AdjacencyIterator.cpp.
Referenced by AdjacencyIterator_init(), BPy_AdjacencyIterator_from_AdjacencyIterator(), ChainingIterator_traverse(), and Iterator_Init().
|
static |
Definition at line 160 of file BPy_AdjacencyIterator.cpp.