|
Blender V4.3
|
Go to the source code of this file.
Macros | |
| #define | ADD_TYPE_CONST(id) PyLong_subtype_add_to_dict(Nature_Type.tp_dict, &Nature_Type, STRINGIFY(id), Nature::id) |
Functions | |
| static PyObject * | BPy_Nature_and (PyObject *a, PyObject *b) |
| static PyObject * | BPy_Nature_xor (PyObject *a, PyObject *b) |
| static PyObject * | BPy_Nature_or (PyObject *a, PyObject *b) |
| PyDoc_STRVAR (Nature_doc, "Class hierarchy: int > :class:`Nature`\n" "\n" "Different possible natures of 0D and 1D elements of the ViewMap.\n" "\n" "Vertex natures:\n" "\n" "* Nature.POINT: True for any 0D element.\n" "* Nature.S_VERTEX: True for SVertex.\n" "* Nature.VIEW_VERTEX: True for ViewVertex.\n" "* Nature.NON_T_VERTEX: True for NonTVertex.\n" "* Nature.T_VERTEX: True for TVertex.\n" "* Nature.CUSP: True for CUSP.\n" "\n" "Edge natures:\n" "\n" "* Nature.NO_FEATURE: True for non feature edges (always false for 1D\n" " elements of the ViewMap).\n" "* Nature.SILHOUETTE: True for silhouettes.\n" "* Nature.BORDER: True for borders.\n" "* Nature.CREASE: True for creases.\n" "* Nature.RIDGE: True for ridges.\n" "* Nature.VALLEY: True for valleys.\n" "* Nature.SUGGESTIVE_CONTOUR: True for suggestive contours.\n" "* Nature.MATERIAL_BOUNDARY: True for edges at material boundaries.\n" "* Nature.EDGE_MARK: True for edges having user-defined edge marks.") | |
| int | Nature_Init (PyObject *module) |
| static PyObject * | BPy_Nature_bitwise (PyObject *a, int op, PyObject *b) |
Variables | |
| static PyNumberMethods | nature_as_number |
| PyTypeObject | Nature_Type |
| #define ADD_TYPE_CONST | ( | id | ) | PyLong_subtype_add_to_dict(Nature_Type.tp_dict, &Nature_Type, STRINGIFY(id), Nature::id) |
Referenced by Nature_Init().
|
static |
Definition at line 222 of file BPy_Nature.cpp.
References b, and BPy_Nature_bitwise().
|
static |
Definition at line 181 of file BPy_Nature.cpp.
References b, BPy_Nature_Check, Nature_Type, PyLong_subtype_new(), result, and v.
Referenced by BPy_Nature_and(), BPy_Nature_or(), and BPy_Nature_xor().
|
static |
Definition at line 232 of file BPy_Nature.cpp.
References b, and BPy_Nature_bitwise().
|
static |
Definition at line 227 of file BPy_Nature.cpp.
References b, and BPy_Nature_bitwise().
| int Nature_Init | ( | PyObject * | module | ) |
Definition at line 143 of file BPy_Nature.cpp.
References ADD_TYPE_CONST, EDGE_MARK, module, and Nature_Type.
Referenced by Freestyle_Init().
| PyDoc_STRVAR | ( | Nature_doc | , |
| "Class hierarchy: int | , | ||
| :class:`Nature`\n" "\n" "Different possible natures of 0D and 1D elements of the ViewMap.\n" "\n" "Vertex natures:\n" "\n" " *Nature.POINT:True for any 0D element.\n" " *Nature.S_VERTEX:True for SVertex.\n" " *Nature.VIEW_VERTEX:True for ViewVertex.\n" " *Nature.NON_T_VERTEX:True for NonTVertex.\n" " *Nature.T_VERTEX:True for TVertex.\n" " *Nature.CUSP:True for CUSP.\n" "\n" "Edge natures:\n" "\n" " *Nature.NO_FEATURE:True for non feature edges(always false for 1D\n" " elements of the ViewMap).\n" " *Nature.SILHOUETTE:True for silhouettes.\n" " *Nature.BORDER:True for borders.\n" " *Nature.CREASE:True for creases.\n" " *Nature.RIDGE:True for ridges.\n" " *Nature.VALLEY:True for valleys.\n" " *Nature.SUGGESTIVE_CONTOUR:True for suggestive contours.\n" " *Nature.MATERIAL_BOUNDARY:True for edges at material boundaries.\n" " *Nature.EDGE_MARK:True for edges having user-defined edge marks." | ) |
|
static |
Definition at line 27 of file BPy_Nature.cpp.
| PyTypeObject Nature_Type |
Definition at line 99 of file BPy_Nature.cpp.
Referenced by BPy_Nature_bitwise(), BPy_Nature_from_Nature(), and Nature_Init().