Exchange pixels at random positions.
More...
#include <ProceduralTextureModifiers.h>
Exchange pixels at random positions.
Exchange pixels in a small area randomly.
Example:
◆ Jitter()
Default constructor.
- Parameters
-
pBuffer | Image buffer where to modify the image. |
◆ getName()
Get name of the filter as string.
◆ logMsg()
void Procedural::TextureProcessing::logMsg |
( |
Ogre::String |
msg | ) |
|
|
protectedinherited |
◆ process()
◆ setLog()
void Procedural::TextureProcessing::setLog |
( |
bool |
enable = true | ) |
|
|
inherited |
Enable/Disable logging.
- Parameters
-
enable | true enables logging of filter actions |
◆ setRadius()
Set the radius of the detection area.
- Parameters
-
radius | New radius for detection area [0, 255] (default 57) |
◆ setSeed()
Set the seed for "random" number generator.
- Parameters
-
seed | Seed value where to set the random number generator (default 5120) |
◆ mBuffer
◆ mLog
bool Procedural::TextureProcessing::mLog |
|
protectedinherited |
◆ mName
The documentation for this class was generated from the following file:
- ProceduralTextureModifiers.h
class to store image data while processing
Definition: ProceduralTextureBuffer.h:50