|
Blender V5.3
|
Go to the source code of this file.
Macros | |
| #define | ADD_TYPE_CONST(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" ".. attribute:: POINT\n" "\n" " True for any 0D element.\n" "\n" ".. attribute:: S_VERTEX\n" "\n" " True for SVertex.\n" "\n" ".. attribute:: VIEW_VERTEX\n" "\n" " True for ViewVertex.\n" "\n" ".. attribute:: NON_T_VERTEX\n" "\n" " True for NonTVertex.\n" "\n" ".. attribute:: T_VERTEX\n" "\n" " True for TVertex.\n" "\n" ".. attribute:: CUSP\n" "\n" " True for CUSP.\n" "\n" "Edge natures:\n" "\n" ".. attribute:: NO_FEATURE\n" "\n" " True for non feature edges (always false for 1D elements of the ViewMap).\n" "\n" ".. attribute:: SILHOUETTE\n" "\n" " True for silhouettes.\n" "\n" ".. attribute:: BORDER\n" "\n" " True for borders.\n" "\n" ".. attribute:: CREASE\n" "\n" " True for creases.\n" "\n" ".. attribute:: RIDGE\n" "\n" " True for ridges.\n" "\n" ".. attribute:: VALLEY\n" "\n" " True for valleys.\n" "\n" ".. attribute:: SUGGESTIVE_CONTOUR\n" "\n" " True for suggestive contours.\n" "\n" ".. attribute:: MATERIAL_BOUNDARY\n" "\n" " True for edges at material boundaries.\n" "\n" ".. attribute:: EDGE_MARK\n" "\n" " True for edges having user-defined edge marks.\n") | |
| 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 | ) |
|
static |
Definition at line 250 of file BPy_Nature.cpp.
References b, BPy_Nature_and(), and BPy_Nature_bitwise().
Referenced by BPy_Nature_and().
|
static |
Definition at line 216 of file BPy_Nature.cpp.
References b, BPy_Nature_bitwise(), BPy_Nature_Check, Nature_Type, and PyLong_subtype_new().
Referenced by BPy_Nature_and(), BPy_Nature_bitwise(), BPy_Nature_or(), and BPy_Nature_xor().
|
static |
Definition at line 260 of file BPy_Nature.cpp.
References b, BPy_Nature_bitwise(), and BPy_Nature_or().
Referenced by BPy_Nature_or().
|
static |
Definition at line 255 of file BPy_Nature.cpp.
References b, BPy_Nature_bitwise(), and BPy_Nature_xor().
Referenced by BPy_Nature_xor().
| int Nature_Init | ( | PyObject * | module | ) |
Definition at line 178 of file BPy_Nature.cpp.
References ADD_TYPE_CONST, EDGE_MARK, Nature_Init(), and Nature_Type.
Referenced by Freestyle_Init(), and Nature_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" ".. attribute::POINT\n" "\n" " True for any 0D element.\n" "\n" ".. attribute::S_VERTEX\n" "\n" " True for SVertex.\n" "\n" ".. attribute::VIEW_VERTEX\n" "\n" " True for ViewVertex.\n" "\n" ".. attribute::NON_T_VERTEX\n" "\n" " True for NonTVertex.\n" "\n" ".. attribute::T_VERTEX\n" "\n" " True for TVertex.\n" "\n" ".. attribute::CUSP\n" "\n" " True for CUSP.\n" "\n" "Edge natures:\n" "\n" ".. attribute::NO_FEATURE\n" "\n" " True for non feature edges(always false for 1D elements of the ViewMap).\n" "\n" ".. attribute::SILHOUETTE\n" "\n" " True for silhouettes.\n" "\n" ".. attribute::BORDER\n" "\n" " True for borders.\n" "\n" ".. attribute::CREASE\n" "\n" " True for creases.\n" "\n" ".. attribute::RIDGE\n" "\n" " True for ridges.\n" "\n" ".. attribute::VALLEY\n" "\n" " True for valleys.\n" "\n" ".. attribute::SUGGESTIVE_CONTOUR\n" "\n" " True for suggestive contours.\n" "\n" ".. attribute::MATERIAL_BOUNDARY\n" "\n" " True for edges at material boundaries.\n" "\n" ".. attribute::EDGE_MARK\n" "\n" " True for edges having user-defined edge marks.\n" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 23 of file BPy_Nature.cpp.
| PyTypeObject Nature_Type |
Definition at line 134 of file BPy_Nature.cpp.
Referenced by BPy_Nature_bitwise(), BPy_Nature_from_Nature(), and Nature_Init().