Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
base class for material generation classes. More...
#include <ProceduralTextureBuffer.h>
Public Member Functions | |
TextureProcessing (TextureBufferPtr pBuffer, Ogre::String name) | |
Default constructor. More... | |
virtual TextureBufferPtr | process ()=0 |
Run processing algorithmus. More... | |
Ogre::String | getName () |
Get name of the filter as string. More... | |
void | setLog (bool enable=true) |
Enable/Disable logging. More... | |
virtual | ~TextureProcessing () |
Protected Member Functions | |
void | logMsg (Ogre::String msg) |
Protected Attributes | |
TextureBufferPtr | mBuffer |
Ogre::String | mName |
bool | mLog |
base class for material generation classes.
Procedural::TextureProcessing::TextureProcessing | ( | TextureBufferPtr | pBuffer, |
Ogre::String | name | ||
) |
Default constructor.
pBuffer | Image buffer where to store the generated image. |
name | Filter name |
Ogre::InvalidParametersException | Texture buffer is not set! |
|
virtual |
Ogre::String Procedural::TextureProcessing::getName | ( | ) |
Get name of the filter as string.
|
protected |
|
pure virtual |
Run processing algorithmus.
Implemented in Procedural::Vortex, Procedural::Threshold, Procedural::Sharpen, Procedural::Segment, Procedural::RotationZoom, Procedural::RectangleTexture, Procedural::RandomPixels, Procedural::Polygon, Procedural::OilPaint, Procedural::Normals, Procedural::Lookup, Procedural::TextureLightBaker, Procedural::Lerp, Procedural::Jitter, Procedural::Invert, Procedural::Glow, Procedural::Flip, Procedural::EllipseTexture, Procedural::EdgeDetection, Procedural::Distort, Procedural::Dilate, Procedural::Cycloid, Procedural::Crack, Procedural::Convolution, Procedural::Combine, Procedural::Colours, Procedural::Wood, Procedural::Textile, Procedural::CircleTexture, Procedural::Solid, Procedural::Noise, Procedural::Channel, Procedural::Blur, Procedural::Marble, Procedural::Labyrinth, Procedural::Blit, Procedural::Image, Procedural::Gradient, Procedural::AlphaMask, Procedural::Alpha, Procedural::Cloud, Procedural::Abnormals, and Procedural::Cell.
void Procedural::TextureProcessing::setLog | ( | bool | enable = true | ) |
Enable/Disable logging.
enable | true enables logging of filter actions |
|
protected |
|
protected |
|
protected |