Blender  V3.3
Functions | Variables
BPy_ViewEdge.cpp File Reference
#include "BPy_ViewEdge.h"
#include "../BPy_Convert.h"
#include "../BPy_Id.h"
#include "../BPy_Nature.h"
#include "../BPy_ViewShape.h"
#include "../Interface0D/BPy_ViewVertex.h"
#include "../Interface1D/BPy_FEdge.h"

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 *UNUSED(closure))
 
static int ViewEdge_first_viewvertex_set (BPy_ViewEdge *self, PyObject *value, void *UNUSED(closure))
 
 PyDoc_STRVAR (ViewEdge_last_viewvertex_doc, "The second ViewVertex.\n" "\n" ":type: :class:`ViewVertex`")
 
static PyObject * ViewEdge_last_viewvertex_get (BPy_ViewEdge *self, void *UNUSED(closure))
 
static int ViewEdge_last_viewvertex_set (BPy_ViewEdge *self, PyObject *value, void *UNUSED(closure))
 
 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 *UNUSED(closure))
 
static int ViewEdge_first_fedge_set (BPy_ViewEdge *self, PyObject *value, void *UNUSED(closure))
 
 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 *UNUSED(closure))
 
static int ViewEdge_last_fedge_set (BPy_ViewEdge *self, PyObject *value, void *UNUSED(closure))
 
 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 *UNUSED(closure))
 
static int ViewEdge_viewshape_set (BPy_ViewEdge *self, PyObject *value, void *UNUSED(closure))
 
 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 *UNUSED(closure))
 
static int ViewEdge_occludee_set (BPy_ViewEdge *self, PyObject *value, void *UNUSED(closure))
 
 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 *UNUSED(closure))
 
 PyDoc_STRVAR (ViewEdge_id_doc, "The Id of this ViewEdge.\n" "\n" ":type: :class:`Id`")
 
static PyObject * ViewEdge_id_get (BPy_ViewEdge *self, void *UNUSED(closure))
 
static int ViewEdge_id_set (BPy_ViewEdge *self, PyObject *value, void *UNUSED(closure))
 
 PyDoc_STRVAR (ViewEdge_nature_doc, "The nature of this ViewEdge.\n" "\n" ":type: :class:`Nature`")
 
static PyObject * ViewEdge_nature_get (BPy_ViewEdge *self, void *UNUSED(closure))
 
static int ViewEdge_nature_set (BPy_ViewEdge *self, PyObject *value, void *UNUSED(closure))
 
 PyDoc_STRVAR (ViewEdge_qi_doc, "The quantitative invisibility.\n" "\n" ":type: int")
 
static PyObject * ViewEdge_qi_get (BPy_ViewEdge *self, void *UNUSED(closure))
 
static int ViewEdge_qi_set (BPy_ViewEdge *self, PyObject *value, void *UNUSED(closure))
 
 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 *UNUSED(closure))
 
static int ViewEdge_chaining_time_stamp_set (BPy_ViewEdge *self, PyObject *value, void *UNUSED(closure))
 

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 UNUSEDclosure 
)
static

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

Definition at line 306 of file BPy_ViewEdge.cpp.

◆ ViewEdge_first_fedge_get()

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

Definition at line 136 of file BPy_ViewEdge.cpp.

References Any_BPy_FEdge_from_FEdge().

◆ ViewEdge_first_fedge_set()

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

Definition at line 145 of file BPy_ViewEdge.cpp.

References BPy_FEdge_Check.

◆ ViewEdge_first_viewvertex_get()

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

Definition at line 88 of file BPy_ViewEdge.cpp.

References Any_BPy_ViewVertex_from_ViewVertex(), and v.

◆ ViewEdge_first_viewvertex_set()

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

Definition at line 97 of file BPy_ViewEdge.cpp.

References BPy_ViewVertex_Check.

◆ ViewEdge_id_get()

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

Definition at line 239 of file BPy_ViewEdge.cpp.

References BPy_Id_from_Id(), id, and self.

◆ ViewEdge_id_set()

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

Definition at line 245 of file BPy_ViewEdge.cpp.

References BPy_Id_Check.

◆ ViewEdge_init()

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

Definition at line 43 of file BPy_ViewEdge.cpp.

References ViewEdge_Type.

◆ ViewEdge_is_closed_get()

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

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

Definition at line 159 of file BPy_ViewEdge.cpp.

References Any_BPy_FEdge_from_FEdge().

◆ ViewEdge_last_fedge_set()

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

Definition at line 168 of file BPy_ViewEdge.cpp.

References BPy_FEdge_Check.

◆ ViewEdge_last_viewvertex_get()

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

Definition at line 113 of file BPy_ViewEdge.cpp.

References Any_BPy_ViewVertex_from_ViewVertex(), and v.

◆ ViewEdge_last_viewvertex_set()

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

Definition at line 122 of file BPy_ViewEdge.cpp.

References BPy_ViewVertex_Check.

◆ ViewEdge_nature_get()

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

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

Definition at line 265 of file BPy_ViewEdge.cpp.

References BPy_Nature_Check.

◆ ViewEdge_occludee_get()

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

Definition at line 206 of file BPy_ViewEdge.cpp.

References BPy_ViewShape_from_ViewShape().

◆ ViewEdge_occludee_set()

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

Definition at line 215 of file BPy_ViewEdge.cpp.

References BPy_ViewShape_Check.

◆ ViewEdge_qi_get()

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

Definition at line 280 of file BPy_ViewEdge.cpp.

References self.

◆ ViewEdge_qi_set()

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

Definition at line 285 of file BPy_ViewEdge.cpp.

◆ ViewEdge_update_fedges()

static PyObject* ViewEdge_update_fedges ( BPy_ViewEdge self)
static

Definition at line 67 of file BPy_ViewEdge.cpp.

◆ ViewEdge_viewshape_get()

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

Definition at line 182 of file BPy_ViewEdge.cpp.

References BPy_ViewShape_from_ViewShape().

◆ ViewEdge_viewshape_set()

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

Definition at line 191 of file BPy_ViewEdge.cpp.

References BPy_ViewShape_Check.

Variable Documentation

◆ BPy_ViewEdge_getseters

PyGetSetDef BPy_ViewEdge_getseters[]
static

Definition at line 319 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 73 of file BPy_ViewEdge.cpp.

◆ ViewEdge_Type

PyTypeObject ViewEdge_Type