DrawBidimensionalGaussianLayersGradient

open class DrawBidimensionalGaussianLayersGradient : DrawLayersGradient

Draw a gradient in the background of the gui for it.unibo.alchemist.model.implementations.layers.BidimensionalGaussianLayers values. It ignores any other layer.

Functions

Link copied to clipboard
open fun <T, P : Position2D<P>?> apply(graphics: Graphics2D, node: Node<T>, environment: Environment<T, P>, wormhole: Wormhole2D<P>)
open fun apply(graphic: Graphics2D, node: Node<out Any>, x: Int, y: Int)
open fun <T, P : Position2D<P>?> apply(g: Graphics2D, n: Node<T>, env: Environment<T, P>, wormhole: Wormhole2D<P>)
Applies the effect.
Link copied to clipboard
open fun <T, P : Position2D<P>?> drawFunction(function: (out Any) -> out Number, environment: Environment<T, P>, graphics: Graphics2D, wormhole: Wormhole2D<P>)

abstract fun <T, P : Position2D<P>?> drawFunction(function: (out Any) -> out Number, environment: Environment<T, P>, graphics: Graphics2D, wormhole: Wormhole2D<P>)
Draw the provided function.
Link copied to clipboard
abstract fun <T, P : Position2D<P>?> drawLayers(toDraw: Collection<Layer<T, P>>, environment: Environment<T, P>, graphics: Graphics2D, wormhole: Wormhole2D<P>)
Effectively draw the layers.
open fun <T, P : Position2D<P>?> drawLayers(toDraw: Collection<Layer<T, P>>, environment: Environment<T, P>, graphics: Graphics2D, wormhole: Wormhole2D<P>)
Link copied to clipboard
abstract fun equals(obj: Any): Boolean
Link copied to clipboard
open fun getAlpha(): RangedInteger
Link copied to clipboard
open fun getBlue(): RangedInteger
Link copied to clipboard
open fun getColorSummary(): Color
Link copied to clipboard
open fun getGreen(): RangedInteger
Link copied to clipboard
open fun getMarkerNodeID(): Integer
Link copied to clipboard
open fun getMaxLayerValue(): String
Link copied to clipboard
open fun getMinLayerValue(): String
Link copied to clipboard
open fun getMolString(): String
Link copied to clipboard
open fun getRed(): RangedInteger
Link copied to clipboard
open fun getSamples(): RangedInteger
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun isLayerFilter(): Boolean
Link copied to clipboard
open fun map(x: Double, xmin: Double, xmax: Double, ymin: Double, ymax: Double): Double
Map x from [xmin, xmax] to [ymin, ymax].
Link copied to clipboard
open fun setAlpha(alpha: RangedInteger)
Link copied to clipboard
open fun setBlue(blue: RangedInteger)
Link copied to clipboard
open fun setGreen(green: RangedInteger)
Link copied to clipboard
open fun setLayerFilter(layerFilter: Boolean)
Link copied to clipboard
open fun setMaxLayerValue(maxLayerValue: String)
Link copied to clipboard
open fun setMinLayerValue(minLayerValue: String)
Link copied to clipboard
open fun setMolString(molString: String)
Link copied to clipboard
open fun setRed(red: RangedInteger)
Link copied to clipboard
open fun setSamples(samples: RangedInteger)