Blender  V3.3
Public Member Functions | Protected Attributes | List of all members
Freestyle::OmissionShader Class Reference

#include <AdvancedStrokeShaders.h>

Inheritance diagram for Freestyle::OmissionShader:
Freestyle::StrokeShader

Public Member Functions

 OmissionShader (real sizeWindow, real thrVari, real thrFlat, real lFlat)
 
virtual ~OmissionShader ()
 
virtual int shade (Stroke &ioStroke) const
 
- Public Member Functions inherited from Freestyle::StrokeShader
 StrokeShader ()
 
virtual ~StrokeShader ()
 
virtual string getName () const
 

Protected Attributes

real _sizeWindow
 
real _thresholdVariation
 
real _thresholdFlat
 
real _lengthFlat
 

Additional Inherited Members

- Public Attributes inherited from Freestyle::StrokeShader
voidpy_ss
 

Detailed Description

Omission shader

Definition at line 203 of file AdvancedStrokeShaders.h.

Constructor & Destructor Documentation

◆ OmissionShader()

Freestyle::OmissionShader::OmissionShader ( real  sizeWindow,
real  thrVari,
real  thrFlat,
real  lFlat 
)

◆ ~OmissionShader()

virtual Freestyle::OmissionShader::~OmissionShader ( )
inlinevirtual

Definition at line 206 of file AdvancedStrokeShaders.h.

Member Function Documentation

◆ shade()

virtual int Freestyle::OmissionShader::shade ( Stroke ioStroke) const
virtual

The shading method. This method must be overloaded by inherited classes.

Parameters
ioStrokeThe 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.

Member Data Documentation

◆ _lengthFlat

real Freestyle::OmissionShader::_lengthFlat
protected

Definition at line 216 of file AdvancedStrokeShaders.h.

◆ _sizeWindow

real Freestyle::OmissionShader::_sizeWindow
protected

Definition at line 213 of file AdvancedStrokeShaders.h.

◆ _thresholdFlat

real Freestyle::OmissionShader::_thresholdFlat
protected

Definition at line 215 of file AdvancedStrokeShaders.h.

◆ _thresholdVariation

real Freestyle::OmissionShader::_thresholdVariation
protected

Definition at line 214 of file AdvancedStrokeShaders.h.


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