Blender
V3.3
|
#include "BPy_Interface1D.h"
#include "BPy_Convert.h"
#include "Interface1D/BPy_FEdge.h"
#include "Interface1D/BPy_FrsCurve.h"
#include "Interface1D/BPy_Stroke.h"
#include "Interface1D/BPy_ViewEdge.h"
#include "Interface1D/Curve/BPy_Chain.h"
#include "Interface1D/FEdge/BPy_FEdgeSharp.h"
#include "Interface1D/FEdge/BPy_FEdgeSmooth.h"
#include "BPy_MediumType.h"
Go to the source code of this file.
Functions | |
int | Interface1D_Init (PyObject *module) |
PyDoc_STRVAR (Interface1D_doc, "Base class for any 1D element.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.") | |
static int | Interface1D_init (BPy_Interface1D *self, PyObject *args, PyObject *kwds) |
static void | Interface1D_dealloc (BPy_Interface1D *self) |
static PyObject * | Interface1D_repr (BPy_Interface1D *self) |
PyDoc_STRVAR (Interface1D_vertices_begin_doc, ".. method:: vertices_begin()\n" "\n" " Returns an iterator over the Interface1D vertices, pointing to the\n" " first vertex.\n" "\n" " :return: An Interface0DIterator pointing to the first vertex.\n" " :rtype: :class:`Interface0DIterator`") | |
static PyObject * | Interface1D_vertices_begin (BPy_Interface1D *self) |
PyDoc_STRVAR (Interface1D_vertices_end_doc, ".. method:: vertices_end()\n" "\n" " Returns an iterator over the Interface1D vertices, pointing after\n" " the last vertex.\n" "\n" " :return: An Interface0DIterator pointing after the last vertex.\n" " :rtype: :class:`Interface0DIterator`") | |
static PyObject * | Interface1D_vertices_end (BPy_Interface1D *self) |
PyDoc_STRVAR (Interface1D_points_begin_doc, ".. method:: points_begin(t=0.0)\n" "\n" " Returns an iterator over the Interface1D points, pointing to the\n" " first point. The difference with vertices_begin() is that here we can\n" " iterate over points of the 1D element at a any given sampling.\n" " Indeed, for each iteration, a virtual point is created.\n" "\n" " :arg t: A sampling with which we want to iterate over points of\n" " this 1D element.\n" " :type t: float\n" " :return: An Interface0DIterator pointing to the first point.\n" " :rtype: :class:`Interface0DIterator`") | |
static PyObject * | Interface1D_points_begin (BPy_Interface1D *self, PyObject *args, PyObject *kwds) |
PyDoc_STRVAR (Interface1D_points_end_doc, ".. method:: points_end(t=0.0)\n" "\n" " Returns an iterator over the Interface1D points, pointing after the\n" " last point. The difference with vertices_end() is that here we can\n" " iterate over points of the 1D element at a given sampling. Indeed,\n" " for each iteration, a virtual point is created.\n" "\n" " :arg t: A sampling with which we want to iterate over points of\n" " this 1D element.\n" " :type t: float\n" " :return: An Interface0DIterator pointing after the last point.\n" " :rtype: :class:`Interface0DIterator`") | |
static PyObject * | Interface1D_points_end (BPy_Interface1D *self, PyObject *args, PyObject *kwds) |
PyDoc_STRVAR (Interface1D_name_doc, "The string of the name of the 1D element.\n" "\n" ":type: str") | |
static PyObject * | Interface1D_name_get (BPy_Interface1D *self, void *UNUSED(closure)) |
PyDoc_STRVAR (Interface1D_id_doc, "The Id of this Interface1D.\n" "\n" ":type: :class:`Id`") | |
static PyObject * | Interface1D_id_get (BPy_Interface1D *self, void *UNUSED(closure)) |
PyDoc_STRVAR (Interface1D_nature_doc, "The nature of this Interface1D.\n" "\n" ":type: :class:`Nature`") | |
static PyObject * | Interface1D_nature_get (BPy_Interface1D *self, void *UNUSED(closure)) |
PyDoc_STRVAR (Interface1D_length_2d_doc, "The 2D length of this Interface1D.\n" "\n" ":type: float") | |
static PyObject * | Interface1D_length_2d_get (BPy_Interface1D *self, void *UNUSED(closure)) |
PyDoc_STRVAR (Interface1D_time_stamp_doc, "The time stamp of the 1D element, mainly used for selection.\n" "\n" ":type: int") | |
static PyObject * | Interface1D_time_stamp_get (BPy_Interface1D *self, void *UNUSED(closure)) |
static int | Interface1D_time_stamp_set (BPy_Interface1D *self, PyObject *value, void *UNUSED(closure)) |
Variables | |
static PyMethodDef | BPy_Interface1D_methods [] |
static PyGetSetDef | BPy_Interface1D_getseters [] |
PyTypeObject | Interface1D_Type |
|
static |
Definition at line 114 of file BPy_Interface1D.cpp.
References self.
|
static |
Definition at line 247 of file BPy_Interface1D.cpp.
References BPy_Id_from_Id(), id, and self.
|
static |
Definition at line 102 of file BPy_Interface1D.cpp.
int Interface1D_Init | ( | PyObject * | module | ) |
Definition at line 29 of file BPy_Interface1D.cpp.
References BPy_MediumType_DRY_MEDIUM, BPy_MediumType_HUMID_MEDIUM, BPy_MediumType_OPAQUE_MEDIUM, Chain_Type, FEdge_Type, FEdgeSharp_mathutils_register_callback(), FEdgeSharp_Type, FEdgeSmooth_mathutils_register_callback(), FEdgeSmooth_Type, FrsCurve_Type, Interface1D_Type, module, Stroke_Type, and ViewEdge_Type.
Referenced by Freestyle_Init().
|
static |
Definition at line 275 of file BPy_Interface1D.cpp.
References blender::math::length().
|
static |
Definition at line 237 of file BPy_Interface1D.cpp.
|
static |
Definition at line 261 of file BPy_Interface1D.cpp.
References BPy_Nature_from_Nature().
|
static |
Definition at line 172 of file BPy_Interface1D.cpp.
References BPy_Interface0DIterator_from_Interface0DIterator(), and self.
|
static |
Definition at line 198 of file BPy_Interface1D.cpp.
References BPy_Interface0DIterator_from_Interface0DIterator(), and self.
|
static |
Definition at line 122 of file BPy_Interface1D.cpp.
References self.
|
static |
Definition at line 289 of file BPy_Interface1D.cpp.
References self.
|
static |
Definition at line 294 of file BPy_Interface1D.cpp.
|
static |
Definition at line 137 of file BPy_Interface1D.cpp.
References BPy_Interface0DIterator_from_Interface0DIterator(), and self.
|
static |
Definition at line 152 of file BPy_Interface1D.cpp.
References BPy_Interface0DIterator_from_Interface0DIterator(), and self.
PyDoc_STRVAR | ( | Interface1D_doc | , |
"Base class for any 1D element.\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor." | |||
) |
PyDoc_STRVAR | ( | Interface1D_length_2d_doc | , |
"The 2D length of this Interface1D.\n" "\n" ":type: float" | |||
) |
PyDoc_STRVAR | ( | Interface1D_name_doc | , |
"The string of the name of the 1D element.\n" "\n" ":type: str" | |||
) |
PyDoc_STRVAR | ( | Interface1D_nature_doc | , |
"The nature of this Interface1D.\n" "\n" ":type: :class:`Nature`" | |||
) |
PyDoc_STRVAR | ( | Interface1D_points_begin_doc | , |
".. method:: points_begin(t=0.0)\n" "\n" " Returns an iterator over the Interface1D | points, | ||
pointing to the\n" " first point. The difference with vertices_begin() is that here we can\n" " iterate over points of the 1D element at a any given sampling.\n" " | Indeed, | ||
for each | iteration, | ||
a virtual point is created.\n" "\n" " :arg t:A sampling with which we want to iterate over points of\n" " this 1D element.\n" " :type t:float\n" " :return:An Interface0DIterator pointing to the first point.\n" " :rtype::class:`Interface0DIterator`" | |||
) |
PyDoc_STRVAR | ( | Interface1D_points_end_doc | , |
".. method:: points_end(t=0.0)\n" "\n" " Returns an iterator over the Interface1D | points, | ||
pointing after the\n" " last point. The difference with vertices_end() is that here we can\n" " iterate over points of the 1D element at a given sampling. | Indeed, | ||
\n" " for each | iteration, | ||
a virtual point is created.\n" "\n" " :arg t:A sampling with which we want to iterate over points of\n" " this 1D element.\n" " :type t:float\n" " :return:An Interface0DIterator pointing after the last point.\n" " :rtype::class:`Interface0DIterator`" | |||
) |
PyDoc_STRVAR | ( | Interface1D_time_stamp_doc | , |
"The time stamp of the 1D | element, | ||
mainly used for selection.\n" "\n" ":type:int" | |||
) |
PyDoc_STRVAR | ( | Interface1D_vertices_begin_doc | , |
".. method:: vertices_begin()\n" "\n" " Returns an iterator over the Interface1D | vertices, | ||
pointing to the\n" " first vertex.\n" "\n" " :return:An Interface0DIterator pointing to the first vertex.\n" " :rtype::class:`Interface0DIterator`" | |||
) |
PyDoc_STRVAR | ( | Interface1D_vertices_end_doc | , |
".. method:: vertices_end()\n" "\n" " Returns an iterator over the Interface1D | vertices, | ||
pointing after\n" " the last vertex.\n" "\n" " :return:An Interface0DIterator pointing after the last vertex.\n" " :rtype::class:`Interface0DIterator`" | |||
) |
|
static |
Definition at line 308 of file BPy_Interface1D.cpp.
|
static |
Definition at line 210 of file BPy_Interface1D.cpp.
PyTypeObject Interface1D_Type |
Definition at line 327 of file BPy_Interface1D.cpp.
Referenced by BinaryPredicate1D___call__(), BPy_Interface1D_from_Interface1D(), Interface0DIterator_init(), Interface1D_Init(), UnaryFunction1DDouble___call__(), UnaryFunction1DEdgeNature___call__(), UnaryFunction1DFloat___call__(), UnaryFunction1DUnsigned___call__(), UnaryFunction1DVec2f___call__(), UnaryFunction1DVec3f___call__(), UnaryFunction1DVectorViewShape___call__(), UnaryFunction1DVoid___call__(), and UnaryPredicate1D___call__().