GuidingLinesShader Class Reference
#include <BasicStrokeShaders.h>
Inheritance diagram for GuidingLinesShader:
List of all members.
Detailed Description
[ Geometry Shader ]. Shader to modify the
Stroke geometry so that it corresponds to its main direction line. This shader must be used together with the splitting operator using the curvature criterion. Indeed, the precision of the approximation will depend on the size of the stroke's pieces. The bigger the pieces, the rougher the approximation.
Constructor & Destructor Documentation
|
Builds a Guiding Lines shader - Parameters:
-
| iOffset | The line that replaces the stroke is initially in the middle of the initial stroke "bbox". iOffset is the value of the displacement which is applied to this line along its normal. |
|
Member Function Documentation
virtual void shade |
( |
Stroke & |
stroke |
) |
const [virtual] |
|
The documentation for this class was generated from the following file: