|
Blender V4.3
|
#include "BPy_FEdgeSharp.h"#include "../../BPy_Convert.h"#include "../../Interface0D/BPy_SVertex.h"#include "BLI_sys_types.h"Go to the source code of this file.
Macros | |
| #define | MATHUTILS_SUBTYPE_NORMAL_A 1 |
| #define | MATHUTILS_SUBTYPE_NORMAL_B 2 |
Functions | |
| PyDoc_STRVAR (FEdgeSharp_doc, "Class hierarchy: :class:`Interface1D` > :class:`FEdge` > :class:`FEdgeSharp`\n" "\n" "Class defining a sharp FEdge. A Sharp FEdge corresponds to an initial\n" "edge of the input mesh. It can be a silhouette, a crease or a border.\n" "If it is a crease edge, then it is bordered by two faces of the mesh.\n" "Face a lies on its right whereas Face b lies on its left. If it is a\n" "border edge, then it doesn't have any face on its right, and thus Face\n" "a is None.\n" "\n" ".. method:: __init__()\n" " __init__(brother)\n" " __init__(first_vertex, second_vertex)\n" "\n" " Builds an :class:`FEdgeSharp` using the default constructor,\n" " copy constructor, or between two :class:`SVertex` objects.\n" "\n" " :arg brother: An FEdgeSharp object.\n" " :type brother: :class:`FEdgeSharp`\n" " :arg first_vertex: The first SVertex object.\n" " :type first_vertex: :class:`SVertex`\n" " :arg second_vertex: The second SVertex object.\n" " :type second_vertex: :class:`SVertex`") | |
| static int | FEdgeSharp_init (BPy_FEdgeSharp *self, PyObject *args, PyObject *kwds) |
| static int | FEdgeSharp_mathutils_check (BaseMathObject *bmo) |
| static int | FEdgeSharp_mathutils_get (BaseMathObject *bmo, int subtype) |
| static int | FEdgeSharp_mathutils_set (BaseMathObject *bmo, int subtype) |
| static int | FEdgeSharp_mathutils_get_index (BaseMathObject *bmo, int subtype, int index) |
| static int | FEdgeSharp_mathutils_set_index (BaseMathObject *bmo, int subtype, int index) |
| void | FEdgeSharp_mathutils_register_callback () |
| PyDoc_STRVAR (FEdgeSharp_normal_right_doc, "The normal to the face lying on the right of the FEdge. If this FEdge\n" "is a border, it has no Face on its right and therefore no normal.\n" "\n" ":type: :class:`mathutils.Vector`") | |
| static PyObject * | FEdgeSharp_normal_right_get (BPy_FEdgeSharp *self, void *) |
| static int | FEdgeSharp_normal_right_set (BPy_FEdgeSharp *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdgeSharp_normal_left_doc, "The normal to the face lying on the left of the FEdge.\n" "\n" ":type: :class:`mathutils.Vector`") | |
| static PyObject * | FEdgeSharp_normal_left_get (BPy_FEdgeSharp *self, void *) |
| static int | FEdgeSharp_normal_left_set (BPy_FEdgeSharp *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdgeSharp_material_index_right_doc, "The index of the material of the face lying on the right of the FEdge.\n" "If this FEdge is a border, it has no Face on its right and therefore\n" "no material.\n" "\n" ":type: int") | |
| static PyObject * | FEdgeSharp_material_index_right_get (BPy_FEdgeSharp *self, void *) |
| static int | FEdgeSharp_material_index_right_set (BPy_FEdgeSharp *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdgeSharp_material_index_left_doc, "The index of the material of the face lying on the left of the FEdge.\n" "\n" ":type: int") | |
| static PyObject * | FEdgeSharp_material_index_left_get (BPy_FEdgeSharp *self, void *) |
| static int | FEdgeSharp_material_index_left_set (BPy_FEdgeSharp *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdgeSharp_material_right_doc, "The material of the face lying on the right of the FEdge. If this FEdge\n" "is a border, it has no Face on its right and therefore no material.\n" "\n" ":type: :class:`Material`") | |
| static PyObject * | FEdgeSharp_material_right_get (BPy_FEdgeSharp *self, void *) |
| PyDoc_STRVAR (FEdgeSharp_material_left_doc, "The material of the face lying on the left of the FEdge.\n" "\n" ":type: :class:`Material`") | |
| static PyObject * | FEdgeSharp_material_left_get (BPy_FEdgeSharp *self, void *) |
| PyDoc_STRVAR (FEdgeSharp_face_mark_right_doc, "The face mark of the face lying on the right of the FEdge. If this FEdge\n" "is a border, it has no face on the right and thus this property is set to\n" "false.\n" "\n" ":type: bool") | |
| static PyObject * | FEdgeSharp_face_mark_right_get (BPy_FEdgeSharp *self, void *) |
| static int | FEdgeSharp_face_mark_right_set (BPy_FEdgeSharp *self, PyObject *value, void *) |
| PyDoc_STRVAR (FEdgeSharp_face_mark_left_doc, "The face mark of the face lying on the left of the FEdge.\n" "\n" ":type: bool") | |
| static PyObject * | FEdgeSharp_face_mark_left_get (BPy_FEdgeSharp *self, void *) |
| static int | FEdgeSharp_face_mark_left_set (BPy_FEdgeSharp *self, PyObject *value, void *) |
Variables | |
| static Mathutils_Callback | FEdgeSharp_mathutils_cb |
| static uchar | FEdgeSharp_mathutils_cb_index = -1 |
| static PyGetSetDef | BPy_FEdgeSharp_getseters [] |
| PyTypeObject | FEdgeSharp_Type |
| #define MATHUTILS_SUBTYPE_NORMAL_A 1 |
Definition at line 85 of file BPy_FEdgeSharp.cpp.
Referenced by FEdgeSharp_mathutils_get(), FEdgeSharp_mathutils_get_index(), FEdgeSharp_mathutils_set(), FEdgeSharp_mathutils_set_index(), and FEdgeSharp_normal_right_get().
| #define MATHUTILS_SUBTYPE_NORMAL_B 2 |
Definition at line 86 of file BPy_FEdgeSharp.cpp.
Referenced by FEdgeSharp_mathutils_get(), FEdgeSharp_mathutils_get_index(), FEdgeSharp_mathutils_set(), FEdgeSharp_mathutils_set_index(), and FEdgeSharp_normal_left_get().
|
static |
Definition at line 355 of file BPy_FEdgeSharp.cpp.
References PyBool_from_bool(), and self.
|
static |
Definition at line 360 of file BPy_FEdgeSharp.cpp.
References bool_from_PyBool(), and self.
|
static |
Definition at line 332 of file BPy_FEdgeSharp.cpp.
References PyBool_from_bool(), and self.
|
static |
Definition at line 337 of file BPy_FEdgeSharp.cpp.
References bool_from_PyBool(), and self.
|
static |
Definition at line 52 of file BPy_FEdgeSharp.cpp.
References FEdgeSharp_Type, self, and SVertex_Type.
|
static |
Definition at line 281 of file BPy_FEdgeSharp.cpp.
References self.
|
static |
Definition at line 286 of file BPy_FEdgeSharp.cpp.
References self.
|
static |
Definition at line 257 of file BPy_FEdgeSharp.cpp.
References self.
|
static |
Definition at line 262 of file BPy_FEdgeSharp.cpp.
References self.
|
static |
Definition at line 318 of file BPy_FEdgeSharp.cpp.
References BPy_FrsMaterial_from_FrsMaterial(), and self.
|
static |
Definition at line 306 of file BPy_FEdgeSharp.cpp.
References BPy_FrsMaterial_from_FrsMaterial(), and self.
|
static |
Definition at line 88 of file BPy_FEdgeSharp.cpp.
References BPy_FEdgeSharp_Check.
|
static |
Definition at line 96 of file BPy_FEdgeSharp.cpp.
References MATHUTILS_SUBTYPE_NORMAL_A, MATHUTILS_SUBTYPE_NORMAL_B, and self.
|
static |
Definition at line 140 of file BPy_FEdgeSharp.cpp.
References MATHUTILS_SUBTYPE_NORMAL_A, MATHUTILS_SUBTYPE_NORMAL_B, and self.
| void FEdgeSharp_mathutils_register_callback | ( | ) |
Definition at line 192 of file BPy_FEdgeSharp.cpp.
References FEdgeSharp_mathutils_cb, FEdgeSharp_mathutils_cb_index, and Mathutils_RegisterCallback().
Referenced by Interface1D_Init().
|
static |
Definition at line 120 of file BPy_FEdgeSharp.cpp.
References MATHUTILS_SUBTYPE_NORMAL_A, MATHUTILS_SUBTYPE_NORMAL_B, and self.
|
static |
Definition at line 160 of file BPy_FEdgeSharp.cpp.
References MATHUTILS_SUBTYPE_NORMAL_A, MATHUTILS_SUBTYPE_NORMAL_B, and self.
|
static |
Definition at line 231 of file BPy_FEdgeSharp.cpp.
References FEdgeSharp_mathutils_cb_index, MATHUTILS_SUBTYPE_NORMAL_B, self, and Vector_CreatePyObject_cb().
|
static |
Definition at line 237 of file BPy_FEdgeSharp.cpp.
References mathutils_array_parse(), self, and v.
|
static |
Definition at line 207 of file BPy_FEdgeSharp.cpp.
References FEdgeSharp_mathutils_cb_index, MATHUTILS_SUBTYPE_NORMAL_A, self, and Vector_CreatePyObject_cb().
|
static |
Definition at line 213 of file BPy_FEdgeSharp.cpp.
References mathutils_array_parse(), self, and v.
| PyDoc_STRVAR | ( | FEdgeSharp_doc | , |
| "Class hierarchy: :class:`Interface1D` | , | ||
| :class:`FEdge` | , | ||
| :class:`FEdgeSharp`\n" "\n" "Class defining a sharp FEdge. A Sharp FEdge corresponds to an initial\n" "edge of the input mesh. It can be a | silhouette, | ||
| a crease or a border.\n" "If it is a crease | edge, | ||
| then it is bordered by two faces of the mesh.\n" "Face a lies on its right whereas Face b lies on its left. If it is a\n" "border | edge, | ||
| then it doesn 't have any face on its | right, | ||
| and thus Face\n" "a is None.\n" "\n" ".. method::__init__()\n" " __init__(brother)\n" " __init__(first_vertex, second_vertex)\n" "\n" " Builds an :class:`FEdgeSharp` using the default | constructor, | ||
| \n" " copy | constructor, | ||
| or between two :class:`SVertex` objects.\n" "\n" " :arg brother:An FEdgeSharp object.\n" " :type brother::class:`FEdgeSharp`\n" " :arg first_vertex:The first SVertex object.\n" " :type first_vertex::class:`SVertex`\n" " :arg second_vertex:The second SVertex object.\n" " :type second_vertex::class:`SVertex`" | ) |
| PyDoc_STRVAR | ( | FEdgeSharp_face_mark_left_doc | , |
| "The face mark of the face lying on the left of the FEdge.\n" "\n" ":type: bool" | ) |
| PyDoc_STRVAR | ( | FEdgeSharp_face_mark_right_doc | , |
| "The face mark of the face lying on the right of the FEdge. If this FEdge\n" "is a | border, | ||
| it has no face on the right and thus this property is set to\n" "false.\n" "\n" ":type:bool" | ) |
| PyDoc_STRVAR | ( | FEdgeSharp_material_index_left_doc | , |
| "The index of the material of the face lying on the left of the FEdge.\n" "\n" ":type: int" | ) |
| PyDoc_STRVAR | ( | FEdgeSharp_material_index_right_doc | , |
| "The index of the material of the face lying on the right of the FEdge.\n" "If this FEdge is a | border, | ||
| it has no Face on its right and therefore\n" "no material.\n" "\n" ":type:int" | ) |
| PyDoc_STRVAR | ( | FEdgeSharp_material_left_doc | , |
| "The material of the face lying on the left of the FEdge.\n" "\n" ":type: :class:`Material`" | ) |
| PyDoc_STRVAR | ( | FEdgeSharp_material_right_doc | , |
| "The material of the face lying on the right of the FEdge. If this FEdge\n" "is a | border, | ||
| it has no Face on its right and therefore no material.\n" "\n" ":type::class:`Material`" | ) |
| PyDoc_STRVAR | ( | FEdgeSharp_normal_left_doc | , |
| "The normal to the face lying on the left of the FEdge.\n" "\n" ":type: :class:`mathutils.Vector`" | ) |
| PyDoc_STRVAR | ( | FEdgeSharp_normal_right_doc | , |
| "The normal to the face lying on the right of the FEdge. If this FEdge\n" "is a | border, | ||
| it has no Face on its right and therefore no normal.\n" "\n" ":type::class:`mathutils.Vector`" | ) |
|
static |
Definition at line 369 of file BPy_FEdgeSharp.cpp.
|
static |
Definition at line 182 of file BPy_FEdgeSharp.cpp.
Referenced by FEdgeSharp_mathutils_register_callback().
|
static |
Definition at line 190 of file BPy_FEdgeSharp.cpp.
Referenced by FEdgeSharp_mathutils_register_callback(), FEdgeSharp_normal_left_get(), and FEdgeSharp_normal_right_get().
| PyTypeObject FEdgeSharp_Type |
Definition at line 415 of file BPy_FEdgeSharp.cpp.
Referenced by BPy_FEdgeSharp_from_FEdgeSharp(), FEdgeSharp_init(), and Interface1D_Init().