Class Plot3D

    • Constructor Summary

      Constructors 
      Constructor Description
      Plot3D​(java.lang.String[] _labels, ValueFormater[] _formatters)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()  
      protected void drawPlot()  
      org.eclipse.swt.graphics.Color[] getColours()  
      void initialize​(org.eclipse.swt.widgets.Canvas _canvas)  
      void parameterChanged​(java.lang.String parameter)
      Called, when a parameter has changed.
      void refresh​(boolean force)  
      void setMaxZ​(int m)  
      void setTitle​(java.lang.String str)  
      void update​(int[][] _values)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Z_MAX

        private int Z_MAX
      • canvas

        private org.eclipse.swt.widgets.Canvas canvas
      • title

        private java.lang.String title
      • labels

        private java.lang.String[] labels
      • internalLoop

        private int internalLoop
      • graphicsUpdate

        private int graphicsUpdate
      • oldSize

        private org.eclipse.swt.graphics.Point oldSize
      • bufferImage

        protected org.eclipse.swt.graphics.Image bufferImage
      • values

        private int[][] values
      • colours

        private org.eclipse.swt.graphics.Color[] colours
    • Constructor Detail

      • Plot3D

        public Plot3D​(java.lang.String[] _labels,
                      ValueFormater[] _formatters)
    • Method Detail

      • initialize

        public void initialize​(org.eclipse.swt.widgets.Canvas _canvas)
        Specified by:
        initialize in interface Graphic
      • setTitle

        public void setTitle​(java.lang.String str)
      • getColours

        public org.eclipse.swt.graphics.Color[] getColours()
      • refresh

        public void refresh​(boolean force)
        Specified by:
        refresh in interface Graphic
      • drawPlot

        protected void drawPlot()
      • setMaxZ

        public void setMaxZ​(int m)
      • parameterChanged

        public void parameterChanged​(java.lang.String parameter)
        Description copied from interface: ParameterListener
        Called, when a parameter has changed. The listener could only react if the parameter name is relevant. Or the listener can just read all parameters again.
        Specified by:
        parameterChanged in interface ParameterListener
        Parameters:
        parameter - the name of the parameter that has changed
      • dispose

        public void dispose()
      • update

        public void update​(int[][] _values)