Blender V4.3
Freestyle::OmissionShader Class Reference

#include <AdvancedStrokeShaders.h>

Inherits 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
void * py_ss
 

Detailed Description

Omission shader

Definition at line 197 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 200 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 208 of file AdvancedStrokeShaders.h.

◆ _sizeWindow

real Freestyle::OmissionShader::_sizeWindow
protected

Definition at line 205 of file AdvancedStrokeShaders.h.

◆ _thresholdFlat

real Freestyle::OmissionShader::_thresholdFlat
protected

Definition at line 207 of file AdvancedStrokeShaders.h.

◆ _thresholdVariation

real Freestyle::OmissionShader::_thresholdVariation
protected

Definition at line 206 of file AdvancedStrokeShaders.h.


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