public class HydraulicErodeFilter extends AbstractFilter
postFilters, preFilters
Constructor and Description |
---|
HydraulicErodeFilter() |
Modifier and Type | Method and Description |
---|---|
java.nio.FloatBuffer |
filter(float sx,
float sy,
float base,
java.nio.FloatBuffer buffer,
int workSize) |
int |
getMargin(int size,
int margin) |
void |
setKc(float kc) |
void |
setKe(float ke) |
void |
setKr(float kr) |
void |
setKs(float ks) |
void |
setSedimentMap(Basis sedimentMap) |
void |
setT(float t) |
void |
setWaterMap(Basis waterMap) |
addPostFilter, addPreFilter, doFilter, isEnabled, setEnabled
public void setKc(float kc)
public void setKe(float ke)
public void setKr(float kr)
public void setKs(float ks)
public void setSedimentMap(Basis sedimentMap)
public void setT(float t)
public void setWaterMap(Basis waterMap)
public int getMargin(int size, int margin)
getMargin
in interface Filter
getMargin
in class AbstractFilter
public java.nio.FloatBuffer filter(float sx, float sy, float base, java.nio.FloatBuffer buffer, int workSize)
filter
in class AbstractFilter