|
Blender V5.3
|
#include "BPy_ViewShape.h"#include "BPy_Convert.h"#include "BPy_SShape.h"#include "Interface0D/BPy_ViewVertex.h"#include "Interface1D/BPy_ViewEdge.h"#include "BLI_sys_types.hh"#include "../generic/py_capi_utils.hh"Go to the source code of this file.
Functions | |
| int | ViewShape_Init (PyObject *module) |
| PyDoc_STRVAR (ViewShape_doc, "Class gathering the elements of the ViewMap (i.e., :class:`ViewVertex`\n" "and :class:`ViewEdge`) that are issued from the same input shape.\n" "\n" ".. method:: __init__(*args)\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__()``\n" " - ``__init__(brother)``\n" " - ``__init__(sshape)``\n" "\n" " Builds a :class:`ViewShape` using the default constructor,\n" " copy constructor, or from a :class:`SShape`.\n" "\n" " :param brother: A ViewShape object.\n" " :type brother: :class:`ViewShape`\n" " :param sshape: An SShape object.\n" " :type sshape: :class:`SShape`\n") | |
| static int | ViewShape_init (BPy_ViewShape *self, PyObject *args, PyObject *kwds) |
| static void | ViewShape_dealloc (BPy_ViewShape *self) |
| static PyObject * | ViewShape_repr (BPy_ViewShape *self) |
| PyDoc_STRVAR (ViewShape_add_edge_doc, ".. method:: add_edge(edge)\n" "\n" " Adds a ViewEdge to the list of ViewEdge objects.\n" "\n" " :param edge: A ViewEdge object.\n" " :type edge: :class:`ViewEdge`\n") | |
| static PyObject * | ViewShape_add_edge (BPy_ViewShape *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (ViewShape_add_vertex_doc, ".. method:: add_vertex(vertex)\n" "\n" " Adds a ViewVertex to the list of the ViewVertex objects.\n" "\n" " :param vertex: A ViewVertex object.\n" " :type vertex: :class:`ViewVertex`\n") | |
| static PyObject * | ViewShape_add_vertex (BPy_ViewShape *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (ViewShape_sshape_doc, "The SShape on top of which this ViewShape is built.\n" "\n" ":type: :class:`SShape`\n") | |
| static PyObject * | ViewShape_sshape_get (BPy_ViewShape *self, void *) |
| static int | ViewShape_sshape_set (BPy_ViewShape *self, PyObject *value, void *) |
| PyDoc_STRVAR (ViewShape_vertices_doc, "The list of ViewVertex objects contained in this ViewShape.\n" "\n" ":type: list[:class:`ViewVertex`]\n") | |
| static PyObject * | ViewShape_vertices_get (BPy_ViewShape *self, void *) |
| static int | ViewShape_vertices_set (BPy_ViewShape *self, PyObject *value, void *) |
| PyDoc_STRVAR (ViewShape_edges_doc, "The list of ViewEdge objects contained in this ViewShape.\n" "\n" ":type: list[:class:`ViewEdge`]\n") | |
| static PyObject * | ViewShape_edges_get (BPy_ViewShape *self, void *) |
| static int | ViewShape_edges_set (BPy_ViewShape *self, PyObject *value, void *) |
| PyDoc_STRVAR (ViewShape_name_doc, "The name of the ViewShape.\n" "\n" ":type: str\n") | |
| static PyObject * | ViewShape_name_get (BPy_ViewShape *self, void *) |
| PyDoc_STRVAR (ViewShape_library_path_doc, "The library path of the ViewShape, or None if the ViewShape is not part of\n" "a library.\n" "\n" ":type: str | None\n") | |
| static PyObject * | ViewShape_library_path_get (BPy_ViewShape *self, void *) |
| PyDoc_STRVAR (ViewShape_id_doc, "The Id of this ViewShape.\n" "\n" ":type: :class:`Id`\n") | |
| static PyObject * | ViewShape_id_get (BPy_ViewShape *self, void *) |
Variables | |
| static PyMethodDef | BPy_ViewShape_methods [] |
| static PyGetSetDef | BPy_ViewShape_getseters [] |
| PyTypeObject | ViewShape_Type |
| PyDoc_STRVAR | ( | ViewShape_add_edge_doc | , |
| ".. method:: add_edge(edge)\n" "\n" " Adds a ViewEdge to the list of ViewEdge objects.\n" "\n" " :param edge: A ViewEdge object.\n" " :type edge: :class:`ViewEdge`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewShape_add_vertex_doc | , |
| ".. method:: add_vertex(vertex)\n" "\n" " Adds a ViewVertex to the list of the ViewVertex objects.\n" "\n" " :param vertex: A ViewVertex object.\n" " :type vertex: :class:`ViewVertex`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewShape_doc | , |
| "Class gathering the elements of the ViewMap (i.e., :class:`ViewVertex`\n" "and :class:`ViewEdge`) that are issued from the same input shape.\n" "\n" ".. method:: __init__*args\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__()``\n" " - ``__init__(brother)``\n" " - ``__init__(sshape)``\n" "\n" " Builds a :class:`ViewShape` using the default | constructor, | ||
| \n" " copy | constructor, | ||
| or from a :class:`SShape`.\n" "\n" " :param brother:A ViewShape object.\n" " :type brother::class:`ViewShape`\n" " :param sshape:An SShape object.\n" " :type sshape::class:`SShape`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewShape_edges_doc | , |
| "The list of ViewEdge objects contained in this ViewShape.\n" "\n" ":type: list\n" | [:class:`ViewEdge`] ) |
References PyDoc_STRVAR().
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewShape_library_path_doc | , |
| "The library path of the | ViewShape, | ||
| or None if the ViewShape is not part of\n" "a library.\n" "\n" ":type:str|None\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewShape_name_doc | , |
| "The name of the ViewShape.\n" "\n" ":type: str\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewShape_sshape_doc | , |
| "The SShape on top of which this ViewShape is built.\n" "\n" ":type: :class:`SShape`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | ViewShape_vertices_doc | , |
| "The list of ViewVertex objects contained in this ViewShape.\n" "\n" ":type: list\n" | [:class:`ViewVertex`] ) |
References PyDoc_STRVAR().
|
static |
Definition at line 135 of file BPy_ViewShape.cpp.
References Freestyle::ViewShape::AddEdge(), ViewEdge_Type, ViewShape_add_edge(), and BPy_ViewShape::vs.
Referenced by ViewShape_add_edge().
|
static |
Definition at line 163 of file BPy_ViewShape.cpp.
References Freestyle::ViewShape::AddVertex(), ViewShape_add_vertex(), ViewVertex_Type, and BPy_ViewShape::vs.
Referenced by ViewShape_add_vertex().
|
static |
Definition at line 109 of file BPy_ViewShape.cpp.
References BPy_ViewShape::borrowed, BPy_ViewShape::py_ss, Freestyle::ViewShape::setSShape(), ViewShape_dealloc(), and BPy_ViewShape::vs.
Referenced by ViewShape_dealloc().
|
static |
Definition at line 299 of file BPy_ViewShape.cpp.
References BPy_ViewEdge_from_ViewEdge(), Freestyle::ViewShape::edges(), ViewShape_edges_get(), and BPy_ViewShape::vs.
Referenced by ViewShape_edges_get().
|
static |
Definition at line 312 of file BPy_ViewShape.cpp.
References BPy_ViewEdge_Check, Freestyle::ViewShape::setEdges(), ViewShape_edges_set(), and BPy_ViewShape::vs.
Referenced by ViewShape_edges_set().
|
static |
Definition at line 366 of file BPy_ViewShape.cpp.
References BPy_Id_from_Id(), Freestyle::ViewShape::getId(), ViewShape_id_get(), and BPy_ViewShape::vs.
Referenced by ViewShape_id_get().
| int ViewShape_Init | ( | PyObject * | module | ) |
Definition at line 26 of file BPy_ViewShape.cpp.
References ViewShape_Init(), and ViewShape_Type.
Referenced by Freestyle_Init(), and ViewShape_Init().
|
static |
Definition at line 63 of file BPy_ViewShape.cpp.
References BPy_SShape::borrowed, BPy_ViewShape::borrowed, BPy_ViewShape::py_ss, BPy_SShape::ss, SShape_Type, Freestyle::ViewShape::ViewShape(), ViewShape_init(), ViewShape_Type, and BPy_ViewShape::vs.
Referenced by ViewShape_init().
|
static |
Definition at line 355 of file BPy_ViewShape.cpp.
References Freestyle::ViewShape::getLibraryPath(), blender::PyC_UnicodeFromStdStr(), ViewShape_library_path_get(), and BPy_ViewShape::vs.
Referenced by ViewShape_library_path_get().
|
static |
Definition at line 343 of file BPy_ViewShape.cpp.
References Freestyle::ViewShape::getName(), blender::PyC_UnicodeFromStdStr(), ViewShape_name_get(), and BPy_ViewShape::vs.
Referenced by ViewShape_name_get().
|
static |
Definition at line 121 of file BPy_ViewShape.cpp.
References ViewShape_repr(), and BPy_ViewShape::vs.
Referenced by ViewShape_repr().
|
static |
Definition at line 222 of file BPy_ViewShape.cpp.
References BPy_SShape_from_SShape(), Freestyle::ViewShape::sshape(), ViewShape_sshape_get(), and BPy_ViewShape::vs.
Referenced by ViewShape_sshape_get().
|
static |
Definition at line 231 of file BPy_ViewShape.cpp.
References BPy_SShape::borrowed, BPy_SShape_Check, BPy_ViewShape::py_ss, Freestyle::ViewShape::setSShape(), BPy_SShape::ss, ViewShape_sshape_set(), and BPy_ViewShape::vs.
Referenced by ViewShape_sshape_set().
|
static |
Definition at line 255 of file BPy_ViewShape.cpp.
References Any_BPy_ViewVertex_from_ViewVertex(), Freestyle::ViewShape::vertices(), ViewShape_vertices_get(), and BPy_ViewShape::vs.
Referenced by ViewShape_vertices_get().
|
static |
Definition at line 268 of file BPy_ViewShape.cpp.
References BPy_ViewVertex_Check, Freestyle::ViewShape::setVertices(), ViewShape_vertices_set(), and BPy_ViewShape::vs.
Referenced by ViewShape_vertices_set().
|
static |
Definition at line 372 of file BPy_ViewShape.cpp.
|
static |
Definition at line 194 of file BPy_ViewShape.cpp.
| PyTypeObject ViewShape_Type |
Definition at line 400 of file BPy_ViewShape.cpp.
Referenced by BPy_ViewShape_from_ViewShape(), ViewShape_Init(), and ViewShape_init().