|
Blender V4.5
|
#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 *) |
| static int | StrokeVertex_attribute_set (BPy_StrokeVertex *self, PyObject *value, void *) |
| 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 *) |
| static int | StrokeVertex_curvilinear_abscissa_set (BPy_StrokeVertex *self, PyObject *value, void *) |
| PyDoc_STRVAR (StrokeVertex_point_doc, "2D point coordinates.\n" "\n" ":type: :class:`mathutils.Vector`") | |
| static PyObject * | StrokeVertex_point_get (BPy_StrokeVertex *self, void *) |
| static int | StrokeVertex_point_set (BPy_StrokeVertex *self, PyObject *value, void *) |
| 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 *) |
| static int | StrokeVertex_stroke_length_set (BPy_StrokeVertex *self, PyObject *value, void *) |
| 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 *) |
Variables | |
| static Mathutils_Callback | StrokeVertex_mathutils_cb |
| static uchar | 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`" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeVertex_curvilinear_abscissa_doc | , |
| "Curvilinear abscissa of this StrokeVertex in the Stroke.\n" "\n" ":type: float" | ) |
References PyDoc_STRVAR().
| 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`" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeVertex_point_doc | , |
| "2D point coordinates.\n" "\n" ":type: :class:`mathutils.Vector`" | ) |
References PyDoc_STRVAR().
| 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" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeVertex_u_doc | , |
| "Curvilinear abscissa of this StrokeVertex in the Stroke.\n" "\n" ":type: float" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 227 of file BPy_StrokeVertex.cpp.
References Freestyle::StrokeVertex::attribute(), BPy_StrokeAttribute_from_StrokeAttribute(), StrokeVertex_attribute_get(), and BPy_StrokeVertex::sv.
Referenced by StrokeVertex_attribute_get().
|
static |
Definition at line 232 of file BPy_StrokeVertex.cpp.
References BPy_StrokeAttribute_Check, Freestyle::StrokeVertex::setAttribute(), StrokeVertex_attribute_set(), and BPy_StrokeVertex::sv.
Referenced by StrokeVertex_attribute_set().
|
static |
Definition at line 249 of file BPy_StrokeVertex.cpp.
References Freestyle::StrokeVertex::curvilinearAbscissa(), StrokeVertex_curvilinear_abscissa_get(), and BPy_StrokeVertex::sv.
Referenced by StrokeVertex_curvilinear_abscissa_get().
|
static |
Definition at line 254 of file BPy_StrokeVertex.cpp.
References Freestyle::StrokeVertex::setCurvilinearAbscissa(), StrokeVertex_curvilinear_abscissa_set(), and BPy_StrokeVertex::sv.
Referenced by StrokeVertex_curvilinear_abscissa_set().
|
static |
Definition at line 58 of file BPy_StrokeVertex.cpp.
References Freestyle::CurvePoint::A(), Freestyle::CurvePoint::B(), BPy_Interface0D::borrowed, BPy_CurvePoint::cp, CurvePoint_Type, BPy_Interface0D::if0D, BPy_StrokeVertex::py_cp, BPy_CurvePoint::py_if0D, StrokeAttribute_Type, Freestyle::StrokeVertex::StrokeVertex(), StrokeVertex_init(), StrokeVertex_Type, BPy_StrokeVertex::sv, and SVertex_Type.
Referenced by StrokeVertex_init().
|
static |
Definition at line 147 of file BPy_StrokeVertex.cpp.
References BPy_StrokeVertex_Check, and StrokeVertex_mathutils_check().
Referenced by StrokeVertex_mathutils_check().
|
static |
Definition at line 155 of file BPy_StrokeVertex.cpp.
References StrokeVertex_mathutils_get(), BPy_StrokeVertex::sv, Freestyle::StrokeVertex::x(), and Freestyle::StrokeVertex::y().
Referenced by StrokeVertex_mathutils_get().
|
static |
Definition at line 171 of file BPy_StrokeVertex.cpp.
References StrokeVertex_mathutils_get_index(), BPy_StrokeVertex::sv, Freestyle::StrokeVertex::x(), and Freestyle::StrokeVertex::y().
Referenced by StrokeVertex_mathutils_get_index().
| void StrokeVertex_mathutils_register_callback | ( | ) |
Definition at line 213 of file BPy_StrokeVertex.cpp.
References Mathutils_RegisterCallback(), StrokeVertex_mathutils_cb, StrokeVertex_mathutils_cb_index, and StrokeVertex_mathutils_register_callback().
Referenced by Interface0D_Init(), and StrokeVertex_mathutils_register_callback().
|
static |
Definition at line 163 of file BPy_StrokeVertex.cpp.
References Freestyle::StrokeVertex::setX(), Freestyle::StrokeVertex::setY(), StrokeVertex_mathutils_set(), and BPy_StrokeVertex::sv.
Referenced by StrokeVertex_mathutils_set().
|
static |
Definition at line 187 of file BPy_StrokeVertex.cpp.
References Freestyle::StrokeVertex::setX(), Freestyle::StrokeVertex::setY(), StrokeVertex_mathutils_set_index(), and BPy_StrokeVertex::sv.
Referenced by StrokeVertex_mathutils_set_index().
|
static |
Definition at line 275 of file BPy_StrokeVertex.cpp.
References StrokeVertex_mathutils_cb_index, StrokeVertex_point_get(), and Vector_CreatePyObject_cb().
Referenced by StrokeVertex_point_get().
|
static |
Definition at line 280 of file BPy_StrokeVertex.cpp.
References mathutils_array_parse(), Freestyle::StrokeVertex::setX(), Freestyle::StrokeVertex::setY(), StrokeVertex_point_set(), BPy_StrokeVertex::sv, and v.
Referenced by StrokeVertex_point_set().
|
static |
Definition at line 299 of file BPy_StrokeVertex.cpp.
References Freestyle::StrokeVertex::strokeLength(), StrokeVertex_stroke_length_get(), and BPy_StrokeVertex::sv.
Referenced by StrokeVertex_stroke_length_get().
|
static |
Definition at line 304 of file BPy_StrokeVertex.cpp.
References Freestyle::StrokeVertex::setStrokeLength(), StrokeVertex_stroke_length_set(), and BPy_StrokeVertex::sv.
Referenced by StrokeVertex_stroke_length_set().
|
static |
Definition at line 325 of file BPy_StrokeVertex.cpp.
References StrokeVertex_u_get(), BPy_StrokeVertex::sv, and Freestyle::StrokeVertex::u().
Referenced by StrokeVertex_u_get().
|
static |
Definition at line 330 of file BPy_StrokeVertex.cpp.
|
static |
Definition at line 203 of file BPy_StrokeVertex.cpp.
Referenced by StrokeVertex_mathutils_register_callback().
|
static |
Definition at line 211 of file BPy_StrokeVertex.cpp.
Referenced by StrokeVertex_mathutils_register_callback(), and StrokeVertex_point_get().
| PyTypeObject StrokeVertex_Type |
Definition at line 357 of file BPy_StrokeVertex.cpp.
Referenced by BPy_StrokeVertex_from_StrokeVertex(), Interface0D_Init(), Stroke_insert_vertex(), Stroke_remove_vertex(), and StrokeVertex_init().