plugins.functions
Class ManagedFunctionEngine

java.lang.Object
  extended by Utilities.NoiseEngine
      extended by plugins.noiseGen.ManagedNoiseEngine
          extended by plugins.functions.ManagedFunctionEngine
All Implemented Interfaces:
FunctionEngine
Direct Known Subclasses:
AddScaleFunction, FunctionFunction, MultiFractallizeFunction, ResizeNoiseFunction

public abstract class ManagedFunctionEngine
extends ManagedNoiseEngine
implements FunctionEngine


Field Summary
 NoiseEngine noiseEngine
           
 
Fields inherited from class plugins.noiseGen.ManagedNoiseEngine
depth, height, noiseDescription, noiseName, panel, properties, width, xOffset, yOffset, zOffset
 
Fields inherited from class Utilities.NoiseEngine
gridProjection, max, min, noiseArray, preview, previewNoise, scanlineSize, terrain, xGap
 
Constructor Summary
ManagedFunctionEngine()
           
 
Method Summary
 NoiseEngine copy()
           
 java.lang.String getDetails()
           
 NoiseEngine getNoiseEngine()
           
 Vertex[] getPreviewVertices()
           
 double getScaledMovedNoiseForVertex(double x, double y, double z)
          Range 0 to 1 spans the width of the preview window.
 void makePreview()
           
 void paintIcon(java.awt.Graphics2D g2, java.awt.image.ImageObserver noiseComponent)
           
 void setNoiseEngine(NoiseEngine noiseEngine)
           
 
Methods inherited from class plugins.noiseGen.ManagedNoiseEngine
description, getNoiseForVertex, getNoiseForVertex, getNoiseForVertex, getNoiseOffset, getNoiseSize, getPanel, initNoise, load, name, restoreSettings, save, storeSettings
 
Methods inherited from class Utilities.NoiseEngine
getMax, getMin, getPreviewNoise, getTerrain, getVertex, setProjection, setTerrain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface plugins.functions.FunctionEngine
description, getPanel, load, name, restoreSettings, save, setFunction, storeSettings
 

Field Detail

noiseEngine

public NoiseEngine noiseEngine
Constructor Detail

ManagedFunctionEngine

public ManagedFunctionEngine()
Method Detail

copy

public NoiseEngine copy()
Specified by:
copy in class NoiseEngine

getDetails

public java.lang.String getDetails()
Specified by:
getDetails in interface FunctionEngine
Specified by:
getDetails in class NoiseEngine

setNoiseEngine

public void setNoiseEngine(NoiseEngine noiseEngine)
Specified by:
setNoiseEngine in interface FunctionEngine

getNoiseEngine

public NoiseEngine getNoiseEngine()
Specified by:
getNoiseEngine in interface FunctionEngine

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.

Overrides:
getScaledMovedNoiseForVertex in class ManagedNoiseEngine
Returns:

getPreviewVertices

public Vertex[] getPreviewVertices()
Overrides:
getPreviewVertices in class ManagedNoiseEngine

makePreview

public void makePreview()
Specified by:
makePreview in interface FunctionEngine
Overrides:
makePreview in class ManagedNoiseEngine

paintIcon

public void paintIcon(java.awt.Graphics2D g2,
                      java.awt.image.ImageObserver noiseComponent)
Specified by:
paintIcon in interface FunctionEngine
Overrides:
paintIcon in class NoiseEngine