|
Blender V5.3
|
#include "BPy_ChainSilhouetteIterator.h"#include "../BPy_Convert.h"#include "../Interface1D/BPy_ViewEdge.h"Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (ChainSilhouetteIterator_doc, "Class hierarchy: :class:`freestyle.types.Iterator` >\n" ":class:`freestyle.types.ViewEdgeIterator` >\n" ":class:`freestyle.types.ChainingIterator` >\n" ":class:`ChainSilhouetteIterator`\n" "\n" "A ViewEdge Iterator used to follow ViewEdges the most naturally. For\n" "example, it will follow visible ViewEdges of same nature. As soon, as\n" "the nature or the visibility changes, the iteration stops (by setting\n" "the pointed ViewEdge to 0). In the case of an iteration over a set of\n" "ViewEdge that are both Silhouette and Crease, there will be a\n" "precedence of the silhouette over the crease criterion.\n" "\n" ".. method:: __init__(*args)\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__(restrict_to_selection=True, begin=None, orientation=True)``\n" " - ``__init__(brother)``\n" "\n" " Builds a ChainSilhouetteIterator from the first ViewEdge used for\n" " iteration and its orientation or the copy constructor.\n" "\n" " :param 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" " :param begin: The ViewEdge from where to start the iteration.\n" " :type begin: :class:`freestyle.types.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 ChainSilhouetteIterator object.\n" " :type brother: :class:`ChainSilhouetteIterator`\n") | |
| static int | check_begin (PyObject *obj, void *v) |
| static int | ChainSilhouetteIterator_init (BPy_ChainSilhouetteIterator *self, PyObject *args, PyObject *kwds) |
Variables | |
| PyTypeObject | ChainSilhouetteIterator_Type |
|
static |
Definition at line 69 of file BPy_ChainSilhouetteIterator.cpp.
References bool_from_PyBool(), BPy_ChainingIterator::c_it, Freestyle::ChainSilhouetteIterator::ChainSilhouetteIterator(), ChainSilhouetteIterator_init(), ChainSilhouetteIterator_Type, check_begin(), BPy_ChainSilhouetteIterator::cs_it, BPy_Iterator::it, BPy_ChainSilhouetteIterator::py_c_it, BPy_ViewEdgeIterator::py_it, BPy_ChainingIterator::py_ve_it, and BPy_ViewEdgeIterator::ve_it.
Referenced by ChainSilhouetteIterator_init().
|
static |
Definition at line 60 of file BPy_ChainSilhouetteIterator.cpp.
References BPy_ViewEdge_Check, and check_begin().
Referenced by ChainSilhouetteIterator_init(), and check_begin().
| PyDoc_STRVAR | ( | ChainSilhouetteIterator_doc | , |
| "Class hierarchy: :class:`freestyle.types.Iterator` | , | ||
| \n" ":class:`freestyle.types.ViewEdgeIterator` | , | ||
| \n" ":class:`freestyle.types.ChainingIterator` | , | ||
| \n" ":class:`ChainSilhouetteIterator`\n" "\n" "A ViewEdge Iterator used to follow ViewEdges the most naturally. For\n" " | example, | ||
| it will follow visible ViewEdges of same nature. As | soon, | ||
| as\n" "the nature or the visibility | changes, | ||
| the iteration stops(by setting\n" "the pointed ViewEdge to 0). In the case of an iteration over a set of\n" "ViewEdge that are both Silhouette and | Crease, | ||
| there will be a\n" "precedence of the silhouette over the crease criterion.\n" "\n" ".. method::__init__ *args\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__(restrict_to_selection=True, begin=None, orientation=True)``\n" " - ``__init__(brother)``\n" "\n" " Builds a ChainSilhouetteIterator from the first ViewEdge used for\n" " iteration and its orientation or the copy constructor.\n" "\n" " :param 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" " :param begin:The ViewEdge from where to start the iteration.\n" " :type begin::class:`freestyle.types.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 ChainSilhouetteIterator object.\n" " :type brother::class:`ChainSilhouetteIterator`\n" | ) |
References PyDoc_STRVAR().
| PyTypeObject ChainSilhouetteIterator_Type |
Definition at line 121 of file BPy_ChainSilhouetteIterator.cpp.
Referenced by BPy_ChainSilhouetteIterator_from_ChainSilhouetteIterator(), ChainSilhouetteIterator_init(), and Iterator_Init().