net.sf.jame.mandelbrot.fractal.outcolouring.extension
Class OutcolouringFormulaExtensionRuntime<T extends OutcolouringFormulaExtensionConfig>
java.lang.Object
net.sf.jame.core.config.RuntimeElement
net.sf.jame.core.extension.ExtensionRuntime
net.sf.jame.core.extension.ConfigurableExtensionRuntime<T>
net.sf.jame.mandelbrot.fractal.outcolouring.extension.OutcolouringFormulaExtensionRuntime<T>
- All Implemented Interfaces:
- java.util.EventListener, ValueChangeListener
- Direct Known Subclasses:
- AbstractOutcolouringFormulaRuntime
public abstract class OutcolouringFormulaExtensionRuntime<T extends OutcolouringFormulaExtensionConfig>
- extends ConfigurableExtensionRuntime<T>
- Author:
- Andrea Medeghini
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutcolouringFormulaExtensionRuntime
public OutcolouringFormulaExtensionRuntime()
isSolidGuessAllowed
public abstract boolean isSolidGuessAllowed()
- Returns:
- true if solid guess is allowed.
isHorizontalSymetryAllowed
public abstract boolean isHorizontalSymetryAllowed()
- Returns:
- true if horizontal symetry is allowed.
isVerticalSymetryAllowed
public abstract boolean isVerticalSymetryAllowed()
- Returns:
- true if vertical symetry is allowed.
prepareForRendering
public abstract void prepareForRendering(RenderingFormulaExtensionRuntime<?> formulaRuntime,
int maxColors)
- Sets the iterations.
- Parameters:
maxColors - the number of colours.
renderColor
public abstract int renderColor(RenderedPoint cp)
- Parameters:
cp -
- Returns:
- the color.
renderColor
public abstract int renderColor(RenderedPoint cp,
int shift)
- Parameters:
cp - shift -
- Returns:
- the color.