Interface TraceColourMap

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.awt.Color getColour​(int traceIndex)
      Warning: this method is called in the animation loop.
      java.awt.Color getColour​(IvMTrace trace)  
      java.lang.String getValue​(IvMTrace trace)
      This method is less critical than getColour() and is not executed in the animation thread.
    • Method Detail

      • getColour

        java.awt.Color getColour​(int traceIndex)
        Warning: this method is called in the animation loop. Do -not- create new objects or variables, as the garbage collector -will- kick in and ruin the smoothness of the animation. DO NOT ACCESS TRACE ATTRIBUTES FROM THIS METHOD! Rather, prepare an array that contains a (link to) a colour for each trace index, in the constructor.
        Parameters:
        traceIndex -
        Returns:
        the colour that this bezier should have.
      • getColour

        java.awt.Color getColour​(IvMTrace trace)
        Parameters:
        trace -
        Returns:
        The colour of a trace.
      • getValue

        java.lang.String getValue​(IvMTrace trace)
        This method is less critical than getColour() and is not executed in the animation thread.
        Parameters:
        trace -
        Returns:
        The value on which the colour is to be computed.