Class ColorMapStyleAdapter

java.lang.Object
repast.simphony.visualizationOGL2D.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 Details

    • ColorMapStyleAdapter

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

    • getColor

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