Class ShadeFilter

All Implemented Interfaces:
BufferedImageOp, Serializable, Cloneable

public class ShadeFilter extends WholeImageFilter implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • ShadeFilter

      public ShadeFilter()
  • Method Details

    • setBumpFunction

      public void setBumpFunction(Function2D bumpFunction)
    • getBumpFunction

      public Function2D getBumpFunction()
    • setBumpHeight

      public void setBumpHeight(float bumpHeight)
    • getBumpHeight

      public float getBumpHeight()
    • setBumpSoftness

      public void setBumpSoftness(float bumpSoftness)
    • getBumpSoftness

      public float getBumpSoftness()
    • setEnvironmentMap

      public void setEnvironmentMap(BufferedImage environmentMap)
    • getEnvironmentMap

      public BufferedImage getEnvironmentMap()
    • setBumpSource

      public void setBumpSource(int bumpSource)
    • getBumpSource

      public int getBumpSource()
    • setFromRGB

      protected void setFromRGB(Color4f c, int argb)
    • filterPixels

      protected int[] filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace)
      Specified by:
      filterPixels in class WholeImageFilter
    • toString

      public String toString()
      Overrides:
      toString in class Object