Interface ValueLayerStyleOGL

All Known Implementing Classes:
EditedValueLayerStyleOGL2D

public interface ValueLayerStyleOGL
Interface for classes that implement visualization styles for 2D ogl ValueLayers.
Author:
Nick Collier
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Gets the size of one size of the cell value layer cell.
    getColor(double... coordinates)
    Gets the color at the specified coordinates.
    void
    Initializes this style with the specified ValueLayer.
  • Method Details

    • getColor

      Color getColor(double... coordinates)
      Gets the color at the specified coordinates.
      Parameters:
      coordinates - the coordinate to get the color for
      Returns:
      the paint for the specified coordinates
    • getCellSize

      float getCellSize()
      Gets the size of one size of the cell value layer cell. The units are those appropriate to the display -- 2D or 3D.
      Returns:
      the width of the cell.
    • init

      void init(ValueLayer layer)
      Initializes this style with the specified ValueLayer.
      Parameters:
      layer - the layer to initialize with