DrawLayersIsolines

Draw layers isolines. The user must specify: - the number of isolines to draw - the min layer value - the max layer value - the distribution, used to space isoline values between min and max This class defines the drawFunction method, which is capable of drawing a layer's isolines given a function. The only responsibility left to subclasses is to provide a LayerToFunctionMapper.

Inheritors

Constructors

Link copied to clipboard
constructor(algorithm: IsolinesFinder, mapper: LayerToFunctionMapper)
Every class extending this one should call this constructor.

Types

Link copied to clipboard
Distributions describing how values within an interval should be spaced.

Properties

Link copied to clipboard
open var alpha: RangedInteger
Link copied to clipboard
open var blue: RangedInteger
Link copied to clipboard
Link copied to clipboard
open var green: RangedInteger
Link copied to clipboard
@Nullable
@get:Nullable
open val markerNodeID: Integer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var molString: String
Link copied to clipboard
open var red: RangedInteger

Functions

Link copied to clipboard
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>, environment: Environment<T, P>, wormhole: Wormhole2D<P>)
open fun <T, P : Position2D<P>?> apply(graphics: Graphics2D, node: Node<T>, environment: Environment<T, P>, wormhole: Wormhole2D<P>)
Applies the effect.
Link copied to clipboard
open fun <T, P : Position2D<P>?> drawFunction(function: (in P) -> out Number, environment: Environment<T, P>, graphics: Graphics2D, wormhole: Wormhole2D<P>)
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
Link copied to clipboard
Link copied to clipboard
open fun getNumberOfIsolines(): RangedInteger
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun linspace(d1: Double, d2: Double, n: Int): Array<Double>
generates n linearly-spaced points between d1 and d2.
Link copied to clipboard
open fun logspace(d1: Double, d2: Double, n: Int, base: Double): Array<Double>
generates n logarithmically-spaced points between d1 and d2 using the provided base.
Link copied to clipboard
open fun setDrawValues(drawValues: Boolean)
Link copied to clipboard
open fun setLayerFilter(layerFilter: Boolean)
Link copied to clipboard
open fun setNumberOfIsolines(nOfIsolines: RangedInteger)