Blender V4.3
BPy_FEdgeSmooth.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (FEdgeSmooth_doc, "Class hierarchy: :class:`Interface1D` > :class:`FEdge` > :class:`FEdgeSmooth`\n" "\n" "Class defining a smooth edge. This kind of edge typically runs across\n" "a face of the input mesh. It can be a silhouette, a ridge or valley,\n" "a suggestive contour.\n" "\n" ".. method:: __init__()\n" " __init__(brother)\n" " __init__(first_vertex, second_vertex)\n" "\n" " Builds an :class:`FEdgeSmooth` using the default constructor,\n" " copy constructor, or between two :class:`SVertex`.\n" "\n" " :arg brother: An FEdgeSmooth object.\n" " :type brother: :class:`FEdgeSmooth`\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 FEdgeSmooth_init (BPy_FEdgeSmooth *self, PyObject *args, PyObject *kwds)
 
static int FEdgeSmooth_mathutils_check (BaseMathObject *bmo)
 
static int FEdgeSmooth_mathutils_get (BaseMathObject *bmo, int)
 
static int FEdgeSmooth_mathutils_set (BaseMathObject *bmo, int)
 
static int FEdgeSmooth_mathutils_get_index (BaseMathObject *bmo, int, int index)
 
static int FEdgeSmooth_mathutils_set_index (BaseMathObject *bmo, int, int index)
 
void FEdgeSmooth_mathutils_register_callback ()
 
 PyDoc_STRVAR (FEdgeSmooth_normal_doc, "The normal of the face that this FEdge is running across.\n" "\n" ":type: :class:`mathutils.Vector`")
 
static PyObject * FEdgeSmooth_normal_get (BPy_FEdgeSmooth *self, void *)
 
static int FEdgeSmooth_normal_set (BPy_FEdgeSmooth *self, PyObject *value, void *)
 
 PyDoc_STRVAR (FEdgeSmooth_material_index_doc, "The index of the material of the face that this FEdge is running across.\n" "\n" ":type: int")
 
static PyObject * FEdgeSmooth_material_index_get (BPy_FEdgeSmooth *self, void *)
 
static int FEdgeSmooth_material_index_set (BPy_FEdgeSmooth *self, PyObject *value, void *)
 
 PyDoc_STRVAR (FEdgeSmooth_material_doc, "The material of the face that this FEdge is running across.\n" "\n" ":type: :class:`Material`")
 
static PyObject * FEdgeSmooth_material_get (BPy_FEdgeSmooth *self, void *)
 
 PyDoc_STRVAR (FEdgeSmooth_face_mark_doc, "The face mark of the face that this FEdge is running across.\n" "\n" ":type: bool")
 
static PyObject * FEdgeSmooth_face_mark_get (BPy_FEdgeSmooth *self, void *)
 
static int FEdgeSmooth_face_mark_set (BPy_FEdgeSmooth *self, PyObject *value, void *)
 

Variables

static Mathutils_Callback FEdgeSmooth_mathutils_cb
 
static uchar FEdgeSmooth_mathutils_cb_index = -1
 
static PyGetSetDef BPy_FEdgeSmooth_getseters []
 
PyTypeObject FEdgeSmooth_Type
 

Function Documentation

◆ FEdgeSmooth_face_mark_get()

static PyObject * FEdgeSmooth_face_mark_get ( BPy_FEdgeSmooth * self,
void *  )
static

Definition at line 208 of file BPy_FEdgeSmooth.cpp.

References PyBool_from_bool(), and self.

◆ FEdgeSmooth_face_mark_set()

static int FEdgeSmooth_face_mark_set ( BPy_FEdgeSmooth * self,
PyObject * value,
void *  )
static

Definition at line 213 of file BPy_FEdgeSmooth.cpp.

References bool_from_PyBool(), and self.

◆ FEdgeSmooth_init()

static int FEdgeSmooth_init ( BPy_FEdgeSmooth * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 49 of file BPy_FEdgeSmooth.cpp.

References FEdgeSmooth_Type, self, and SVertex_Type.

◆ FEdgeSmooth_material_get()

static PyObject * FEdgeSmooth_material_get ( BPy_FEdgeSmooth * self,
void *  )
static

Definition at line 196 of file BPy_FEdgeSmooth.cpp.

References BPy_FrsMaterial_from_FrsMaterial(), and self.

◆ FEdgeSmooth_material_index_get()

static PyObject * FEdgeSmooth_material_index_get ( BPy_FEdgeSmooth * self,
void *  )
static

Definition at line 172 of file BPy_FEdgeSmooth.cpp.

References self.

◆ FEdgeSmooth_material_index_set()

static int FEdgeSmooth_material_index_set ( BPy_FEdgeSmooth * self,
PyObject * value,
void *  )
static

Definition at line 177 of file BPy_FEdgeSmooth.cpp.

References self.

◆ FEdgeSmooth_mathutils_check()

static int FEdgeSmooth_mathutils_check ( BaseMathObject * bmo)
static

Definition at line 82 of file BPy_FEdgeSmooth.cpp.

References BPy_FEdgeSmooth_Check.

◆ FEdgeSmooth_mathutils_get()

static int FEdgeSmooth_mathutils_get ( BaseMathObject * bmo,
int  )
static

Definition at line 90 of file BPy_FEdgeSmooth.cpp.

References self.

◆ FEdgeSmooth_mathutils_get_index()

static int FEdgeSmooth_mathutils_get_index ( BaseMathObject * bmo,
int ,
int index )
static

Definition at line 108 of file BPy_FEdgeSmooth.cpp.

References self.

◆ FEdgeSmooth_mathutils_register_callback()

void FEdgeSmooth_mathutils_register_callback ( )

◆ FEdgeSmooth_mathutils_set()

static int FEdgeSmooth_mathutils_set ( BaseMathObject * bmo,
int  )
static

Definition at line 100 of file BPy_FEdgeSmooth.cpp.

References self.

◆ FEdgeSmooth_mathutils_set_index()

static int FEdgeSmooth_mathutils_set_index ( BaseMathObject * bmo,
int ,
int index )
static

Definition at line 116 of file BPy_FEdgeSmooth.cpp.

References self.

◆ FEdgeSmooth_normal_get()

static PyObject * FEdgeSmooth_normal_get ( BPy_FEdgeSmooth * self,
void *  )
static

◆ FEdgeSmooth_normal_set()

static int FEdgeSmooth_normal_set ( BPy_FEdgeSmooth * self,
PyObject * value,
void *  )
static

Definition at line 154 of file BPy_FEdgeSmooth.cpp.

References mathutils_array_parse(), self, and v.

◆ PyDoc_STRVAR() [1/5]

PyDoc_STRVAR ( FEdgeSmooth_doc ,
"Class hierarchy: :class:`Interface1D` ,
:class:`FEdge` ,
:class:`FEdgeSmooth`\n" "\n" "Class defining a smooth edge. This kind of edge typically runs across\n" "a face of the input mesh. It can be a silhouette,
a ridge or valley,
\n" "a suggestive contour.\n" "\n" ".. method::__init__()\n" " __init__(brother)\n" " __init__(first_vertex, second_vertex)\n" "\n" " Builds an :class:`FEdgeSmooth` using the default constructor,
\n" " copy constructor,
or between two :class:`SVertex`.\n" "\n" " :arg brother:An FEdgeSmooth object.\n" " :type brother::class:`FEdgeSmooth`\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() [2/5]

PyDoc_STRVAR ( FEdgeSmooth_face_mark_doc ,
"The face mark of the face that this FEdge is running across.\n" "\n" ":type: bool"  )

◆ PyDoc_STRVAR() [3/5]

PyDoc_STRVAR ( FEdgeSmooth_material_doc ,
"The material of the face that this FEdge is running across.\n" "\n" ":type: :class:`Material`"  )

◆ PyDoc_STRVAR() [4/5]

PyDoc_STRVAR ( FEdgeSmooth_material_index_doc ,
"The index of the material of the face that this FEdge is running across.\n" "\n" ":type: int"  )

◆ PyDoc_STRVAR() [5/5]

PyDoc_STRVAR ( FEdgeSmooth_normal_doc ,
"The normal of the face that this FEdge is running across.\n" "\n" ":type: :class:`mathutils.Vector`"  )

Variable Documentation

◆ BPy_FEdgeSmooth_getseters

PyGetSetDef BPy_FEdgeSmooth_getseters[]
static
Initial value:
= {
{"normal",
FEdgeSmooth_normal_doc,
nullptr},
{"material_index",
FEdgeSmooth_material_index_doc,
nullptr},
{"material",
(setter) nullptr,
FEdgeSmooth_material_doc,
nullptr},
{"face_mark",
FEdgeSmooth_face_mark_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static int FEdgeSmooth_material_index_set(BPy_FEdgeSmooth *self, PyObject *value, void *)
static PyObject * FEdgeSmooth_normal_get(BPy_FEdgeSmooth *self, void *)
static int FEdgeSmooth_normal_set(BPy_FEdgeSmooth *self, PyObject *value, void *)
static PyObject * FEdgeSmooth_material_index_get(BPy_FEdgeSmooth *self, void *)
static PyObject * FEdgeSmooth_face_mark_get(BPy_FEdgeSmooth *self, void *)
static PyObject * FEdgeSmooth_material_get(BPy_FEdgeSmooth *self, void *)
static int FEdgeSmooth_face_mark_set(BPy_FEdgeSmooth *self, PyObject *value, void *)

Definition at line 222 of file BPy_FEdgeSmooth.cpp.

◆ FEdgeSmooth_mathutils_cb

Mathutils_Callback FEdgeSmooth_mathutils_cb
static
Initial value:
= {
}
static int FEdgeSmooth_mathutils_get(BaseMathObject *bmo, int)
static int FEdgeSmooth_mathutils_set_index(BaseMathObject *bmo, int, int index)
static int FEdgeSmooth_mathutils_check(BaseMathObject *bmo)
static int FEdgeSmooth_mathutils_set(BaseMathObject *bmo, int)
static int FEdgeSmooth_mathutils_get_index(BaseMathObject *bmo, int, int index)

Definition at line 125 of file BPy_FEdgeSmooth.cpp.

Referenced by FEdgeSmooth_mathutils_register_callback().

◆ FEdgeSmooth_mathutils_cb_index

uchar FEdgeSmooth_mathutils_cb_index = -1
static

◆ FEdgeSmooth_Type

PyTypeObject FEdgeSmooth_Type