|
Blender V5.0
|
#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.h"#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__()\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" " :arg brother: A ViewShape object.\n" " :type brother: :class:`ViewShape`\n" " :arg 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" " :arg 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" " :arg 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 of :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 of :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.\n" "\n" ":type: str, or None if the ViewShape is not part of a library.\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" " :arg edge: A ViewEdge object.\n" " :type edge: :class:`ViewEdge`\n" | ) |
| PyDoc_STRVAR | ( | ViewShape_add_vertex_doc | , |
| ".. method:: add_vertex(vertex)\n" "\n" " Adds a ViewVertex to the list of the ViewVertex objects.\n" "\n" " :arg vertex: A ViewVertex object.\n" " :type vertex: :class:`ViewVertex`\n" | ) |
| 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__()\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" " :arg brother:A ViewShape object.\n" " :type brother::class:`ViewShape`\n" " :arg sshape:An SShape object.\n" " :type sshape::class:`SShape`\n" | ) |
| PyDoc_STRVAR | ( | ViewShape_edges_doc | , |
| "The list of ViewEdge objects contained in this ViewShape.\n" "\n" ":type: List of :class:`ViewEdge`\n" | ) |
| PyDoc_STRVAR | ( | ViewShape_library_path_doc | , |
| "The library path of the ViewShape.\n" "\n" ":type: | str, | ||
| or None if the ViewShape is not part of a library.\n" | ) |
| PyDoc_STRVAR | ( | ViewShape_name_doc | , |
| "The name of the ViewShape.\n" "\n" ":type: str\n" | ) |
| PyDoc_STRVAR | ( | ViewShape_sshape_doc | , |
| "The SShape on top of which this ViewShape is built.\n" "\n" ":type: :class:`SShape`\n" | ) |
| PyDoc_STRVAR | ( | ViewShape_vertices_doc | , |
| "The list of ViewVertex objects contained in this ViewShape.\n" "\n" ":type: List of :class:`ViewVertex`\n" | ) |
|
static |
Definition at line 117 of file BPy_ViewShape.cpp.
References self, and ViewEdge_Type.
|
static |
Definition at line 138 of file BPy_ViewShape.cpp.
References self, and ViewVertex_Type.
|
static |
Definition at line 91 of file BPy_ViewShape.cpp.
References Py_DECREF(), and self.
|
static |
Definition at line 267 of file BPy_ViewShape.cpp.
References BPy_ViewEdge_from_ViewEdge(), i, and self.
|
static |
Definition at line 280 of file BPy_ViewShape.cpp.
References BPy_ViewEdge_Check, i, self, and v.
|
static |
Definition at line 333 of file BPy_ViewShape.cpp.
References BPy_Id_from_Id(), and self.
| int ViewShape_Init | ( | PyObject * | module | ) |
Definition at line 26 of file BPy_ViewShape.cpp.
References module, and ViewShape_Type.
Referenced by Freestyle_Init().
|
static |
Definition at line 59 of file BPy_ViewShape.cpp.
References BPy_SShape::borrowed, self, BPy_SShape::ss, SShape_Type, and ViewShape_Type.
|
static |
Definition at line 322 of file BPy_ViewShape.cpp.
References PyC_UnicodeFromStdStr(), and self.
|
static |
Definition at line 311 of file BPy_ViewShape.cpp.
References PyC_UnicodeFromStdStr(), and self.
|
static |
Definition at line 103 of file BPy_ViewShape.cpp.
References self.
|
static |
Definition at line 190 of file BPy_ViewShape.cpp.
References BPy_SShape_from_SShape(), and self.
|
static |
Definition at line 199 of file BPy_ViewShape.cpp.
References BPy_SShape::borrowed, BPy_SShape_Check, Py_DECREF(), self, and BPy_SShape::ss.
|
static |
Definition at line 223 of file BPy_ViewShape.cpp.
References Any_BPy_ViewVertex_from_ViewVertex(), i, and self.
|
static |
Definition at line 236 of file BPy_ViewShape.cpp.
References BPy_ViewVertex_Check, i, self, and v.
|
static |
Definition at line 339 of file BPy_ViewShape.cpp.
|
static |
Definition at line 162 of file BPy_ViewShape.cpp.
| PyTypeObject ViewShape_Type |
Definition at line 367 of file BPy_ViewShape.cpp.
Referenced by BPy_ViewShape_from_ViewShape(), ViewShape_Init(), and ViewShape_init().