|
Blender V4.5
|
#include "BPy_ViewVertex.h"#include "../BPy_Convert.h"#include "../BPy_Nature.h"#include "../Interface1D/BPy_ViewEdge.h"Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (ViewVertex_doc, "Class hierarchy: :class:`Interface0D` > :class:`ViewVertex`\n" "\n" "Class to define a view vertex. A view vertex is a feature vertex\n" "corresponding to a point of the image graph, where the characteristics\n" "of an edge (e.g., nature and visibility) might change. A\n" ":class:`ViewVertex` can be of two kinds: A :class:`TVertex` when it\n" "corresponds to the intersection between two ViewEdges or a\n" ":class:`NonTVertex` when it corresponds to a vertex of the initial\n" "input mesh (it is the case for vertices such as corners for example).\n" "Thus, this class can be specialized into two classes, the\n" ":class:`TVertex` class and the :class:`NonTVertex` class.") | |
| static int | ViewVertex_init (BPy_ViewVertex *, PyObject *, PyObject *) |
| PyDoc_STRVAR (ViewVertex_edges_begin_doc, ".. method:: edges_begin()\n" "\n" " Returns an iterator over the ViewEdges that goes to or comes from\n" " this ViewVertex pointing to the first ViewEdge of the list. The\n" " orientedViewEdgeIterator allows to iterate in CCW order over these\n" " ViewEdges and to get the orientation for each ViewEdge\n" " (incoming/outgoing).\n" "\n" " :return: An orientedViewEdgeIterator pointing to the first ViewEdge.\n" " :rtype: :class:`orientedViewEdgeIterator`") | |
| static PyObject * | ViewVertex_edges_begin (BPy_ViewVertex *self) |
| PyDoc_STRVAR (ViewVertex_edges_end_doc, ".. method:: edges_end()\n" "\n" " Returns an orientedViewEdgeIterator over the ViewEdges around this\n" " ViewVertex, pointing after the last ViewEdge.\n" "\n" " :return: An orientedViewEdgeIterator pointing after the last ViewEdge.\n" " :rtype: :class:`orientedViewEdgeIterator`") | |
| static PyObject * | ViewVertex_edges_end (BPy_ViewVertex *) |
| PyDoc_STRVAR (ViewVertex_edges_iterator_doc, ".. method:: edges_iterator(edge)\n" "\n" " Returns an orientedViewEdgeIterator pointing to the ViewEdge given\n" " as argument.\n" "\n" " :arg edge: A ViewEdge object.\n" " :type edge: :class:`ViewEdge`\n" " :return: An orientedViewEdgeIterator pointing to the given ViewEdge.\n" " :rtype: :class:`orientedViewEdgeIterator`") | |
| static PyObject * | ViewVertex_edges_iterator (BPy_ViewVertex *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (ViewVertex_nature_doc, "The nature of this ViewVertex.\n" "\n" ":type: :class:`Nature`") | |
| static PyObject * | ViewVertex_nature_get (BPy_ViewVertex *self, void *) |
| static int | ViewVertex_nature_set (BPy_ViewVertex *self, PyObject *value, void *) |
Variables | |
| static PyMethodDef | BPy_ViewVertex_methods [] |
| static PyGetSetDef | BPy_ViewVertex_getseters [] |
| PyTypeObject | ViewVertex_Type |
| PyDoc_STRVAR | ( | ViewVertex_doc | , |
| "Class hierarchy: :class:`Interface0D` | , | ||
| :class:`ViewVertex`\n" "\n" "Class to define a view vertex. A view vertex is a feature vertex\n" "corresponding to a point of the image | graph, | ||
| where the characteristics\n" "of an edge(e.g., nature and visibility) might change. A\n" ":class:`ViewVertex` can be of two kinds:A :class:`TVertex` when it\n" "corresponds to the intersection between two ViewEdges or a\n" ":class:`NonTVertex` when it corresponds to a vertex of the initial\n" "input mesh(it is the case for vertices such as corners for example).\n" " | Thus, | ||
| this class can be specialized into two | classes, | ||
| the\n" ":class:`TVertex` class and the :class:`NonTVertex` class." | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewVertex_edges_begin_doc | , |
| ".. method:: edges_begin()\n" "\n" " Returns an iterator over the ViewEdges that goes to or comes from\n" " this ViewVertex pointing to the first ViewEdge of the list. The\n" " orientedViewEdgeIterator allows to iterate in CCW order over these\n" " ViewEdges and to get the orientation for each ViewEdge\n" " (incoming/outgoing).\n" "\n" " :return: An orientedViewEdgeIterator pointing to the first ViewEdge.\n" " :rtype: :class:`orientedViewEdgeIterator`" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewVertex_edges_end_doc | , |
| ".. method:: edges_end()\n" "\n" " Returns an orientedViewEdgeIterator over the ViewEdges around this\n" " | ViewVertex, | ||
| pointing after the last ViewEdge.\n" "\n" " :return:An orientedViewEdgeIterator pointing after the last ViewEdge.\n" " :rtype::class:`orientedViewEdgeIterator`" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewVertex_edges_iterator_doc | , |
| ".. method:: edges_iterator(edge)\n" "\n" " Returns an orientedViewEdgeIterator pointing to the ViewEdge given\n" " as argument.\n" "\n" " :arg edge: A ViewEdge object.\n" " :type edge: :class:`ViewEdge`\n" " :return: An orientedViewEdgeIterator pointing to the given ViewEdge.\n" " :rtype: :class:`orientedViewEdgeIterator`" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewVertex_nature_doc | , |
| "The nature of this ViewVertex.\n" "\n" ":type: :class:`Nature`" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 56 of file BPy_ViewVertex.cpp.
References BPy_orientedViewEdgeIterator_from_orientedViewEdgeIterator(), Freestyle::ViewVertex::edgesBegin(), ViewVertex_edges_begin(), and BPy_ViewVertex::vv.
Referenced by ViewVertex_edges_begin().
|
static |
Definition at line 73 of file BPy_ViewVertex.cpp.
References BPy_orientedViewEdgeIterator_from_orientedViewEdgeIterator(), and ViewVertex_edges_end().
Referenced by ViewVertex_edges_end().
|
static |
Definition at line 97 of file BPy_ViewVertex.cpp.
References BPy_orientedViewEdgeIterator_from_orientedViewEdgeIterator(), Freestyle::ViewVertex::edgesIterator(), ViewEdge_Type, ViewVertex_edges_iterator(), and BPy_ViewVertex::vv.
Referenced by ViewVertex_edges_iterator().
|
static |
Definition at line 36 of file BPy_ViewVertex.cpp.
References ViewVertex_init().
Referenced by ViewVertex_init().
|
static |
Definition at line 147 of file BPy_ViewVertex.cpp.
References BPy_Nature_from_Nature(), Freestyle::ViewVertex::getNature(), ViewVertex_nature_get(), and BPy_ViewVertex::vv.
Referenced by ViewVertex_nature_get().
|
static |
Definition at line 156 of file BPy_ViewVertex.cpp.
References BPy_Nature_Check, i, Freestyle::ViewVertex::setNature(), ViewVertex_nature_set(), and BPy_ViewVertex::vv.
Referenced by ViewVertex_nature_set().
|
static |
Definition at line 166 of file BPy_ViewVertex.cpp.
|
static |
Definition at line 120 of file BPy_ViewVertex.cpp.
| PyTypeObject ViewVertex_Type |
Definition at line 177 of file BPy_ViewVertex.cpp.
Referenced by AdjacencyIterator_init(), BPy_ViewVertex_from_ViewVertex(), Interface0D_Init(), and ViewShape_add_vertex().