Blender
V3.3
|
#include "BPy_StrokeVertex.h"
#include "../../BPy_Convert.h"
#include "../../BPy_Freestyle.h"
#include "../../BPy_StrokeAttribute.h"
#include "../../Interface0D/BPy_SVertex.h"
Go to the source code of this file.
Functions | |
PyDoc_STRVAR (StrokeVertex_doc, "Class hierarchy: :class:`Interface0D` > :class:`CurvePoint` > :class:`StrokeVertex`\n" "\n" "Class to define a stroke vertex.\n" "\n" ".. method:: __init__()\n" " __init__(brother)\n" " __init__(first_vertex, second_vertex, t3d)\n" " __init__(point)\n" " __init__(svertex)\n" " __init__(svertex, attribute)\n" "\n" " Builds a :class:`StrokeVertex` using the default constructor,\n" " copy constructor, from 2 :class:`StrokeVertex` and an interpolation parameter,\n" " from a CurvePoint, from a SVertex, or a :class:`SVertex`" " and a :class:`StrokeAttribute` object.\n" "\n" " :arg brother: A StrokeVertex object.\n" " :type brother: :class:`StrokeVertex`\n" " :arg first_vertex: The first StrokeVertex.\n" " :type first_vertex: :class:`StrokeVertex`\n" " :arg second_vertex: The second StrokeVertex.\n" " :type second_vertex: :class:`StrokeVertex`\n" " :arg t3d: An interpolation parameter.\n" " :type t3d: float\n" " :arg point: A CurvePoint object.\n" " :type point: :class:`CurvePoint`\n" " :arg svertex: An SVertex object.\n" " :type svertex: :class:`SVertex`\n" " :arg svertex: An SVertex object.\n" " :type svertex: :class:`SVertex`\n" " :arg attribute: A StrokeAttribute object.\n" " :type attribute: :class:`StrokeAttribute`") | |
static int | StrokeVertex_init (BPy_StrokeVertex *self, PyObject *args, PyObject *kwds) |
static int | StrokeVertex_mathutils_check (BaseMathObject *bmo) |
static int | StrokeVertex_mathutils_get (BaseMathObject *bmo, int) |
static int | StrokeVertex_mathutils_set (BaseMathObject *bmo, int) |
static int | StrokeVertex_mathutils_get_index (BaseMathObject *bmo, int, int index) |
static int | StrokeVertex_mathutils_set_index (BaseMathObject *bmo, int, int index) |
void | StrokeVertex_mathutils_register_callback () |
PyDoc_STRVAR (StrokeVertex_attribute_doc, "StrokeAttribute for this StrokeVertex.\n" "\n" ":type: :class:`StrokeAttribute`") | |
static PyObject * | StrokeVertex_attribute_get (BPy_StrokeVertex *self, void *UNUSED(closure)) |
static int | StrokeVertex_attribute_set (BPy_StrokeVertex *self, PyObject *value, void *UNUSED(closure)) |
PyDoc_STRVAR (StrokeVertex_curvilinear_abscissa_doc, "Curvilinear abscissa of this StrokeVertex in the Stroke.\n" "\n" ":type: float") | |
static PyObject * | StrokeVertex_curvilinear_abscissa_get (BPy_StrokeVertex *self, void *UNUSED(closure)) |
static int | StrokeVertex_curvilinear_abscissa_set (BPy_StrokeVertex *self, PyObject *value, void *UNUSED(closure)) |
PyDoc_STRVAR (StrokeVertex_point_doc, "2D point coordinates.\n" "\n" ":type: :class:`mathutils.Vector`") | |
static PyObject * | StrokeVertex_point_get (BPy_StrokeVertex *self, void *UNUSED(closure)) |
static int | StrokeVertex_point_set (BPy_StrokeVertex *self, PyObject *value, void *UNUSED(closure)) |
PyDoc_STRVAR (StrokeVertex_stroke_length_doc, "Stroke length (it is only a value retained by the StrokeVertex,\n" "and it won't change the real stroke length).\n" "\n" ":type: float") | |
static PyObject * | StrokeVertex_stroke_length_get (BPy_StrokeVertex *self, void *UNUSED(closure)) |
static int | StrokeVertex_stroke_length_set (BPy_StrokeVertex *self, PyObject *value, void *UNUSED(closure)) |
PyDoc_STRVAR (StrokeVertex_u_doc, "Curvilinear abscissa of this StrokeVertex in the Stroke.\n" "\n" ":type: float") | |
static PyObject * | StrokeVertex_u_get (BPy_StrokeVertex *self, void *UNUSED(closure)) |
Variables | |
static Mathutils_Callback | StrokeVertex_mathutils_cb |
static unsigned char | StrokeVertex_mathutils_cb_index = -1 |
static PyGetSetDef | BPy_StrokeVertex_getseters [] |
PyTypeObject | StrokeVertex_Type |
PyDoc_STRVAR | ( | StrokeVertex_attribute_doc | , |
"StrokeAttribute for this StrokeVertex.\n" "\n" ":type: :class:`StrokeAttribute`" | |||
) |
PyDoc_STRVAR | ( | StrokeVertex_curvilinear_abscissa_doc | , |
"Curvilinear abscissa of this StrokeVertex in the Stroke.\n" "\n" ":type: float" | |||
) |
PyDoc_STRVAR | ( | StrokeVertex_doc | , |
"Class hierarchy: :class:`Interface0D` | , | ||
:class:`CurvePoint` | , | ||
:class:`StrokeVertex`\n" "\n" "Class to define a stroke vertex.\n" "\n" ".. method::__init__()\n" " __init__(brother)\n" " __init__(first_vertex, second_vertex, t3d)\n" " __init__(point)\n" " __init__(svertex)\n" " __init__(svertex, attribute)\n" "\n" " Builds a :class:`StrokeVertex` using the default | constructor, | ||
\n" " copy | constructor, | ||
from 2 :class:`StrokeVertex` and an interpolation | parameter, | ||
\n" " from a | CurvePoint, | ||
from a | SVertex, | ||
or a :class:`SVertex`" " and a :class:`StrokeAttribute` object.\n" "\n" " :arg brother:A StrokeVertex object.\n" " :type brother::class:`StrokeVertex`\n" " :arg first_vertex:The first StrokeVertex.\n" " :type first_vertex::class:`StrokeVertex`\n" " :arg second_vertex:The second StrokeVertex.\n" " :type second_vertex::class:`StrokeVertex`\n" " :arg t3d:An interpolation parameter.\n" " :type t3d:float\n" " :arg point:A CurvePoint object.\n" " :type point::class:`CurvePoint`\n" " :arg svertex:An SVertex object.\n" " :type svertex::class:`SVertex`\n" " :arg svertex:An SVertex object.\n" " :type svertex::class:`SVertex`\n" " :arg attribute:A StrokeAttribute object.\n" " :type attribute::class:`StrokeAttribute`" | |||
) |
PyDoc_STRVAR | ( | StrokeVertex_point_doc | , |
"2D point coordinates.\n" "\n" ":type: :class:`mathutils.Vector`" | |||
) |
PyDoc_STRVAR | ( | StrokeVertex_stroke_length_doc | , |
"Stroke length (it is only a value retained by the StrokeVertex,\n" "and it won't change the real stroke length).\n" "\n" ":type: float" | |||
) |
PyDoc_STRVAR | ( | StrokeVertex_u_doc | , |
"Curvilinear abscissa of this StrokeVertex in the Stroke.\n" "\n" ":type: float" | |||
) |
|
static |
Definition at line 223 of file BPy_StrokeVertex.cpp.
References BPy_StrokeAttribute_from_StrokeAttribute(), and self.
|
static |
Definition at line 228 of file BPy_StrokeVertex.cpp.
References BPy_StrokeAttribute_Check.
|
static |
Definition at line 245 of file BPy_StrokeVertex.cpp.
References self.
|
static |
Definition at line 251 of file BPy_StrokeVertex.cpp.
|
static |
Definition at line 59 of file BPy_StrokeVertex.cpp.
References Freestyle::CurvePoint::A(), Freestyle::CurvePoint::B(), CurvePoint_Type, StrokeAttribute_Type, StrokeVertex_Type, and SVertex_Type.
|
static |
Definition at line 145 of file BPy_StrokeVertex.cpp.
References BPy_StrokeVertex_Check.
|
static |
Definition at line 153 of file BPy_StrokeVertex.cpp.
|
static |
Definition at line 169 of file BPy_StrokeVertex.cpp.
void StrokeVertex_mathutils_register_callback | ( | ) |
Definition at line 211 of file BPy_StrokeVertex.cpp.
References Mathutils_RegisterCallback(), StrokeVertex_mathutils_cb, and StrokeVertex_mathutils_cb_index.
Referenced by Interface0D_Init().
|
static |
Definition at line 161 of file BPy_StrokeVertex.cpp.
References self.
|
static |
Definition at line 185 of file BPy_StrokeVertex.cpp.
|
static |
Definition at line 270 of file BPy_StrokeVertex.cpp.
References StrokeVertex_mathutils_cb_index, and Vector_CreatePyObject_cb().
|
static |
Definition at line 275 of file BPy_StrokeVertex.cpp.
References mathutils_array_parse(), and v.
|
static |
Definition at line 292 of file BPy_StrokeVertex.cpp.
References self.
|
static |
Definition at line 297 of file BPy_StrokeVertex.cpp.
|
static |
Definition at line 316 of file BPy_StrokeVertex.cpp.
References self.
|
static |
Definition at line 321 of file BPy_StrokeVertex.cpp.
|
static |
Definition at line 201 of file BPy_StrokeVertex.cpp.
Referenced by StrokeVertex_mathutils_register_callback().
|
static |
Definition at line 209 of file BPy_StrokeVertex.cpp.
Referenced by StrokeVertex_mathutils_register_callback(), and StrokeVertex_point_get().
PyTypeObject StrokeVertex_Type |
Definition at line 347 of file BPy_StrokeVertex.cpp.
Referenced by BPy_StrokeVertex_from_StrokeVertex(), Interface0D_Init(), Stroke_insert_vertex(), Stroke_remove_vertex(), and StrokeVertex_init().