org.jvnet.substance.painter.noise
Interface NoiseFilter

All Known Implementing Classes:
BaseNoiseFilter, CompoundNoiseFilter, FabricFilter, FabricFilter.FabricFilterLink, MarbleFilter, MedianBeakFilter, SharpenFilter, WoodFilter

public interface NoiseFilter

Base interface for noise filters. This class is part of officially supported API.

Author:
Kirill Grouchnikov

Nested Class Summary
static class NoiseFilter.TrigKind
          Kind of trigonometric function.
 
Method Summary
 double apply(double x, double y, double z, double origValue)
          Applies filter on the noise at the specified location.
 

Method Detail

apply

double apply(double x,
             double y,
             double z,
             double origValue)
Applies filter on the noise at the specified location.

Parameters:
x - X coordinate.
y - Y coordinate.
z - Z coordinate.
origValue - The original noise value.
Returns:
New noise value.