h o m e d o c u m e n t a t i o n c l a s s h i e r a r c h y

BezierCurveShader Class Reference

#include <BasicStrokeShaders.h>

Inheritance diagram for BezierCurveShader:

StrokeShader List of all members.

Detailed Description

[ Geometry Shader ]. Transforms the stroke backbone geometry so that it corresponds to a Bezier Curve approximation of the original backbone geometry.
See also:

Public Member Functions

 BezierCurveShader (float error=4.0)
virtual void shade (Stroke &stroke) const

Constructor & Destructor Documentation

BezierCurveShader float  error = 4.0  )  [inline]

Builds the shader.

error The error we're allowing for the approximation. This error is the max distance allowed between the new curve and the original geometry.

Member Function Documentation

virtual void shade Stroke stroke  )  const [virtual]

The shading method

Reimplemented from StrokeShader.

The documentation for this class was generated from the following file: