| java.lang.Object org.jvnet.substance.painter.noise.BaseNoiseFilter org.jvnet.substance.painter.noise.MarbleFilter
MarbleFilter | public class MarbleFilter extends BaseNoiseFilter (Code) | | Noise filter that produces marble-like distribution. This class is part of
officially supported API.
author: Kirill Grouchnikov |
Constructor Summary | |
public | MarbleFilter(double xFactor, double yFactor, double zFactor, TrigKind trigKind) Creates a new marble filter. |
Method Summary | |
public double | apply(double x, double y, double z, double origValue) | public static MarbleFilter | getXFilter(double xFactor, TrigKind trigKind) Creates a new marble filter oriented along X axis.
Parameters: xFactor - Stretch factor for X axis. Parameters: trigKind - Trigonometry function. | public static MarbleFilter | getYFilter(double yFactor, TrigKind trigKind) Creates a new marble filter oriented along Y axis.
Parameters: yFactor - Stretch factor for Y axis. Parameters: trigKind - Trigonometry function. | public static MarbleFilter | getZFilter(double zFactor, TrigKind trigKind) Creates a new marble filter oriented along Z axis.
Parameters: zFactor - Stretch factor for Z axis. Parameters: trigKind - Trigonometry function. |
MarbleFilter | public MarbleFilter(double xFactor, double yFactor, double zFactor, TrigKind trigKind)(Code) | | Creates a new marble filter.
Parameters: xFactor - Stretch factor for X axis. Parameters: yFactor - Stretch factor for Y axis. Parameters: zFactor - Stretch factor for Z axis. Parameters: trigKind - Trigonometry function. |
apply | public double apply(double x, double y, double z, double origValue)(Code) | | |
getXFilter | public static MarbleFilter getXFilter(double xFactor, TrigKind trigKind)(Code) | | Creates a new marble filter oriented along X axis.
Parameters: xFactor - Stretch factor for X axis. Parameters: trigKind - Trigonometry function. Marble filter oriented along X axis. |
getYFilter | public static MarbleFilter getYFilter(double yFactor, TrigKind trigKind)(Code) | | Creates a new marble filter oriented along Y axis.
Parameters: yFactor - Stretch factor for Y axis. Parameters: trigKind - Trigonometry function. Marble filter oriented along Y axis. |
getZFilter | public static MarbleFilter getZFilter(double zFactor, TrigKind trigKind)(Code) | | Creates a new marble filter oriented along Z axis.
Parameters: zFactor - Stretch factor for Z axis. Parameters: trigKind - Trigonometry function. Marble filter oriented along Z axis. |
|
|