39 "Class to define a set of attributes associated with a :class:`StrokeVertex`.\n"
40 "The attribute set stores the color, alpha and thickness values for a Stroke\n"
43 ".. method:: __init__()\n"
44 " __init__(brother)\n"
45 " __init__(red, green, blue, alpha, thickness_right, thickness_left)\n"
46 " __init__(attribute1, attribute2, t)\n"
48 " Creates a :class:`StrokeAttribute` object using either a default constructor,\n"
49 " copy constructor, overloaded constructor, or and interpolation constructor\n"
50 " to interpolate between two :class:`StrokeAttribute` objects.\n"
52 " :arg brother: A StrokeAttribute object to be used as a copy constructor.\n"
53 " :type brother: :class:`StrokeAttribute`\n"
54 " :arg red: Red component of a stroke color.\n"
56 " :arg green: Green component of a stroke color.\n"
57 " :type green: float\n"
58 " :arg blue: Blue component of a stroke color.\n"
59 " :type blue: float\n"
60 " :arg alpha: Alpha component of a stroke color.\n"
61 " :type alpha: float\n"
62 " :arg thickness_right: Stroke thickness on the right.\n"
63 " :type thickness_right: float\n"
64 " :arg thickness_left: Stroke thickness on the left.\n"
65 " :type thickness_left: float\n"
66 " :arg attribute1: The first StrokeAttribute object.\n"
67 " :type attribute1: :class:`StrokeAttribute`\n"
68 " :arg attribute2: The second StrokeAttribute object.\n"
69 " :type attribute2: :class:`StrokeAttribute`\n"
70 " :arg t: The interpolation parameter (0 <= t <= 1).\n"
75 static const char *kwlist_1[] = {
"brother",
nullptr};
76 static const char *kwlist_2[] = {
"attribute1",
"attribute2",
"t",
nullptr};
77 static const char *kwlist_3[] = {
78 "red",
"green",
"blue",
"alpha",
"thickness_right",
"thickness_left",
nullptr};
79 PyObject *obj1 =
nullptr, *obj2 =
nullptr;
80 float red,
green,
blue, alpha, thickness_right, thickness_left,
t;
82 if (PyArg_ParseTupleAndKeywords(
91 else if ((
void)PyErr_Clear(),
92 PyArg_ParseTupleAndKeywords(args,
104 else if ((
void)PyErr_Clear(),
105 PyArg_ParseTupleAndKeywords(args,
118 PyErr_SetString(PyExc_TypeError,
"invalid argument(s)");
121 self->borrowed =
false;
130 Py_TYPE(
self)->tp_free((PyObject *)
self);
135 stringstream repr(
"StrokeAttribute:");
136 repr <<
" r: " <<
self->sa->getColorR() <<
" g: " <<
self->sa->getColorG()
137 <<
" b: " <<
self->sa->getColorB() <<
" a: " <<
self->sa->getAlpha()
138 <<
" - R: " <<
self->sa->getThicknessR() <<
" L: " <<
self->sa->getThicknessL();
140 return PyUnicode_FromString(repr.str().c_str());
144 ".. method:: get_attribute_real(name)\n"
146 " Returns an attribute of float type.\n"
148 " :arg name: The name of the attribute.\n"
150 " :return: The attribute value.\n"
157 static const char *kwlist[] = {
"name",
nullptr};
160 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"s", (
char **)kwlist, &attr)) {
163 double a =
self->sa->getAttributeReal(attr);
164 return PyFloat_FromDouble(
a);
168 ".. method:: get_attribute_vec2(name)\n"
170 " Returns an attribute of two-dimensional vector type.\n"
172 " :arg name: The name of the attribute.\n"
174 " :return: The attribute value.\n"
175 " :rtype: :class:`mathutils.Vector`\n");
181 static const char *kwlist[] = {
"name",
nullptr};
184 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"s", (
char **)kwlist, &attr)) {
187 Vec2f a =
self->sa->getAttributeVec2f(attr);
192 ".. method:: get_attribute_vec3(name)\n"
194 " Returns an attribute of three-dimensional vector type.\n"
196 " :arg name: The name of the attribute.\n"
198 " :return: The attribute value.\n"
199 " :rtype: :class:`mathutils.Vector`\n");
205 static const char *kwlist[] = {
"name",
nullptr};
208 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"s", (
char **)kwlist, &attr)) {
211 Vec3f a =
self->sa->getAttributeVec3f(attr);
216 ".. method:: has_attribute_real(name)\n"
218 " Checks whether the attribute name of float type is available.\n"
220 " :arg name: The name of the attribute.\n"
222 " :return: True if the attribute is available.\n"
229 static const char *kwlist[] = {
"name",
nullptr};
232 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"s", (
char **)kwlist, &attr)) {
239 ".. method:: has_attribute_vec2(name)\n"
241 " Checks whether the attribute name of two-dimensional vector type\n"
244 " :arg name: The name of the attribute.\n"
246 " :return: True if the attribute is available.\n"
253 static const char *kwlist[] = {
"name",
nullptr};
256 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"s", (
char **)kwlist, &attr)) {
263 ".. method:: has_attribute_vec3(name)\n"
265 " Checks whether the attribute name of three-dimensional vector\n"
266 " type is available.\n"
268 " :arg name: The name of the attribute.\n"
270 " :return: True if the attribute is available.\n"
277 static const char *kwlist[] = {
"name",
nullptr};
280 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"s", (
char **)kwlist, &attr)) {
287 ".. method:: set_attribute_real(name, value)\n"
289 " Adds a user-defined attribute of float type. If there is no\n"
290 " attribute of the given name, it is added. Otherwise, the new value\n"
291 " replaces the old one.\n"
293 " :arg name: The name of the attribute.\n"
295 " :arg value: The attribute value.\n"
296 " :type value: float\n");
302 static const char *kwlist[] = {
"name",
"value",
nullptr};
306 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"sd", (
char **)kwlist, &s, &d)) {
309 self->sa->setAttributeReal(s, d);
314 ".. method:: set_attribute_vec2(name, value)\n"
316 " Adds a user-defined attribute of two-dimensional vector type. If\n"
317 " there is no attribute of the given name, it is added. Otherwise,\n"
318 " the new value replaces the old one.\n"
320 " :arg name: The name of the attribute.\n"
322 " :arg value: The attribute value.\n"
323 " :type value: :class:`mathutils.Vector`, list or tuple of 2 real numbers\n");
329 static const char *kwlist[] = {
"name",
"value",
nullptr};
331 PyObject *obj =
nullptr;
334 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"sO", (
char **)kwlist, &s, &obj)) {
338 PyErr_SetString(PyExc_TypeError,
339 "argument 2 must be a 2D vector (either a list of 2 elements or Vector)");
342 self->sa->setAttributeVec2f(s, vec);
347 ".. method:: set_attribute_vec3(name, value)\n"
349 " Adds a user-defined attribute of three-dimensional vector type.\n"
350 " If there is no attribute of the given name, it is added.\n"
351 " Otherwise, the new value replaces the old one.\n"
353 " :arg name: The name of the attribute.\n"
355 " :arg value: The attribute value.\n"
356 " :type value: :class:`mathutils.Vector`, list or tuple of 3 real numbers\n");
362 static const char *kwlist[] = {
"name",
"value",
nullptr};
364 PyObject *obj =
nullptr;
367 if (!PyArg_ParseTupleAndKeywords(args, kwds,
"sO", (
char **)kwlist, &s, &obj)) {
371 PyErr_SetString(PyExc_TypeError,
372 "argument 2 must be a 3D vector (either a list of 3 elements or Vector)");
375 self->sa->setAttributeVec3f(s, vec);
380 {
"get_attribute_real",
382 METH_VARARGS | METH_KEYWORDS,
383 StrokeAttribute_get_attribute_real_doc},
384 {
"get_attribute_vec2",
386 METH_VARARGS | METH_KEYWORDS,
387 StrokeAttribute_get_attribute_vec2_doc},
388 {
"get_attribute_vec3",
390 METH_VARARGS | METH_KEYWORDS,
391 StrokeAttribute_get_attribute_vec3_doc},
392 {
"has_attribute_real",
394 METH_VARARGS | METH_KEYWORDS,
395 StrokeAttribute_has_attribute_real_doc},
396 {
"has_attribute_vec2",
398 METH_VARARGS | METH_KEYWORDS,
399 StrokeAttribute_has_attribute_vec2_doc},
400 {
"has_attribute_vec3",
402 METH_VARARGS | METH_KEYWORDS,
403 StrokeAttribute_has_attribute_vec3_doc},
404 {
"set_attribute_real",
406 METH_VARARGS | METH_KEYWORDS,
407 StrokeAttribute_set_attribute_real_doc},
408 {
"set_attribute_vec2",
410 METH_VARARGS | METH_KEYWORDS,
411 StrokeAttribute_set_attribute_vec2_doc},
412 {
"set_attribute_vec3",
414 METH_VARARGS | METH_KEYWORDS,
415 StrokeAttribute_set_attribute_vec3_doc},
416 {
nullptr,
nullptr, 0,
nullptr},
422 #define MATHUTILS_SUBTYPE_COLOR 1
423 #define MATHUTILS_SUBTYPE_THICKNESS 2
438 bmo->data[0] =
self->sa->getColorR();
439 bmo->data[1] =
self->sa->getColorG();
440 bmo->data[2] =
self->sa->getColorB();
443 bmo->data[0] =
self->sa->getThicknessR();
444 bmo->data[1] =
self->sa->getThicknessL();
457 self->sa->setColor(bmo->data[0], bmo->data[1], bmo->data[2]);
460 self->sa->setThickness(bmo->data[0], bmo->data[1]);
475 bmo->data[0] =
self->sa->getColorR();
478 bmo->data[1] =
self->sa->getColorG();
481 bmo->data[2] =
self->sa->getColorB();
490 bmo->data[0] =
self->sa->getThicknessR();
493 bmo->data[1] =
self->sa->getThicknessL();
510 float r = (index == 0) ? bmo->data[0] :
self->sa->getColorR();
511 float g = (index == 1) ? bmo->data[1] :
self->sa->getColorG();
512 float b = (index == 2) ? bmo->data[2] :
self->sa->getColorB();
513 self->sa->setColor(
r,
g,
b);
516 float tr = (index == 0) ? bmo->data[0] :
self->sa->getThicknessR();
517 float tl = (index == 1) ? bmo->data[1] :
self->sa->getThicknessL();
518 self->sa->setThickness(tr, tl);
544 "Alpha component of the stroke color.\n"
550 return PyFloat_FromDouble(
self->sa->getAlpha());
558 if ((scalar = PyFloat_AsDouble(value)) == -1.0f && PyErr_Occurred()) {
560 PyErr_SetString(PyExc_TypeError,
"value must be a number");
563 self->sa->setAlpha(scalar);
568 "RGB components of the stroke color.\n"
570 ":type: :class:`mathutils.Color`");
586 self->sa->setColor(
v[0],
v[1],
v[2]);
591 "Right and left components of the stroke thickness.\n"
592 "The right (left) component is the thickness on the right (left) of the vertex\n"
593 "when following the stroke.\n"
595 ":type: :class:`mathutils.Vector`");
611 self->sa->setThickness(
v[0],
v[1]);
616 "The visibility flag. True if the StrokeVertex is visible.\n"
629 if (!PyBool_Check(value)) {
630 PyErr_SetString(PyExc_TypeError,
"value must be boolean");
641 StrokeAttribute_alpha_doc,
646 StrokeAttribute_color_doc,
651 StrokeAttribute_thickness_doc,
656 StrokeAttribute_visible_doc,
658 {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr}
664 PyVarObject_HEAD_INIT(
nullptr, 0)
"StrokeAttribute",
682 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
PyObject * Vector_from_Vec3f(Vec3f &vec)
PyObject * PyBool_from_bool(bool b)
bool bool_from_PyBool(PyObject *b)
bool Vec3f_ptr_from_PyObject(PyObject *obj, Vec3f &vec)
bool Vec2f_ptr_from_PyObject(PyObject *obj, Vec2f &vec)
PyObject * Vector_from_Vec2f(Vec2f &vec)
static int StrokeAttribute_color_set(BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
static unsigned char StrokeAttribute_mathutils_cb_index
static PyObject * StrokeAttribute_color_get(BPy_StrokeAttribute *self, void *UNUSED(closure))
static int StrokeAttribute_init(BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds)
static PyObject * StrokeAttribute_get_attribute_real(BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds)
static PyObject * StrokeAttribute_set_attribute_vec3(BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds)
static int StrokeAttribute_mathutils_set(BaseMathObject *bmo, int subtype)
static PyObject * StrokeAttribute_alpha_get(BPy_StrokeAttribute *self, void *UNUSED(closure))
static PyObject * StrokeAttribute_get_attribute_vec2(BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds)
static int StrokeAttribute_visible_set(BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
PyTypeObject StrokeAttribute_Type
static int StrokeAttribute_alpha_set(BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
static PyObject * StrokeAttribute_set_attribute_vec2(BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds)
#define MATHUTILS_SUBTYPE_THICKNESS
static PyObject * StrokeAttribute_has_attribute_vec2(BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds)
static PyObject * StrokeAttribute_has_attribute_vec3(BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds)
static PyObject * StrokeAttribute_repr(BPy_StrokeAttribute *self)
static int StrokeAttribute_mathutils_get_index(BaseMathObject *bmo, int subtype, int index)
void StrokeAttribute_mathutils_register_callback()
static PyMethodDef BPy_StrokeAttribute_methods[]
static Mathutils_Callback StrokeAttribute_mathutils_cb
static PyGetSetDef BPy_StrokeAttribute_getseters[]
static PyObject * StrokeAttribute_thickness_get(BPy_StrokeAttribute *self, void *UNUSED(closure))
PyDoc_STRVAR(StrokeAttribute_doc, "Class to define a set of attributes associated with a :class:`StrokeVertex`.\n" "The attribute set stores the color, alpha and thickness values for a Stroke\n" "Vertex.\n" "\n" ".. method:: __init__()\n" " __init__(brother)\n" " __init__(red, green, blue, alpha, thickness_right, thickness_left)\n" " __init__(attribute1, attribute2, t)\n" "\n" " Creates a :class:`StrokeAttribute` object using either a default constructor,\n" " copy constructor, overloaded constructor, or and interpolation constructor\n" " to interpolate between two :class:`StrokeAttribute` objects.\n" "\n" " :arg brother: A StrokeAttribute object to be used as a copy constructor.\n" " :type brother: :class:`StrokeAttribute`\n" " :arg red: Red component of a stroke color.\n" " :type red: float\n" " :arg green: Green component of a stroke color.\n" " :type green: float\n" " :arg blue: Blue component of a stroke color.\n" " :type blue: float\n" " :arg alpha: Alpha component of a stroke color.\n" " :type alpha: float\n" " :arg thickness_right: Stroke thickness on the right.\n" " :type thickness_right: float\n" " :arg thickness_left: Stroke thickness on the left.\n" " :type thickness_left: float\n" " :arg attribute1: The first StrokeAttribute object.\n" " :type attribute1: :class:`StrokeAttribute`\n" " :arg attribute2: The second StrokeAttribute object.\n" " :type attribute2: :class:`StrokeAttribute`\n" " :arg t: The interpolation parameter (0 <= t <= 1).\n" " :type t: float\n")
static PyObject * StrokeAttribute_has_attribute_real(BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds)
static int StrokeAttribute_mathutils_check(BaseMathObject *bmo)
static int StrokeAttribute_mathutils_get(BaseMathObject *bmo, int subtype)
#define MATHUTILS_SUBTYPE_COLOR
static int StrokeAttribute_mathutils_set_index(BaseMathObject *bmo, int subtype, int index)
static int StrokeAttribute_thickness_set(BPy_StrokeAttribute *self, PyObject *value, void *UNUSED(closure))
static PyObject * StrokeAttribute_visible_get(BPy_StrokeAttribute *self, void *UNUSED(closure))
static void StrokeAttribute_dealloc(BPy_StrokeAttribute *self)
static PyObject * StrokeAttribute_get_attribute_vec3(BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds)
static PyObject * StrokeAttribute_set_attribute_real(BPy_StrokeAttribute *self, PyObject *args, PyObject *kwds)
int StrokeAttribute_Init(PyObject *module)
#define BPy_StrokeAttribute_Check(v)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble u2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLdouble GLdouble v2 _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLdouble GLdouble nz _GL_VOID_RET _GL_VOID GLfloat GLfloat nz _GL_VOID_RET _GL_VOID GLint GLint nz _GL_VOID_RET _GL_VOID GLshort GLshort nz _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const GLfloat *values _GL_VOID_RET _GL_VOID GLsizei const GLushort *values _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID const GLuint const GLclampf *priorities _GL_VOID_RET _GL_VOID GLdouble y _GL_VOID_RET _GL_VOID GLfloat y _GL_VOID_RET _GL_VOID GLint y _GL_VOID_RET _GL_VOID GLshort y _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLfloat GLfloat z _GL_VOID_RET _GL_VOID GLint GLint z _GL_VOID_RET _GL_VOID GLshort GLshort z _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble w _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat w _GL_VOID_RET _GL_VOID GLint GLint GLint w _GL_VOID_RET _GL_VOID GLshort GLshort GLshort w _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble y2 _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat y2 _GL_VOID_RET _GL_VOID GLint GLint GLint y2 _GL_VOID_RET _GL_VOID GLshort GLshort GLshort y2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLuint *buffer _GL_VOID_RET _GL_VOID GLdouble t _GL_VOID_RET _GL_VOID GLfloat t _GL_VOID_RET _GL_VOID GLint t _GL_VOID_RET _GL_VOID GLshort t _GL_VOID_RET _GL_VOID GLdouble GLdouble r _GL_VOID_RET _GL_VOID GLfloat GLfloat r _GL_VOID_RET _GL_VOID GLint GLint r _GL_VOID_RET _GL_VOID GLshort GLshort r _GL_VOID_RET _GL_VOID GLdouble GLdouble r
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte blue
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble u2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLdouble GLdouble v2 _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLdouble GLdouble nz _GL_VOID_RET _GL_VOID GLfloat GLfloat nz _GL_VOID_RET _GL_VOID GLint GLint nz _GL_VOID_RET _GL_VOID GLshort GLshort nz _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const GLfloat *values _GL_VOID_RET _GL_VOID GLsizei const GLushort *values _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID const GLuint const GLclampf *priorities _GL_VOID_RET _GL_VOID GLdouble y _GL_VOID_RET _GL_VOID GLfloat y _GL_VOID_RET _GL_VOID GLint y _GL_VOID_RET _GL_VOID GLshort y _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLfloat GLfloat z _GL_VOID_RET _GL_VOID GLint GLint z _GL_VOID_RET _GL_VOID GLshort GLshort z _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble w _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat w _GL_VOID_RET _GL_VOID GLint GLint GLint w _GL_VOID_RET _GL_VOID GLshort GLshort GLshort w _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble y2 _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat y2 _GL_VOID_RET _GL_VOID GLint GLint GLint y2 _GL_VOID_RET _GL_VOID GLshort GLshort GLshort y2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLuint *buffer _GL_VOID_RET _GL_VOID GLdouble t _GL_VOID_RET _GL_VOID GLfloat t _GL_VOID_RET _GL_VOID GLint t _GL_VOID_RET _GL_VOID GLshort t _GL_VOID_RET _GL_VOID GLdouble t
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble green
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a producing a negative Combine Generate a color from its red
ATTR_WARN_UNUSED_RESULT const BMVert * v
int mathutils_array_parse(float *array, int array_num_min, int array_num_max, PyObject *value, const char *error_prefix)
uchar Mathutils_RegisterCallback(Mathutils_Callback *cb)
PyObject * Color_CreatePyObject_cb(PyObject *cb_user, uchar cb_type, uchar cb_subtype)
PyObject * Vector_CreatePyObject_cb(PyObject *cb_user, int vec_num, uchar cb_type, uchar cb_subtype)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
static const pxr::TfToken g("g", pxr::TfToken::Immortal)
static struct PyModuleDef module