plugins.engines
Class RotateFunction
java.lang.Object
Utilities.NoiseEngine
plugins.engines.ApplyFunction
plugins.engines.RotateFunction
- All Implemented Interfaces:
- FunctionEngine
public class RotateFunction
- extends ApplyFunction
- Author:
- vargol
To change the template for this generated type comment go to
Window - Preferences - Java - Code Generation - Code and Comments
| Methods inherited from class plugins.engines.ApplyFunction |
copy, getNoiseEngine, getNoiseOffset, getNoiseSize, getPreviewNoise, getPreviewVertices, getScaledMovedNoiseForVertex, getTerrain, getVertex, main, setNoiseEngine, setProjection, setTerrain |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RotateFunction
public RotateFunction()
description
public java.lang.String description()
- Specified by:
description in interface FunctionEngine- Overrides:
description in class ApplyFunction
getDetails
public java.lang.String getDetails()
- Specified by:
getDetails in interface FunctionEngine- Overrides:
getDetails in class ApplyFunction
getNoiseForVertex
public double getNoiseForVertex(Vertex vertex)
- Overrides:
getNoiseForVertex in class ApplyFunction
getNoiseForVertex
public double getNoiseForVertex(int vertex)
- Overrides:
getNoiseForVertex in class ApplyFunction
getPanel
public javax.swing.JPanel getPanel()
- Specified by:
getPanel in interface FunctionEngine- Overrides:
getPanel in class ApplyFunction
initNoise
public void initNoise()
- Overrides:
initNoise in class ApplyFunction
load
public void load(java.io.ObjectInputStream file)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Specified by:
load in interface FunctionEngine- Overrides:
load in class ApplyFunction
- Throws:
java.lang.ClassNotFoundException
java.io.IOException
makePreview
public void makePreview()
- Specified by:
makePreview in interface FunctionEngine- Overrides:
makePreview in class ApplyFunction
name
public java.lang.String name()
- Specified by:
name in interface FunctionEngine- Overrides:
name in class ApplyFunction
restoreSettings
public void restoreSettings()
- Specified by:
restoreSettings in interface FunctionEngine- Overrides:
restoreSettings in class ApplyFunction
save
public void save(java.io.ObjectOutputStream file)
throws java.io.IOException
- Specified by:
save in interface FunctionEngine- Overrides:
save in class ApplyFunction
- Throws:
java.io.IOException
storeSettings
public void storeSettings()
- Specified by:
storeSettings in interface FunctionEngine- Overrides:
storeSettings in class ApplyFunction
paintIcon
public void paintIcon(java.awt.Graphics2D g2,
java.awt.image.ImageObserver component)
- Specified by:
paintIcon in interface FunctionEngine- Overrides:
paintIcon in class ApplyFunction
setFunction
public void setFunction(java.lang.String functionName)
- Specified by:
setFunction in interface FunctionEngine- Overrides:
setFunction in class ApplyFunction
rotateVertex
public Vertex rotateVertex(double x,
double y,
double z)