Class ColorMapStyleAdapter

  • All Implemented Interfaces:
    saf.v3d.grid.GridColorMap

    public class ColorMapStyleAdapter
    extends Object
    implements saf.v3d.grid.GridColorMap
    Adapts a ValueLayerStyle to a saf uil grid color map.
    Author:
    Nick Collier
    • Constructor Detail

      • ColorMapStyleAdapter

        public ColorMapStyleAdapter​(ValueLayerStyleOGL style,
                                    int[] origin)
        Parameters:
        style - the style value layer style
        origin - the origin coordinate of the value layer
    • Method Detail

      • getColor

        public void getColor​(int x,
                             int y,
                             org.jogamp.vecmath.Color3f color)
        Specified by:
        getColor in interface saf.v3d.grid.GridColorMap