Blender  V3.3
Functions | Variables
BPy_FEdgeSmooth.cpp File Reference
#include "BPy_FEdgeSmooth.h"
#include "../../BPy_Convert.h"
#include "../../Interface0D/BPy_SVertex.h"

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 *UNUSED(closure))
 
static int FEdgeSmooth_normal_set (BPy_FEdgeSmooth *self, PyObject *value, void *UNUSED(closure))
 
 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 *UNUSED(closure))
 
static int FEdgeSmooth_material_index_set (BPy_FEdgeSmooth *self, PyObject *value, void *UNUSED(closure))
 
 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 *UNUSED(closure))
 
 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 *UNUSED(closure))
 
static int FEdgeSmooth_face_mark_set (BPy_FEdgeSmooth *self, PyObject *value, void *UNUSED(closure))
 

Variables

static Mathutils_Callback FEdgeSmooth_mathutils_cb
 
static unsigned char 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 UNUSEDclosure 
)
static

Definition at line 199 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 UNUSEDclosure 
)
static

Definition at line 204 of file BPy_FEdgeSmooth.cpp.

References bool_from_PyBool().

◆ FEdgeSmooth_init()

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

Definition at line 43 of file BPy_FEdgeSmooth.cpp.

References FEdgeSmooth_Type, and SVertex_Type.

◆ FEdgeSmooth_material_get()

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

Definition at line 189 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 UNUSEDclosure 
)
static

Definition at line 167 of file BPy_FEdgeSmooth.cpp.

References self.

◆ FEdgeSmooth_material_index_set()

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

Definition at line 172 of file BPy_FEdgeSmooth.cpp.

◆ FEdgeSmooth_mathutils_check()

static int FEdgeSmooth_mathutils_check ( BaseMathObject bmo)
static

Definition at line 81 of file BPy_FEdgeSmooth.cpp.

References BPy_FEdgeSmooth_Check.

◆ FEdgeSmooth_mathutils_get()

static int FEdgeSmooth_mathutils_get ( BaseMathObject bmo,
int   
)
static

Definition at line 89 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 107 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 99 of file BPy_FEdgeSmooth.cpp.

◆ FEdgeSmooth_mathutils_set_index()

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

Definition at line 115 of file BPy_FEdgeSmooth.cpp.

References self.

◆ FEdgeSmooth_normal_get()

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

◆ FEdgeSmooth_normal_set()

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

Definition at line 151 of file BPy_FEdgeSmooth.cpp.

References mathutils_array_parse(), 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 PyObject * FEdgeSmooth_normal_get(BPy_FEdgeSmooth *self, void *UNUSED(closure))
static PyObject * FEdgeSmooth_face_mark_get(BPy_FEdgeSmooth *self, void *UNUSED(closure))
static int FEdgeSmooth_material_index_set(BPy_FEdgeSmooth *self, PyObject *value, void *UNUSED(closure))
static PyObject * FEdgeSmooth_material_index_get(BPy_FEdgeSmooth *self, void *UNUSED(closure))
static int FEdgeSmooth_normal_set(BPy_FEdgeSmooth *self, PyObject *value, void *UNUSED(closure))
static PyObject * FEdgeSmooth_material_get(BPy_FEdgeSmooth *self, void *UNUSED(closure))
static int FEdgeSmooth_face_mark_set(BPy_FEdgeSmooth *self, PyObject *value, void *UNUSED(closure))

Definition at line 213 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 124 of file BPy_FEdgeSmooth.cpp.

Referenced by FEdgeSmooth_mathutils_register_callback().

◆ FEdgeSmooth_mathutils_cb_index

unsigned char FEdgeSmooth_mathutils_cb_index = -1
static

◆ FEdgeSmooth_Type

PyTypeObject FEdgeSmooth_Type