|
Blender V5.3
|
#include "BPy_FEdge.h"#include "../BPy_Convert.h"#include "../BPy_Id.h"#include "../BPy_Nature.h"#include "../Interface0D/BPy_SVertex.h"#include "../Interface1D/BPy_ViewEdge.h"Go to the source code of this file.
Functions | |
| PyDoc_STRVAR (FEdge_doc, "Class hierarchy: :class:`Interface1D` > :class:`FEdge`\n" "\n" "Base Class for feature edges. This FEdge can represent a silhouette,\n" "a crease, a ridge/valley, a border or a suggestive contour. For\n" "silhouettes, the FEdge is oriented so that the visible face lies on\n" "the left of the edge. For borders, the FEdge is oriented so that the\n" "face lies on the left of the edge. An FEdge can represent an initial\n" "edge of the mesh or runs across a face of the initial mesh depending\n" "on the smoothness or sharpness of the mesh. This class is specialized\n" "into a smooth and a sharp version since their properties slightly vary\n" "from one to the other.\n" "\n" ".. method:: FEdge(*args)\n" "\n" " Accepted call signatures:\n" "\n" " - ``FEdge()``\n" " - ``FEdge(brother)``\n" "\n" " Builds an :class:`FEdge` using the default constructor,\n" " copy constructor, or between two :class:`SVertex` objects.\n" "\n" " :param brother: An FEdge object.\n" " :type brother: :class:`FEdge`\n" " :param first_vertex: The first SVertex.\n" " :type first_vertex: :class:`SVertex`\n" " :param second_vertex: The second SVertex.\n" " :type second_vertex: :class:`SVertex`\n") | |
| static int | FEdge_init (BPy_FEdge *self, PyObject *args, PyObject *kwds) |
| static Py_ssize_t | FEdge_sq_length (BPy_FEdge *) |
| static PyObject * | FEdge_sq_item (BPy_FEdge *self, Py_ssize_t keynum) |
| PyDoc_STRVAR (FEdge_first_svertex_doc, "The first SVertex constituting this FEdge.\n" "\n" ":type: :class:`SVertex`\n") | |
| static PyObject * | FEdge_first_svertex_get (BPy_FEdge *self, void *) |
| static int | FEdge_first_svertex_set (BPy_FEdge *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdge_second_svertex_doc, "The second SVertex constituting this FEdge.\n" "\n" ":type: :class:`SVertex`\n") | |
| static PyObject * | FEdge_second_svertex_get (BPy_FEdge *self, void *) |
| static int | FEdge_second_svertex_set (BPy_FEdge *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdge_next_fedge_doc, "The FEdge following this one in the ViewEdge. The value is None if\n" "this FEdge is the last of the ViewEdge.\n" "\n" ":type: :class:`FEdge`\n") | |
| static PyObject * | FEdge_next_fedge_get (BPy_FEdge *self, void *) |
| static int | FEdge_next_fedge_set (BPy_FEdge *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdge_previous_fedge_doc, "The FEdge preceding this one in the ViewEdge. The value is None if\n" "this FEdge is the first one of the ViewEdge.\n" "\n" ":type: :class:`FEdge`\n") | |
| static PyObject * | FEdge_previous_fedge_get (BPy_FEdge *self, void *) |
| static int | FEdge_previous_fedge_set (BPy_FEdge *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdge_viewedge_doc, "The ViewEdge to which this FEdge belongs to.\n" "\n" ":type: :class:`ViewEdge`\n") | |
| static PyObject * | FEdge_viewedge_get (BPy_FEdge *self, void *) |
| static int | FEdge_viewedge_set (BPy_FEdge *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdge_is_smooth_doc, "True if this FEdge is a smooth FEdge.\n" "\n" ":type: bool\n") | |
| static PyObject * | FEdge_is_smooth_get (BPy_FEdge *self, void *) |
| static int | FEdge_is_smooth_set (BPy_FEdge *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdge_id_doc, "The Id of this FEdge.\n" "\n" ":type: :class:`Id`\n") | |
| static PyObject * | FEdge_id_get (BPy_FEdge *self, void *) |
| static int | FEdge_id_set (BPy_FEdge *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdge_nature_doc, "The nature of this FEdge.\n" "\n" ":type: :class:`Nature`\n") | |
| static PyObject * | FEdge_nature_get (BPy_FEdge *self, void *) |
| static int | FEdge_nature_set (BPy_FEdge *self, PyObject *value, void *) |
Variables | |
| static PySequenceMethods | BPy_FEdge_as_sequence |
| static PyGetSetDef | BPy_FEdge_getseters [] |
| PyTypeObject | FEdge_Type |
|
static |
Definition at line 143 of file BPy_FEdge.cpp.
References A, BPy_SVertex_from_SVertex(), BPy_FEdge::fe, FEdge_first_svertex_get(), and Freestyle::FEdge::vertexA().
Referenced by FEdge_first_svertex_get().
|
static |
Definition at line 152 of file BPy_FEdge.cpp.
References BPy_SVertex_Check, BPy_FEdge::fe, FEdge_first_svertex_set(), and Freestyle::FEdge::setVertexA().
Referenced by FEdge_first_svertex_set().
|
static |
Definition at line 291 of file BPy_FEdge.cpp.
References BPy_Id_from_Id(), BPy_FEdge::fe, FEdge_id_get(), and Freestyle::FEdge::getId().
Referenced by FEdge_id_get().
|
static |
Definition at line 297 of file BPy_FEdge.cpp.
References BPy_Id_Check, BPy_FEdge::fe, FEdge_id_set(), and Freestyle::FEdge::setId().
Referenced by FEdge_id_set().
|
static |
Definition at line 54 of file BPy_FEdge.cpp.
References BPy_Interface1D::borrowed, BPy_FEdge::fe, Freestyle::FEdge::FEdge(), FEdge_init(), FEdge_Type, BPy_Interface1D::if1D, BPy_FEdge::py_if1D, and SVertex_Type.
Referenced by FEdge_init().
|
static |
Definition at line 270 of file BPy_FEdge.cpp.
References BPy_FEdge::fe, FEdge_is_smooth_get(), Freestyle::FEdge::isSmooth(), and PyBool_from_bool().
Referenced by FEdge_is_smooth_get().
|
static |
Definition at line 275 of file BPy_FEdge.cpp.
References bool_from_PyBool(), BPy_FEdge::fe, FEdge_is_smooth_set(), and Freestyle::FEdge::setSmooth().
Referenced by FEdge_is_smooth_set().
|
static |
Definition at line 313 of file BPy_FEdge.cpp.
References BPy_Nature_from_Nature(), BPy_FEdge::fe, FEdge_nature_get(), and Freestyle::FEdge::getNature().
Referenced by FEdge_nature_get().
|
static |
Definition at line 318 of file BPy_FEdge.cpp.
References BPy_Nature_Check, BPy_FEdge::fe, FEdge_nature_set(), and Freestyle::FEdge::setNature().
Referenced by FEdge_nature_set().
|
static |
Definition at line 194 of file BPy_FEdge.cpp.
References Any_BPy_FEdge_from_FEdge(), BPy_FEdge::fe, FEdge_next_fedge_get(), and Freestyle::FEdge::nextEdge().
Referenced by FEdge_next_fedge_get().
|
static |
Definition at line 203 of file BPy_FEdge.cpp.
References BPy_FEdge_Check, BPy_FEdge::fe, FEdge_next_fedge_set(), and Freestyle::FEdge::setNextEdge().
Referenced by FEdge_next_fedge_set().
|
static |
Definition at line 220 of file BPy_FEdge.cpp.
References Any_BPy_FEdge_from_FEdge(), BPy_FEdge::fe, FEdge_previous_fedge_get(), and Freestyle::FEdge::previousEdge().
Referenced by FEdge_previous_fedge_get().
|
static |
Definition at line 229 of file BPy_FEdge.cpp.
References BPy_FEdge_Check, BPy_FEdge::fe, FEdge_previous_fedge_set(), and Freestyle::FEdge::setPreviousEdge().
Referenced by FEdge_previous_fedge_set().
|
static |
Definition at line 168 of file BPy_FEdge.cpp.
References B, BPy_SVertex_from_SVertex(), BPy_FEdge::fe, FEdge_second_svertex_get(), and Freestyle::FEdge::vertexB().
Referenced by FEdge_second_svertex_get().
|
static |
Definition at line 177 of file BPy_FEdge.cpp.
References BPy_SVertex_Check, BPy_FEdge::fe, FEdge_second_svertex_set(), and Freestyle::FEdge::setVertexB().
Referenced by FEdge_second_svertex_set().
|
static |
Definition at line 106 of file BPy_FEdge.cpp.
References BPy_SVertex_from_SVertex(), ELEM, BPy_FEdge::fe, FEdge_sq_item(), and FEdge_sq_length().
Referenced by FEdge_sq_item().
|
static |
Definition at line 101 of file BPy_FEdge.cpp.
References FEdge_sq_length().
Referenced by FEdge_sq_item(), and FEdge_sq_length().
|
static |
Definition at line 245 of file BPy_FEdge.cpp.
References BPy_ViewEdge_from_ViewEdge(), BPy_FEdge::fe, FEdge_viewedge_get(), and Freestyle::FEdge::viewedge().
Referenced by FEdge_viewedge_get().
|
static |
Definition at line 254 of file BPy_FEdge.cpp.
References BPy_ViewEdge_Check, BPy_FEdge::fe, FEdge_viewedge_set(), and Freestyle::FEdge::setViewEdge().
Referenced by FEdge_viewedge_set().
| PyDoc_STRVAR | ( | FEdge_doc | , |
| "Class hierarchy: :class:`Interface1D` | , | ||
| :class:`FEdge`\n" "\n" "Base Class for feature edges. This FEdge can represent a | silhouette, | ||
| \n" "a | crease, | ||
| a ridge/ | valley, | ||
| a border or a suggestive contour. For\n" " | silhouettes, | ||
| the FEdge is oriented so that the visible face lies on\n" "the left of the edge. For | borders, | ||
| the FEdge is oriented so that the\n" "face lies on the left of the edge. An FEdge can represent an initial\n" "edge of the mesh or runs across a face of the initial mesh depending\n" "on the smoothness or sharpness of the mesh. This class is specialized\n" "into a smooth and a sharp version since their properties slightly vary\n" "from one to the other.\n" "\n" ".. method::FEdge *args\n" "\n" " Accepted call signatures:\n" "\n" " - ``FEdge()``\n" " - ``FEdge(brother)``\n" "\n" " Builds an :class:`FEdge` using the default | constructor, | ||
| \n" " copy | constructor, | ||
| or between two :class:`SVertex` objects.\n" "\n" " :param brother:An FEdge object.\n" " :type brother::class:`FEdge`\n" " :param first_vertex:The first SVertex.\n" " :type first_vertex::class:`SVertex`\n" " :param second_vertex:The second SVertex.\n" " :type second_vertex::class:`SVertex`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FEdge_first_svertex_doc | , |
| "The first SVertex constituting this FEdge.\n" "\n" ":type: :class:`SVertex`\n" | ) |
References PyDoc_STRVAR().
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FEdge_is_smooth_doc | , |
| "True if this FEdge is a smooth FEdge.\n" "\n" ":type: bool\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FEdge_nature_doc | , |
| "The nature of this FEdge.\n" "\n" ":type: :class:`Nature`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FEdge_next_fedge_doc | , |
| "The FEdge following this one in the ViewEdge. The value is None if\n" "this FEdge is the last of the ViewEdge.\n" "\n" ":type: :class:`FEdge`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FEdge_previous_fedge_doc | , |
| "The FEdge preceding this one in the ViewEdge. The value is None if\n" "this FEdge is the first one of the ViewEdge.\n" "\n" ":type: :class:`FEdge`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FEdge_second_svertex_doc | , |
| "The second SVertex constituting this FEdge.\n" "\n" ":type: :class:`SVertex`\n" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | FEdge_viewedge_doc | , |
| "The ViewEdge to which this FEdge belongs to.\n" "\n" ":type: :class:`ViewEdge`\n" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 122 of file BPy_FEdge.cpp.
|
static |
Definition at line 328 of file BPy_FEdge.cpp.
| PyTypeObject FEdge_Type |
Definition at line 366 of file BPy_FEdge.cpp.
Referenced by BPy_FEdge_from_FEdge(), FEdge_init(), Interface1D_Init(), SShape_add_edge(), SVertex_add_fedge(), SVertexIterator_init(), and TVertex_get_svertex().