Class ContourDataSetRenderer

    • Field Detail

      • gradientRect

        protected final javafx.scene.shape.Rectangle gradientRect
    • Constructor Detail

      • ContourDataSetRenderer

        public ContourDataSetRenderer()
    • Method Detail

      • drawLegendSymbol

        public javafx.scene.canvas.Canvas drawLegendSymbol​(de.gsi.dataset.DataSet dataSet,
                                                           int dsIndex,
                                                           int width,
                                                           int height)
        Specified by:
        drawLegendSymbol in interface Renderer
        Parameters:
        dataSet - the data set for which the representative icon should be generated
        dsIndex - index within renderer set
        width - requested width of the returning Canvas
        height - requested height of the returning Canvas
        Returns:
        a graphical icon representation of the given data sets
      • getZAxis

        public Axis getZAxis()
      • layoutZAxis

        protected void layoutZAxis​(Axis localZAxis)
      • render

        public java.util.List<de.gsi.dataset.DataSet> render​(javafx.scene.canvas.GraphicsContext gc,
                                                             Chart chart,
                                                             int dataSetOffset,
                                                             javafx.collections.ObservableList<de.gsi.dataset.DataSet> datasets)
        Specified by:
        render in interface Renderer
        Parameters:
        gc - the Canvas' GraphicsContext the renderer should draw upon
        chart - the corresponding chart
        dataSetOffset - global offset of the last drawn DataSet
        datasets - list of globally (ie. in Chart) stored DataSets
        Returns:
        List of drawn DataSets (N.B. return '0' in case Renderer.showInLegend() is false)
      • shiftZAxisToLeft

        public void shiftZAxisToLeft()
      • shiftZAxisToRight

        public void shiftZAxisToRight()
      • convolution

        public static double convolution​(double[][] pixelMatrix)
      • erosionConvolution

        public static double erosionConvolution​(double[][] pixelMatrix)