Blender  V3.3
Functions | Variables
BPy_ChainSilhouetteIterator.cpp File Reference
#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
 

Function Documentation

◆ ChainSilhouetteIterator_init()

static int ChainSilhouetteIterator_init ( BPy_ChainSilhouetteIterator self,
PyObject *  args,
PyObject *  kwds 
)
static

◆ check_begin()

static int check_begin ( PyObject *  obj,
void v 
)
static

Definition at line 57 of file BPy_ChainSilhouetteIterator.cpp.

References BPy_ViewEdge_Check, and v.

Referenced by ChainSilhouetteIterator_init().

◆ PyDoc_STRVAR()

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`"   
)

Variable Documentation

◆ ChainSilhouetteIterator_Type

PyTypeObject ChainSilhouetteIterator_Type