A modifier that will group similiar pixels together and normalize their colour. More...
#include <oilpaintmodifier.h>
Public Member Functions | |
OilPaintModifier () | |
Blank constructor. | |
virtual | ~OilPaintModifier () |
Class destructor. | |
virtual String | GetName () const |
Gets the name of this modifier. More... | |
virtual void | Modify (TextureBuffer &Buffer) |
Alters the generated pixels in a TextureBuffer. More... | |
OilPaintModifier & | SetIntensityLevels (const Real Intensity) |
Sets the allowed range of intensity levels to be used. More... | |
OilPaintModifier & | SetRadius (const UInt8 SampleRadius) |
Sets the sample size for each processed pixel. More... | |
Public Member Functions inherited from Mezzanine::Graphics::Procedural::TextureModifier | |
TextureModifier () | |
Blank constructor. | |
virtual | ~TextureModifier () |
Class destructor. | |
Protected Attributes | |
Real | IntensityLevels |
The range of allowed intensity levels to be allowed during processing. More... | |
UInt8 | Radius |
The radius of pixels to sample for each pixel processed. More... | |
A modifier that will group similiar pixels together and normalize their colour.
Definition at line 82 of file oilpaintmodifier.h.
|
virtual |
Gets the name of this modifier.
Implements Mezzanine::Graphics::Procedural::TextureModifier.
Definition at line 149 of file oilpaintmodifier.cpp.
|
virtual |
Alters the generated pixels in a TextureBuffer.
Buffer | The buffer to be modified. |
Implements Mezzanine::Graphics::Procedural::TextureModifier.
Definition at line 91 of file oilpaintmodifier.cpp.
OilPaintModifier & Mezzanine::Graphics::Procedural::OilPaintModifier::SetIntensityLevels | ( | const Real | Intensity | ) |
Sets the allowed range of intensity levels to be used.
Intensity | The range of allowed intensity levels to be allowed during processing. Range: 5.0-255.0. Initial Value: 20.0. |
Definition at line 155 of file oilpaintmodifier.cpp.
OilPaintModifier & Mezzanine::Graphics::Procedural::OilPaintModifier::SetRadius | ( | const UInt8 | SampleRadius | ) |
Sets the sample size for each processed pixel.
Radius | The radius of pixels to sample for each pixel processed. Initial Value: 3. |
Definition at line 158 of file oilpaintmodifier.cpp.
|
protected |
The range of allowed intensity levels to be allowed during processing.
Definition at line 87 of file oilpaintmodifier.h.
|
protected |
The radius of pixels to sample for each pixel processed.
Definition at line 90 of file oilpaintmodifier.h.