Blender
V3.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__(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" " :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 begin: The ViewEdge from where to start the iteration.\n" " :type begin: :class:`freestyle.types.ViewEdge` or None\n" " :arg 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" " :arg brother: A ChainSilhouetteIterator object.\n" " :type brother: :class:`ChainSilhouetteIterator`") | |
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 66 of file BPy_ChainSilhouetteIterator.cpp.
References bool_from_PyBool(), ChainSilhouetteIterator_Type, and check_begin().
|
static |
Definition at line 57 of file BPy_ChainSilhouetteIterator.cpp.
References BPy_ViewEdge_Check, and v.
Referenced by ChainSilhouetteIterator_init().
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__(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" " :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 begin:The ViewEdge from where to start the iteration.\n" " :type begin::class:`freestyle.types.ViewEdge` or None\n" " :arg 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" " :arg brother:A ChainSilhouetteIterator object.\n" " :type brother::class:`ChainSilhouetteIterator`" | |||
) |
PyTypeObject ChainSilhouetteIterator_Type |
Definition at line 107 of file BPy_ChainSilhouetteIterator.cpp.
Referenced by BPy_ChainSilhouetteIterator_from_ChainSilhouetteIterator(), ChainSilhouetteIterator_init(), and Iterator_Init().