类 ShadeFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.WholeImageFilter
-
- org.meteoinfo.image.filter.ShadeFilter
-
- 所有已实现的接口:
java.awt.image.BufferedImageOp,java.lang.Cloneable
public class ShadeFilter extends WholeImageFilter
-
-
字段概要
字段 修饰符和类型 字段 说明 static intBUMPS_FROM_BEVELstatic intBUMPS_FROM_IMAGEstatic intBUMPS_FROM_IMAGE_ALPHAstatic intBUMPS_FROM_MAPstatic intCOLORS_CONSTANTstatic intCOLORS_FROM_IMAGEprotected static floatr255-
从类继承的字段 org.meteoinfo.image.filter.WholeImageFilter
originalSpace, transformedSpace
-
-
构造器概要
构造器 构造器 说明 ShadeFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected int[]filterPixels(int width, int height, int[] inPixels, java.awt.Rectangle transformedSpace)Actually filter the pixels.Function2DgetBumpFunction()floatgetBumpHeight()floatgetBumpSoftness()intgetBumpSource()java.awt.image.BufferedImagegetEnvironmentMap()voidsetBumpFunction(Function2D bumpFunction)voidsetBumpHeight(float bumpHeight)voidsetBumpSoftness(float bumpSoftness)voidsetBumpSource(int bumpSource)voidsetEnvironmentMap(java.awt.image.BufferedImage environmentMap)protected voidsetFromRGB(Color4f c, int argb)java.lang.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.WholeImageFilter
filter, transformSpace
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
字段详细资料
-
COLORS_FROM_IMAGE
public static final int COLORS_FROM_IMAGE
- 另请参阅:
- 常量字段值
-
COLORS_CONSTANT
public static final int COLORS_CONSTANT
- 另请参阅:
- 常量字段值
-
BUMPS_FROM_IMAGE
public static final int BUMPS_FROM_IMAGE
- 另请参阅:
- 常量字段值
-
BUMPS_FROM_IMAGE_ALPHA
public static final int BUMPS_FROM_IMAGE_ALPHA
- 另请参阅:
- 常量字段值
-
BUMPS_FROM_MAP
public static final int BUMPS_FROM_MAP
- 另请参阅:
- 常量字段值
-
BUMPS_FROM_BEVEL
public static final int BUMPS_FROM_BEVEL
- 另请参阅:
- 常量字段值
-
r255
protected static final float r255
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
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(java.awt.image.BufferedImage environmentMap)
-
getEnvironmentMap
public java.awt.image.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, java.awt.Rectangle transformedSpace)从类复制的说明:WholeImageFilterActually filter the pixels.- 指定者:
filterPixels在类中WholeImageFilter- 参数:
width- the image widthheight- the image heightinPixels- the image pixelstransformedSpace- the output bounds- 返回:
- the output pixels
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-