类 ChromeFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.WholeImageFilter
-
- org.meteoinfo.image.filter.LightFilter
-
- org.meteoinfo.image.filter.ChromeFilter
-
- 所有已实现的接口:
java.awt.image.BufferedImageOp,java.lang.Cloneable
public class ChromeFilter extends LightFilter
A filter which simulates chrome.
-
-
嵌套类概要
-
从类继承的嵌套类/接口 org.meteoinfo.image.filter.LightFilter
LightFilter.AmbientLight, LightFilter.DistantLight, LightFilter.Light, LightFilter.Material, LightFilter.PointLight, LightFilter.SpotLight
-
-
字段概要
-
从类继承的字段 org.meteoinfo.image.filter.LightFilter
AMBIENT, BUMPS_FROM_BEVEL, BUMPS_FROM_IMAGE, BUMPS_FROM_IMAGE_ALPHA, BUMPS_FROM_MAP, COLORS_CONSTANT, COLORS_FROM_IMAGE, DISTANT, POINT, r255, SPOT
-
从类继承的字段 org.meteoinfo.image.filter.WholeImageFilter
originalSpace, transformedSpace
-
-
构造器概要
构造器 构造器 说明 ChromeFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.awt.image.BufferedImagefilter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)floatgetAmount()Get the amount of chrome.floatgetExposure()Get the exppsure of the effect.voidsetAmount(float amount)Set the amount of effect.voidsetExposure(float exposure)Set the exppsure of the effect.java.lang.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.LightFilter
addLight, filterPixels, getBumpFunction, getBumpHeight, getBumpShape, getBumpSoftness, getBumpSource, getColorSource, getDiffuseColor, getEnvironmentMap, getLights, getMaterial, getViewDistance, phongShade, removeLight, setBumpFunction, setBumpHeight, setBumpShape, setBumpSoftness, setBumpSource, setColorSource, setDiffuseColor, setEnvironmentMap, setFromRGB, setMaterial, setViewDistance
-
从类继承的方法 org.meteoinfo.image.filter.WholeImageFilter
transformSpace
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
setAmount
public void setAmount(float amount)
Set the amount of effect.- 参数:
amount- the amount min-value 0 max-value 1- 另请参阅:
getAmount()
-
getAmount
public float getAmount()
Get the amount of chrome.- 返回:
- the amount
- 另请参阅:
setAmount(float)
-
setExposure
public void setExposure(float exposure)
Set the exppsure of the effect.- 参数:
exposure- the exposure min-value 0 max-value 1- 另请参阅:
getExposure()
-
getExposure
public float getExposure()
Get the exppsure of the effect.- 返回:
- the exposure
- 另请参阅:
setExposure(float)
-
filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)- 指定者:
filter在接口中java.awt.image.BufferedImageOp- 覆盖:
filter在类中WholeImageFilter
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中LightFilter
-
-