Package com.jme3.terrain.noise.filter
Class IterativeFilter
java.lang.Object
com.jme3.terrain.noise.filter.AbstractFilter
com.jme3.terrain.noise.filter.IterativeFilter
- All Implemented Interfaces:
Filter
-
Field Summary
Fields inherited from class com.jme3.terrain.noise.filter.AbstractFilter
postFilters, preFilters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPostIterateFilter
(Filter filter) addPreIterateFilter
(Filter filter) filter
(float sx, float sy, float base, FloatBuffer data, int size) int
int
getMargin
(int size, int margin) void
void
setIterations
(int iterations) Methods inherited from class com.jme3.terrain.noise.filter.AbstractFilter
addPostFilter, addPreFilter, doFilter, isEnabled, setEnabled
-
Constructor Details
-
IterativeFilter
public IterativeFilter()
-
-
Method Details
-
getMargin
public int getMargin(int size, int margin) - Specified by:
getMargin
in interfaceFilter
- Overrides:
getMargin
in classAbstractFilter
-
setIterations
public void setIterations(int iterations) -
getIterations
public int getIterations() -
addPostIterateFilter
-
addPreIterateFilter
-
setFilter
-
filter
- Specified by:
filter
in classAbstractFilter
-