plugins.engines
Class LinearSandDunes
java.lang.Object
Utilities.NoiseEngine
plugins.engines.LinearSandDunes
public class LinearSandDunes
- extends NoiseEngine
- Author:
- David
| Methods inherited from class Utilities.NoiseEngine |
getMax, getMin, getNoiseOffset, getNoiseSize, getPreviewNoise, getPreviewVertices, getTerrain, getVertex, paintIcon, setProjection, setTerrain |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearSandDunes
public LinearSandDunes()
- Creates a new instance of perlin
main
public static void main(java.lang.String[] args)
name
public java.lang.String name()
- Specified by:
name in class NoiseEngine
description
public java.lang.String description()
- Specified by:
description in class NoiseEngine
getPanel
public javax.swing.JPanel getPanel()
- Specified by:
getPanel in class NoiseEngine
initNoise
public void initNoise()
- Specified by:
initNoise in class NoiseEngine
getScaledMovedNoiseForVertex
public double getScaledMovedNoiseForVertex(double x,
double y,
double z)
- Description copied from class:
NoiseEngine
- Range 0 to 1 spans the width of the preview window.
- Specified by:
getScaledMovedNoiseForVertex in class NoiseEngine
- Returns:
getNoiseForVertex
public double getNoiseForVertex(Vertex vertex)
- Specified by:
getNoiseForVertex in class NoiseEngine
getNoiseForVertex
public double getNoiseForVertex(int vertex)
- Specified by:
getNoiseForVertex in class NoiseEngine
makePreview
public void makePreview()
- Specified by:
makePreview in class NoiseEngine
storeSettings
public void storeSettings()
- Specified by:
storeSettings in class NoiseEngine
restoreSettings
public void restoreSettings()
- Specified by:
restoreSettings in class NoiseEngine
save
public void save(java.io.ObjectOutputStream file)
throws java.io.IOException
- Specified by:
save in class NoiseEngine
- Throws:
java.io.IOException
load
public void load(java.io.ObjectInputStream file)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Specified by:
load in class NoiseEngine
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
copy
public NoiseEngine copy()
- Specified by:
copy in class NoiseEngine
getDetails
public java.lang.String getDetails()
- Specified by:
getDetails in class NoiseEngine