|
Blender V4.5
|
#include "BPy_StrokeShader.h"#include "BPy_Convert.h"#include "Interface1D/BPy_Stroke.h"#include "StrokeShader/BPy_BackboneStretcherShader.h"#include "StrokeShader/BPy_BezierCurveShader.h"#include "StrokeShader/BPy_BlenderTextureShader.h"#include "StrokeShader/BPy_CalligraphicShader.h"#include "StrokeShader/BPy_ColorNoiseShader.h"#include "StrokeShader/BPy_ConstantColorShader.h"#include "StrokeShader/BPy_ConstantThicknessShader.h"#include "StrokeShader/BPy_ConstrainedIncreasingThicknessShader.h"#include "StrokeShader/BPy_GuidingLinesShader.h"#include "StrokeShader/BPy_IncreasingColorShader.h"#include "StrokeShader/BPy_IncreasingThicknessShader.h"#include "StrokeShader/BPy_PolygonalizationShader.h"#include "StrokeShader/BPy_SamplingShader.h"#include "StrokeShader/BPy_SmoothingShader.h"#include "StrokeShader/BPy_SpatialNoiseShader.h"#include "StrokeShader/BPy_StrokeTextureStepShader.h"#include "StrokeShader/BPy_ThicknessNoiseShader.h"#include "StrokeShader/BPy_TipRemoverShader.h"Go to the source code of this file.
Functions | |
| int | StrokeShader_Init (PyObject *module) |
| PyDoc_STRVAR (StrokeShader___doc__, "Base class for stroke shaders. Any stroke shader must inherit from\n" "this class and overload the shade() method. A StrokeShader is\n" "designed to modify stroke attributes such as thickness, color,\n" "geometry, texture, blending mode, and so on. The basic way for this\n" "operation is to iterate over the stroke vertices of the :class:`Stroke`\n" "and to modify the :class:`StrokeAttribute` of each vertex. Here is a\n" "code example of such an iteration::\n" "\n" " it = ioStroke.strokeVerticesBegin()\n" " while not it.is_end:\n" " att = it.object.attribute\n" " ## perform here any attribute modification\n" " it.increment()\n" "\n" ".. method:: __init__()\n" "\n" " Default constructor.\n") | |
| static int | StrokeShader___init__ (BPy_StrokeShader *self, PyObject *args, PyObject *kwds) |
| static void | StrokeShader___dealloc__ (BPy_StrokeShader *self) |
| static PyObject * | StrokeShader___repr__ (BPy_StrokeShader *self) |
| PyDoc_STRVAR (StrokeShader_shade___doc__, ".. method:: shade(stroke)\n" "\n" " The shading method. Must be overloaded by inherited classes.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`Stroke`\n") | |
| static PyObject * | StrokeShader_shade (BPy_StrokeShader *self, PyObject *args, PyObject *kwds) |
| PyDoc_STRVAR (StrokeShader_name_doc, "The name of the stroke shader.\n" "\n" ":type: str") | |
| static PyObject * | StrokeShader_name_get (BPy_StrokeShader *self, void *) |
Variables | |
| static PyMethodDef | BPy_StrokeShader_methods [] |
| static PyGetSetDef | BPy_StrokeShader_getseters [] |
| PyTypeObject | StrokeShader_Type |
| PyDoc_STRVAR | ( | StrokeShader___doc__ | , |
| "Base class for stroke shaders. Any stroke shader must inherit from\n" "this class and overload the shade() method. A StrokeShader is\n" "designed to modify stroke attributes such as | thickness, | ||
| color | , | ||
| \n" " | geometry, | ||
| texture | , | ||
| blending | mode ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeShader_name_doc | , |
| "The name of the stroke shader.\n" "\n" ":type: str" | ) |
References PyDoc_STRVAR().
| PyDoc_STRVAR | ( | StrokeShader_shade___doc__ | , |
| ".. method:: shade(stroke)\n" "\n" " The shading method. Must be overloaded by inherited classes.\n" "\n" " :arg stroke: A Stroke object.\n" " :type stroke: :class:`Stroke`\n" | ) |
References PyDoc_STRVAR().
|
static |
Definition at line 184 of file BPy_StrokeShader.cpp.
References BPy_StrokeShader::ss, and StrokeShader___dealloc__().
Referenced by StrokeShader___dealloc__().
|
static |
Definition at line 172 of file BPy_StrokeShader.cpp.
References Freestyle::StrokeShader::py_ss, BPy_StrokeShader::ss, Freestyle::StrokeShader::StrokeShader(), and StrokeShader___init__().
Referenced by StrokeShader___init__().
|
static |
Definition at line 190 of file BPy_StrokeShader.cpp.
References BPy_StrokeShader::ss, and StrokeShader___repr__().
Referenced by StrokeShader___repr__().
| int StrokeShader_Init | ( | PyObject * | module | ) |
Definition at line 38 of file BPy_StrokeShader.cpp.
References BackboneStretcherShader_Type, BezierCurveShader_Type, BlenderTextureShader_Type, CalligraphicShader_Type, ColorNoiseShader_Type, ConstantColorShader_Type, ConstantThicknessShader_Type, ConstrainedIncreasingThicknessShader_Type, GuidingLinesShader_Type, IncreasingColorShader_Type, IncreasingThicknessShader_Type, PolygonalizationShader_Type, SamplingShader_Type, SmoothingShader_Type, SpatialNoiseShader_Type, StrokeShader_Init(), StrokeShader_Type, StrokeTextureStepShader_Type, ThicknessNoiseShader_Type, and TipRemoverShader_Type.
Referenced by Freestyle_Init(), and StrokeShader_Init().
|
static |
Definition at line 263 of file BPy_StrokeShader.cpp.
References StrokeShader_name_get().
Referenced by StrokeShader_name_get().
|
static |
Definition at line 205 of file BPy_StrokeShader.cpp.
References Freestyle::StrokeShader::shade(), BPy_StrokeShader::ss, Stroke_Type, and StrokeShader_shade().
Referenced by StrokeShader_shade().
|
static |
Definition at line 268 of file BPy_StrokeShader.cpp.
|
static |
Definition at line 238 of file BPy_StrokeShader.cpp.
| PyTypeObject StrokeShader_Type |
Definition at line 275 of file BPy_StrokeShader.cpp.
Referenced by StrokeShader_Init().