Blender V4.3
BPy_ViewEdge.cpp File Reference

Go to the source code of this file.

Functions

 PyDoc_STRVAR (ViewEdge_doc, "Class hierarchy: :class:`Interface1D` > :class:`ViewEdge`\n" "\n" "Class defining a ViewEdge. A ViewEdge in an edge of the image graph.\n" "it connects two :class:`ViewVertex` objects. It is made by connecting\n" "a set of FEdges.\n" "\n" ".. method:: __init__()\n" " __init__(brother)\n" "\n" " Builds a :class:`ViewEdge` using the default constructor or the copy constructor.\n" "\n" " :arg brother: A ViewEdge object.\n" " :type brother: :class:`ViewEdge`")
 
static int ViewEdge_init (BPy_ViewEdge *self, PyObject *args, PyObject *kwds)
 
 PyDoc_STRVAR (ViewEdge_update_fedges_doc, ".. method:: update_fedges()\n" "\n" " Sets Viewedge to this for all embedded fedges.\n")
 
static PyObject * ViewEdge_update_fedges (BPy_ViewEdge *self)
 
 PyDoc_STRVAR (ViewEdge_first_viewvertex_doc, "The first ViewVertex.\n" "\n" ":type: :class:`ViewVertex`")
 
static PyObject * ViewEdge_first_viewvertex_get (BPy_ViewEdge *self, void *)
 
static int ViewEdge_first_viewvertex_set (BPy_ViewEdge *self, PyObject *value, void *)
 
 PyDoc_STRVAR (ViewEdge_last_viewvertex_doc, "The second ViewVertex.\n" "\n" ":type: :class:`ViewVertex`")
 
static PyObject * ViewEdge_last_viewvertex_get (BPy_ViewEdge *self, void *)
 
static int ViewEdge_last_viewvertex_set (BPy_ViewEdge *self, PyObject *value, void *)
 
 PyDoc_STRVAR (ViewEdge_first_fedge_doc, "The first FEdge that constitutes this ViewEdge.\n" "\n" ":type: :class:`FEdge`")
 
static PyObject * ViewEdge_first_fedge_get (BPy_ViewEdge *self, void *)
 
static int ViewEdge_first_fedge_set (BPy_ViewEdge *self, PyObject *value, void *)
 
 PyDoc_STRVAR (ViewEdge_last_fedge_doc, "The last FEdge that constitutes this ViewEdge.\n" "\n" ":type: :class:`FEdge`")
 
static PyObject * ViewEdge_last_fedge_get (BPy_ViewEdge *self, void *)
 
static int ViewEdge_last_fedge_set (BPy_ViewEdge *self, PyObject *value, void *)
 
 PyDoc_STRVAR (ViewEdge_viewshape_doc, "The ViewShape to which this ViewEdge belongs to.\n" "\n" ":type: :class:`ViewShape`")
 
static PyObject * ViewEdge_viewshape_get (BPy_ViewEdge *self, void *)
 
static int ViewEdge_viewshape_set (BPy_ViewEdge *self, PyObject *value, void *)
 
 PyDoc_STRVAR (ViewEdge_occludee_doc, "The shape that is occluded by the ViewShape to which this ViewEdge\n" "belongs to. If no object is occluded, this property is set to None.\n" "\n" ":type: :class:`ViewShape`")
 
static PyObject * ViewEdge_occludee_get (BPy_ViewEdge *self, void *)
 
static int ViewEdge_occludee_set (BPy_ViewEdge *self, PyObject *value, void *)
 
 PyDoc_STRVAR (ViewEdge_is_closed_doc, "True if this ViewEdge forms a closed loop.\n" "\n" ":type: bool")
 
static PyObject * ViewEdge_is_closed_get (BPy_ViewEdge *self, void *)
 
 PyDoc_STRVAR (ViewEdge_id_doc, "The Id of this ViewEdge.\n" "\n" ":type: :class:`Id`")
 
static PyObject * ViewEdge_id_get (BPy_ViewEdge *self, void *)
 
static int ViewEdge_id_set (BPy_ViewEdge *self, PyObject *value, void *)
 
 PyDoc_STRVAR (ViewEdge_nature_doc, "The nature of this ViewEdge.\n" "\n" ":type: :class:`Nature`")
 
static PyObject * ViewEdge_nature_get (BPy_ViewEdge *self, void *)
 
static int ViewEdge_nature_set (BPy_ViewEdge *self, PyObject *value, void *)
 
 PyDoc_STRVAR (ViewEdge_qi_doc, "The quantitative invisibility.\n" "\n" ":type: int")
 
static PyObject * ViewEdge_qi_get (BPy_ViewEdge *self, void *)
 
static int ViewEdge_qi_set (BPy_ViewEdge *self, PyObject *value, void *)
 
 PyDoc_STRVAR (ViewEdge_chaining_time_stamp_doc, "The time stamp of this ViewEdge.\n" "\n" ":type: int")
 
static PyObject * ViewEdge_chaining_time_stamp_get (BPy_ViewEdge *self, void *)
 
static int ViewEdge_chaining_time_stamp_set (BPy_ViewEdge *self, PyObject *value, void *)
 

Variables

static PyMethodDef BPy_ViewEdge_methods []
 
static PyGetSetDef BPy_ViewEdge_getseters []
 
PyTypeObject ViewEdge_Type
 

Function Documentation

◆ PyDoc_STRVAR() [1/13]

PyDoc_STRVAR ( ViewEdge_chaining_time_stamp_doc ,
"The time stamp of this ViewEdge.\n" "\n" ":type: int"  )

◆ PyDoc_STRVAR() [2/13]

PyDoc_STRVAR ( ViewEdge_doc ,
"Class hierarchy: :class:`Interface1D` ,
:class:`ViewEdge`\n" "\n" "Class defining a ViewEdge. A ViewEdge in an edge of the image graph.\n" "it connects two :class:`ViewVertex` objects. It is made by connecting\n" "a set of FEdges.\n" "\n" ".. method::__init__()\n" " __init__(brother)\n" "\n" " Builds a :class:`ViewEdge` using the default constructor or the copy constructor.\n" "\n" " :arg brother:A ViewEdge object.\n" " :type brother::class:`ViewEdge`"  )

◆ PyDoc_STRVAR() [3/13]

PyDoc_STRVAR ( ViewEdge_first_fedge_doc ,
"The first FEdge that constitutes this ViewEdge.\n" "\n" ":type: :class:`FEdge`"  )

◆ PyDoc_STRVAR() [4/13]

PyDoc_STRVAR ( ViewEdge_first_viewvertex_doc ,
"The first ViewVertex.\n" "\n" ":type: :class:`ViewVertex`"  )

◆ PyDoc_STRVAR() [5/13]

PyDoc_STRVAR ( ViewEdge_id_doc ,
"The Id of this ViewEdge.\n" "\n" ":type: :class:`Id`"  )

◆ PyDoc_STRVAR() [6/13]

PyDoc_STRVAR ( ViewEdge_is_closed_doc ,
"True if this ViewEdge forms a closed loop.\n" "\n" ":type: bool"  )

◆ PyDoc_STRVAR() [7/13]

PyDoc_STRVAR ( ViewEdge_last_fedge_doc ,
"The last FEdge that constitutes this ViewEdge.\n" "\n" ":type: :class:`FEdge`"  )

◆ PyDoc_STRVAR() [8/13]

PyDoc_STRVAR ( ViewEdge_last_viewvertex_doc ,
"The second ViewVertex.\n" "\n" ":type: :class:`ViewVertex`"  )

◆ PyDoc_STRVAR() [9/13]

PyDoc_STRVAR ( ViewEdge_nature_doc ,
"The nature of this ViewEdge.\n" "\n" ":type: :class:`Nature`"  )

◆ PyDoc_STRVAR() [10/13]

PyDoc_STRVAR ( ViewEdge_occludee_doc ,
"The shape that is occluded by the ViewShape to which this ViewEdge\n" "belongs to. If no object is occluded,
this property is set to None.\n" "\n" ":type::class:`ViewShape`"  )

◆ PyDoc_STRVAR() [11/13]

PyDoc_STRVAR ( ViewEdge_qi_doc ,
"The quantitative invisibility.\n" "\n" ":type: int"  )

◆ PyDoc_STRVAR() [12/13]

PyDoc_STRVAR ( ViewEdge_update_fedges_doc ,
".. method:: update_fedges()\n" "\n" " Sets Viewedge to this for all embedded fedges.\n"  )

◆ PyDoc_STRVAR() [13/13]

PyDoc_STRVAR ( ViewEdge_viewshape_doc ,
"The ViewShape to which this ViewEdge belongs to.\n" "\n" ":type: :class:`ViewShape`"  )

◆ ViewEdge_chaining_time_stamp_get()

static PyObject * ViewEdge_chaining_time_stamp_get ( BPy_ViewEdge * self,
void *  )
static

Definition at line 326 of file BPy_ViewEdge.cpp.

References self.

◆ ViewEdge_chaining_time_stamp_set()

static int ViewEdge_chaining_time_stamp_set ( BPy_ViewEdge * self,
PyObject * value,
void *  )
static

Definition at line 331 of file BPy_ViewEdge.cpp.

References self.

◆ ViewEdge_first_fedge_get()

static PyObject * ViewEdge_first_fedge_get ( BPy_ViewEdge * self,
void *  )
static

Definition at line 145 of file BPy_ViewEdge.cpp.

References Any_BPy_FEdge_from_FEdge(), and self.

◆ ViewEdge_first_fedge_set()

static int ViewEdge_first_fedge_set ( BPy_ViewEdge * self,
PyObject * value,
void *  )
static

Definition at line 154 of file BPy_ViewEdge.cpp.

References BPy_FEdge_Check, and self.

◆ ViewEdge_first_viewvertex_get()

static PyObject * ViewEdge_first_viewvertex_get ( BPy_ViewEdge * self,
void *  )
static

Definition at line 95 of file BPy_ViewEdge.cpp.

References Any_BPy_ViewVertex_from_ViewVertex(), self, and v.

◆ ViewEdge_first_viewvertex_set()

static int ViewEdge_first_viewvertex_set ( BPy_ViewEdge * self,
PyObject * value,
void *  )
static

Definition at line 104 of file BPy_ViewEdge.cpp.

References BPy_ViewVertex_Check, and self.

◆ ViewEdge_id_get()

static PyObject * ViewEdge_id_get ( BPy_ViewEdge * self,
void *  )
static

Definition at line 258 of file BPy_ViewEdge.cpp.

References BPy_Id_from_Id(), and self.

◆ ViewEdge_id_set()

static int ViewEdge_id_set ( BPy_ViewEdge * self,
PyObject * value,
void *  )
static

Definition at line 264 of file BPy_ViewEdge.cpp.

References BPy_Id_Check, and self.

◆ ViewEdge_init()

static int ViewEdge_init ( BPy_ViewEdge * self,
PyObject * args,
PyObject * kwds )
static

Definition at line 46 of file BPy_ViewEdge.cpp.

References self, and ViewEdge_Type.

◆ ViewEdge_is_closed_get()

static PyObject * ViewEdge_is_closed_get ( BPy_ViewEdge * self,
void *  )
static

Definition at line 246 of file BPy_ViewEdge.cpp.

References PyBool_from_bool(), and self.

◆ ViewEdge_last_fedge_get()

static PyObject * ViewEdge_last_fedge_get ( BPy_ViewEdge * self,
void *  )
static

Definition at line 170 of file BPy_ViewEdge.cpp.

References Any_BPy_FEdge_from_FEdge(), and self.

◆ ViewEdge_last_fedge_set()

static int ViewEdge_last_fedge_set ( BPy_ViewEdge * self,
PyObject * value,
void *  )
static

Definition at line 179 of file BPy_ViewEdge.cpp.

References BPy_FEdge_Check, and self.

◆ ViewEdge_last_viewvertex_get()

static PyObject * ViewEdge_last_viewvertex_get ( BPy_ViewEdge * self,
void *  )
static

Definition at line 120 of file BPy_ViewEdge.cpp.

References Any_BPy_ViewVertex_from_ViewVertex(), self, and v.

◆ ViewEdge_last_viewvertex_set()

static int ViewEdge_last_viewvertex_set ( BPy_ViewEdge * self,
PyObject * value,
void *  )
static

Definition at line 129 of file BPy_ViewEdge.cpp.

References BPy_ViewVertex_Check, and self.

◆ ViewEdge_nature_get()

static PyObject * ViewEdge_nature_get ( BPy_ViewEdge * self,
void *  )
static

Definition at line 281 of file BPy_ViewEdge.cpp.

References BPy_Nature_from_Nature(), and self.

◆ ViewEdge_nature_set()

static int ViewEdge_nature_set ( BPy_ViewEdge * self,
PyObject * value,
void *  )
static

Definition at line 286 of file BPy_ViewEdge.cpp.

References BPy_Nature_Check, and self.

◆ ViewEdge_occludee_get()

static PyObject * ViewEdge_occludee_get ( BPy_ViewEdge * self,
void *  )
static

Definition at line 221 of file BPy_ViewEdge.cpp.

References BPy_ViewShape_from_ViewShape(), and self.

◆ ViewEdge_occludee_set()

static int ViewEdge_occludee_set ( BPy_ViewEdge * self,
PyObject * value,
void *  )
static

Definition at line 230 of file BPy_ViewEdge.cpp.

References BPy_ViewShape_Check, and self.

◆ ViewEdge_qi_get()

static PyObject * ViewEdge_qi_get ( BPy_ViewEdge * self,
void *  )
static

Definition at line 303 of file BPy_ViewEdge.cpp.

References self.

◆ ViewEdge_qi_set()

static int ViewEdge_qi_set ( BPy_ViewEdge * self,
PyObject * value,
void *  )
static

Definition at line 308 of file BPy_ViewEdge.cpp.

References self.

◆ ViewEdge_update_fedges()

static PyObject * ViewEdge_update_fedges ( BPy_ViewEdge * self)
static

Definition at line 72 of file BPy_ViewEdge.cpp.

References self.

◆ ViewEdge_viewshape_get()

static PyObject * ViewEdge_viewshape_get ( BPy_ViewEdge * self,
void *  )
static

Definition at line 195 of file BPy_ViewEdge.cpp.

References BPy_ViewShape_from_ViewShape(), and self.

◆ ViewEdge_viewshape_set()

static int ViewEdge_viewshape_set ( BPy_ViewEdge * self,
PyObject * value,
void *  )
static

Definition at line 204 of file BPy_ViewEdge.cpp.

References BPy_ViewShape_Check, and self.

Variable Documentation

◆ BPy_ViewEdge_getseters

PyGetSetDef BPy_ViewEdge_getseters[]
static

Definition at line 344 of file BPy_ViewEdge.cpp.

◆ BPy_ViewEdge_methods

PyMethodDef BPy_ViewEdge_methods[]
static
Initial value:
= {
{"update_fedges",
(PyCFunction)ViewEdge_update_fedges,
METH_NOARGS,
ViewEdge_update_fedges_doc},
{nullptr, nullptr, 0, nullptr},
}
static PyObject * ViewEdge_update_fedges(BPy_ViewEdge *self)

Definition at line 78 of file BPy_ViewEdge.cpp.

◆ ViewEdge_Type