|
Blender V5.3
|
#include "BPy_SShape.h"#include "BPy_BBox.h"#include "BPy_Convert.h"#include "BPy_Id.h"#include "Interface0D/BPy_SVertex.h"#include "Interface1D/BPy_FEdge.h"#include "BLI_sys_types.hh"#include "../generic/py_capi_utils.hh"Go to the source code of this file.
Functions | |
| int | SShape_Init (PyObject *module) |
| PyDoc_STRVAR (SShape_doc, "Class to define a feature shape. It is the gathering of feature\n" "elements from an identified input shape.\n" "\n" ".. method:: __init__(*args)\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__()``\n" " - ``__init__(brother)``\n" "\n" " Creates a :class:`SShape` class using either a default constructor or copy constructor.\n" "\n" " :param brother: An SShape object.\n" " :type brother: :class:`SShape`\n") | |
| static int | SShape_init (BPy_SShape *self, PyObject *args, PyObject *kwds) |
| static void | SShape_dealloc (BPy_SShape *self) |
| static PyObject * | SShape_repr (BPy_SShape *self) |
| static PyObject * | SShape_add_edge (BPy_SShape *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (SShape_add_vertex_doc, ".. method:: add_vertex(vertex)\n" "\n" " Adds an SVertex to the list of SVertex of this Shape. The SShape\n" " attribute of the SVertex is also set to this SShape.\n" "\n" " :param vertex: An SVertex object.\n" " :type vertex: :class:`SVertex`\n") | |
| static PyObject * | SShape_add_vertex (BPy_SShape *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (SShape_compute_bbox_doc, ".. method:: compute_bbox()\n" "\n" " Compute the bbox of the SShape.\n") | |
| static PyObject * | SShape_compute_bbox (BPy_SShape *self) |
| PyDoc_STRVAR (SShape_id_doc, "The Id of this SShape.\n" "\n" ":type: :class:`Id`\n") | |
| static PyObject * | SShape_id_get (BPy_SShape *self, void *) |
| static int | SShape_id_set (BPy_SShape *self, PyObject *value, void *) |
| PyDoc_STRVAR (SShape_name_doc, "The name of the SShape.\n" "\n" ":type: str\n") | |
| static PyObject * | SShape_name_get (BPy_SShape *self, void *) |
| static int | SShape_name_set (BPy_SShape *self, PyObject *value, void *) |
| PyDoc_STRVAR (SShape_bbox_doc, "The bounding box of the SShape.\n" "\n" ":type: :class:`BBox`\n") | |
| static PyObject * | SShape_bbox_get (BPy_SShape *self, void *) |
| static int | SShape_bbox_set (BPy_SShape *self, PyObject *value, void *) |
| PyDoc_STRVAR (SShape_vertices_doc, "The list of vertices constituting this SShape.\n" "\n" ":type: list[:class:`SVertex`]\n") | |
| static PyObject * | SShape_vertices_get (BPy_SShape *self, void *) |
| PyDoc_STRVAR (SShape_edges_doc, "The list of edges constituting this SShape.\n" "\n" ":type: list[:class:`FEdge`]\n") | |
| static PyObject * | SShape_edges_get (BPy_SShape *self, void *) |
Variables | |
| static char | SShape_add_edge_doc [] |
| static PyMethodDef | BPy_SShape_methods [] |
| static PyGetSetDef | BPy_SShape_getseters [] |
| PyTypeObject | SShape_Type |
| PyDoc_STRVAR | ( | SShape_add_vertex_doc | , |
| ".. method:: add_vertex(vertex)\n" "\n" " Adds an SVertex to the list of SVertex of this Shape. The SShape\n" " attribute of the SVertex is also set to this SShape.\n" "\n" " :param vertex: An SVertex object.\n" " :type vertex: :class:`SVertex`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | SShape_bbox_doc | , |
| "The bounding box of the SShape.\n" "\n" ":type: :class:`BBox`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | SShape_compute_bbox_doc | , |
| ".. method:: compute_bbox()\n" "\n" " Compute the bbox of the SShape.\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | SShape_doc | , |
| "Class to define a feature shape. It is the gathering of feature\n" "elements from an identified input shape.\n" "\n" ".. method:: __init__*args\n" "\n" " Accepted call signatures:\n" "\n" " - ``__init__()``\n" " - ``__init__(brother)``\n" "\n" " Creates a :class:`SShape` class using either a default constructor or copy constructor.\n" "\n" " :param brother: An SShape object.\n" " :type brother: :class:`SShape`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | SShape_edges_doc | , |
| "The list of edges constituting this SShape.\n" "\n" ":type: list\n" | [:class:`FEdge`] ) |
References PyDoc_STRVAR().
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | SShape_name_doc | , |
| "The name of the SShape.\n" "\n" ":type: str\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | SShape_vertices_doc | , |
| "The list of vertices constituting this SShape.\n" "\n" ":type: list\n" | [:class:`SVertex`] ) |
References PyDoc_STRVAR().
|
static |
Definition at line 106 of file BPy_SShape.cpp.
References Freestyle::SShape::AddEdge(), FEdge_Type, BPy_SShape::ss, and SShape_add_edge().
Referenced by SShape_add_edge().
|
static |
Definition at line 135 of file BPy_SShape.cpp.
References Freestyle::SShape::AddNewVertex(), BPy_SShape::ss, SShape_add_vertex(), and SVertex_Type.
Referenced by SShape_add_vertex().
|
static |
Definition at line 250 of file BPy_SShape.cpp.
References Freestyle::SShape::bbox(), BPy_BBox_from_BBox(), BPy_SShape::ss, and SShape_bbox_get().
Referenced by SShape_bbox_get().
|
static |
Definition at line 256 of file BPy_SShape.cpp.
References BPy_BBox_Check, Freestyle::SShape::setBBox(), BPy_SShape::ss, and SShape_bbox_set().
Referenced by SShape_bbox_set().
|
static |
Definition at line 160 of file BPy_SShape.cpp.
References Freestyle::SShape::ComputeBBox(), BPy_SShape::ss, and SShape_compute_bbox().
Referenced by SShape_compute_bbox().
|
static |
Definition at line 85 of file BPy_SShape.cpp.
References BPy_SShape::borrowed, BPy_SShape::ss, and SShape_dealloc().
Referenced by SShape_dealloc().
|
static |
Definition at line 293 of file BPy_SShape.cpp.
References Any_BPy_FEdge_from_FEdge(), Freestyle::SShape::getEdgeList(), BPy_SShape::ss, and SShape_edges_get().
Referenced by SShape_edges_get().
|
static |
Definition at line 206 of file BPy_SShape.cpp.
References BPy_Id_from_Id(), Freestyle::SShape::getId(), BPy_SShape::ss, and SShape_id_get().
Referenced by SShape_id_get().
|
static |
Definition at line 212 of file BPy_SShape.cpp.
References BPy_Id_Check, Freestyle::SShape::setId(), BPy_SShape::ss, and SShape_id_set().
Referenced by SShape_id_set().
| int SShape_Init | ( | PyObject * | module | ) |
Definition at line 26 of file BPy_SShape.cpp.
References SShape_Init(), and SShape_Type.
Referenced by Freestyle_Init(), and SShape_Init().
|
static |
Definition at line 59 of file BPy_SShape.cpp.
References BPy_SShape::borrowed, BPy_SShape::ss, Freestyle::SShape::SShape(), SShape_init(), and SShape_Type.
Referenced by SShape_init().
|
static |
Definition at line 228 of file BPy_SShape.cpp.
References Freestyle::SShape::getName(), blender::PyC_UnicodeFromStdStr(), BPy_SShape::ss, and SShape_name_get().
Referenced by SShape_name_get().
|
static |
Definition at line 233 of file BPy_SShape.cpp.
References Freestyle::SShape::setName(), BPy_SShape::ss, and SShape_name_set().
Referenced by SShape_name_set().
|
static |
Definition at line 93 of file BPy_SShape.cpp.
References BPy_SShape::ss, and SShape_repr().
Referenced by SShape_repr().
|
static |
Definition at line 272 of file BPy_SShape.cpp.
References BPy_SVertex_from_SVertex(), Freestyle::SShape::getVertexList(), BPy_SShape::ss, and SShape_vertices_get().
Referenced by SShape_vertices_get().
|
static |
Definition at line 308 of file BPy_SShape.cpp.
|
static |
Definition at line 180 of file BPy_SShape.cpp.
|
static |
Definition at line 98 of file BPy_SShape.cpp.
| PyTypeObject SShape_Type |
Definition at line 319 of file BPy_SShape.cpp.
Referenced by BPy_SShape_from_SShape(), SShape_Init(), SShape_init(), and ViewShape_init().