org.jvnet.substance.painter.noise
public class CompoundNoiseFilter extends java.lang.Object implements NoiseFilter
NoiseFilter.TrigKind
Modifier and Type | Field and Description |
---|---|
protected java.util.LinkedList<NoiseFilter> |
chain
Filter chain.
|
Constructor and Description |
---|
CompoundNoiseFilter(NoiseFilter... chain)
Creates a new compound filter.
|
Modifier and Type | Method and Description |
---|---|
double |
apply(double x,
double y,
double z,
double origValue)
Applies filter on the noise at the specified location.
|
protected java.util.LinkedList<NoiseFilter> chain
public CompoundNoiseFilter(NoiseFilter... chain)
chain
- Filter chain.public double apply(double x, double y, double z, double origValue)
NoiseFilter
apply
in interface NoiseFilter
x
- X coordinate.y
- Y coordinate.z
- Z coordinate.origValue
- The original noise value.