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

ConstantThicknessShader Class Reference

#include <BasicStrokeShaders.h>

Inheritance diagram for ConstantThicknessShader:

StrokeShader List of all members.

Detailed Description

[ Thickness Shader ]. Assigns an absolute constant thickness to every vertices of the Stroke.


Public Member Functions

 ConstantThicknessShader (float thickness)
virtual ~ConstantThicknessShader ()
virtual string getName () const
virtual void shade (Stroke &stroke) const

Constructor & Destructor Documentation

ConstantThicknessShader float  thickness  )  [inline]
 

Builds the shader.

Parameters:
thickness The thickness that must be assigned to the stroke.

virtual ~ConstantThicknessShader  )  [inline, virtual]
 

Destructor.


Member Function Documentation

virtual string getName  )  const [inline, virtual]
 

Returns the string "ConstantThicknessShader".

Reimplemented from StrokeShader.

virtual void shade Stroke stroke  )  const [virtual]
 

The shading method.

Reimplemented from StrokeShader.


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