|
Blender V4.3
|
#include <BasicStrokeShaders.h>
Inherits Freestyle::StrokeShader.
Public Member Functions | |
| ExternalContourStretcherShader (float iAmount=2.0f) | |
| virtual string | getName () const |
| virtual int | shade (Stroke &stroke) const |
Public Member Functions inherited from Freestyle::StrokeShader | |
| StrokeShader () | |
| virtual | ~StrokeShader () |
Additional Inherited Members | |
Public Attributes inherited from Freestyle::StrokeShader | |
| void * | py_ss |
Definition at line 433 of file BasicStrokeShaders.h.
|
inline |
Definition at line 438 of file BasicStrokeShaders.h.
|
inlinevirtual |
Returns the string corresponding to the shader's name.
Reimplemented from Freestyle::StrokeShader.
Definition at line 443 of file BasicStrokeShaders.h.
|
virtual |
The shading method. This method must be overloaded by inherited classes.
| ioStroke | The stroke we wish to shade. this Stroke is modified by the Shader (which typically modifies the Stroke's attribute's values such as Color, Thickness, Geometry...) |
Reimplemented from Freestyle::StrokeShader.
Definition at line 349 of file BasicStrokeShaders.cpp.
References Freestyle::UnaryFunction0D< T >::result, Freestyle::StrokeVertex::setPoint(), Freestyle::Stroke::UpdateLength(), Freestyle::Stroke::verticesBegin(), Freestyle::StrokeVertex::x(), Freestyle::VecMat::Vec2< T >::x(), Freestyle::StrokeVertex::y(), and Freestyle::VecMat::Vec2< T >::y().