|
Blender V4.5
|
#include "BPy_Iterator.h"#include "BPy_Convert.h"#include "Iterator/BPy_AdjacencyIterator.h"#include "Iterator/BPy_ChainPredicateIterator.h"#include "Iterator/BPy_ChainSilhouetteIterator.h"#include "Iterator/BPy_ChainingIterator.h"#include "Iterator/BPy_CurvePointIterator.h"#include "Iterator/BPy_Interface0DIterator.h"#include "Iterator/BPy_SVertexIterator.h"#include "Iterator/BPy_StrokeVertexIterator.h"#include "Iterator/BPy_ViewEdgeIterator.h"#include "Iterator/BPy_orientedViewEdgeIterator.h"Go to the source code of this file.
Functions | |
| int | Iterator_Init (PyObject *module) |
| PyDoc_STRVAR (Iterator_doc, "Base class to define iterators.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.") | |
| static int | Iterator_init (BPy_Iterator *self, PyObject *args, PyObject *kwds) |
| static void | Iterator_dealloc (BPy_Iterator *self) |
| static PyObject * | Iterator_repr (BPy_Iterator *self) |
| PyDoc_STRVAR (Iterator_increment_doc, ".. method:: increment()\n" "\n" " Makes the iterator point the next element.") | |
| static PyObject * | Iterator_increment (BPy_Iterator *self) |
| PyDoc_STRVAR (Iterator_decrement_doc, ".. method:: decrement()\n" "\n" " Makes the iterator point the previous element.") | |
| static PyObject * | Iterator_decrement (BPy_Iterator *self) |
| PyDoc_STRVAR (Iterator_name_doc, "The string of the name of this iterator.\n" "\n" ":type: str") | |
| static PyObject * | Iterator_name_get (BPy_Iterator *self, void *) |
| PyDoc_STRVAR (Iterator_is_begin_doc, "True if the iterator points to the first element.\n" "\n" ":type: bool") | |
| static PyObject * | Iterator_is_begin_get (BPy_Iterator *self, void *) |
| PyDoc_STRVAR (Iterator_is_end_doc, "True if the iterator points to the last element.\n" "\n" ":type: bool") | |
| static PyObject * | Iterator_is_end_get (BPy_Iterator *self, void *) |
Variables | |
| static PyMethodDef | BPy_Iterator_methods [] |
| static PyGetSetDef | BPy_Iterator_getseters [] |
| PyTypeObject | Iterator_Type |
|
static |
Definition at line 117 of file BPy_Iterator.cpp.
References BPy_Iterator::it, and Iterator_dealloc().
Referenced by Iterator_dealloc().
|
static |
Definition at line 152 of file BPy_Iterator.cpp.
References Freestyle::Iterator::decrement(), Freestyle::Iterator::isBegin(), BPy_Iterator::it, and Iterator_decrement().
Referenced by Iterator_decrement().
|
static |
Definition at line 135 of file BPy_Iterator.cpp.
References Freestyle::Iterator::increment(), Freestyle::Iterator::isEnd(), BPy_Iterator::it, and Iterator_increment().
Referenced by Iterator_increment().
| int Iterator_Init | ( | PyObject * | module | ) |
Definition at line 28 of file BPy_Iterator.cpp.
References AdjacencyIterator_Type, ChainingIterator_Type, ChainPredicateIterator_Type, ChainSilhouetteIterator_Type, CurvePointIterator_Type, Interface0DIterator_Type, Iterator_Init(), Iterator_Type, orientedViewEdgeIterator_Type, StrokeVertexIterator_Type, SVertexIterator_Type, and ViewEdgeIterator_Type.
Referenced by Freestyle_Init(), and Iterator_Init().
|
static |
Definition at line 106 of file BPy_Iterator.cpp.
References BPy_Iterator::it, and Iterator_init().
Referenced by Iterator_init().
|
static |
Definition at line 207 of file BPy_Iterator.cpp.
References Freestyle::Iterator::isBegin(), BPy_Iterator::it, Iterator_is_begin_get(), and PyBool_from_bool().
Referenced by Iterator_is_begin_get().
|
static |
Definition at line 219 of file BPy_Iterator.cpp.
References Freestyle::Iterator::isEnd(), BPy_Iterator::it, Iterator_is_end_get(), and PyBool_from_bool().
Referenced by Iterator_is_end_get().
|
static |
Definition at line 195 of file BPy_Iterator.cpp.
References Iterator_name_get().
Referenced by Iterator_name_get().
|
static |
Definition at line 123 of file BPy_Iterator.cpp.
References BPy_Iterator::it, and Iterator_repr().
Referenced by Iterator_repr().
| PyDoc_STRVAR | ( | Iterator_decrement_doc | , |
| ".. method:: decrement()\n" "\n" " Makes the iterator point the previous element." | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | Iterator_doc | , |
| "Base class to define iterators.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor." | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | Iterator_increment_doc | , |
| ".. method:: increment()\n" "\n" " Makes the iterator point the next element." | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | Iterator_is_begin_doc | , |
| "True if the iterator points to the first element.\n" "\n" ":type: bool" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | Iterator_is_end_doc | , |
| "True if the iterator points to the last element.\n" "\n" ":type: bool" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | Iterator_name_doc | , |
| "The string of the name of this iterator.\n" "\n" ":type: str" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 224 of file BPy_Iterator.cpp.
|
static |
Definition at line 172 of file BPy_Iterator.cpp.
| PyTypeObject Iterator_Type |
Definition at line 233 of file BPy_Iterator.cpp.
Referenced by Iterator_Init().