com.metsci.glimpse.support.colormap
Interface ColorGradient

All Superinterfaces:
ColorMap

public interface ColorGradient
extends ColorMap

A relative ColorMap which maps values on [0, 1] to colors.

Author:
hogye

Method Summary
 void toColor(float fraction, float[] rgba)
          Compute the color for a fraction on [0,1].
 

Method Detail

toColor

void toColor(float fraction,
             float[] rgba)
Compute the color for a fraction on [0,1].

Specified by:
toColor in interface ColorMap


Copyright © 2012 Metron, Inc.. All Rights Reserved.