Package com.jhlabs.image
Class SkyFilter
- java.lang.Object
-
- com.jhlabs.image.AbstractBufferedImageOp
-
- com.jhlabs.image.PointFilter
-
- com.jhlabs.image.SkyFilter
-
- All Implemented Interfaces:
java.awt.image.BufferedImageOp
,java.lang.Cloneable
public class SkyFilter extends PointFilter
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Random
random
-
Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel
-
-
Constructor Summary
Constructors Constructor Description SkyFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
evaluate(float x, float y)
java.awt.image.BufferedImage
filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
int
filterRGB(int x, int y, int rgb)
float
getAmount()
float
getAngle()
float
getBias()
float
getCameraAzimuth()
float
getCameraElevation()
float
getCloudCover()
float
getCloudSharpness()
float
getFOV()
float
getGain()
float
getGlow()
float
getGlowFalloff()
float
getH()
float
getHaziness()
float
getLacunarity()
float
getOctaves()
int
getOperation()
float
getScale()
float
getStretch()
float
getSunAzimuth()
int
getSunColor()
float
getSunElevation()
float
getT()
float
getTime()
float
getWindSpeed()
void
setAmount(float amount)
void
setAngle(float angle)
void
setBias(float bias)
void
setCameraAzimuth(float cameraAzimuth)
void
setCameraElevation(float cameraElevation)
void
setCloudCover(float cloudCover)
void
setCloudSharpness(float cloudSharpness)
void
setFOV(float fov)
void
setGain(float gain)
void
setGlow(float glow)
void
setGlowFalloff(float glowFalloff)
void
setH(float H)
void
setHaziness(float haziness)
void
setLacunarity(float lacunarity)
void
setOctaves(float octaves)
void
setOperation(int operation)
void
setScale(float scale)
void
setStretch(float stretch)
void
setSunAzimuth(float sunAzimuth)
void
setSunColor(int sunColor)
void
setSunElevation(float sunElevation)
void
setT(float t)
void
setTime(float time)
void
setWindSpeed(float windSpeed)
java.lang.String
toString()
-
Methods inherited from class com.jhlabs.image.PointFilter
setDimensions
-
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
-
-
-
-
Method Detail
-
setAmount
public void setAmount(float amount)
-
getAmount
public float getAmount()
-
setOperation
public void setOperation(int operation)
-
getOperation
public int getOperation()
-
setScale
public void setScale(float scale)
-
getScale
public float getScale()
-
setStretch
public void setStretch(float stretch)
-
getStretch
public float getStretch()
-
setT
public void setT(float t)
-
getT
public float getT()
-
setFOV
public void setFOV(float fov)
-
getFOV
public float getFOV()
-
setCloudCover
public void setCloudCover(float cloudCover)
-
getCloudCover
public float getCloudCover()
-
setCloudSharpness
public void setCloudSharpness(float cloudSharpness)
-
getCloudSharpness
public float getCloudSharpness()
-
setTime
public void setTime(float time)
-
getTime
public float getTime()
-
setGlow
public void setGlow(float glow)
-
getGlow
public float getGlow()
-
setGlowFalloff
public void setGlowFalloff(float glowFalloff)
-
getGlowFalloff
public float getGlowFalloff()
-
setAngle
public void setAngle(float angle)
-
getAngle
public float getAngle()
-
setOctaves
public void setOctaves(float octaves)
-
getOctaves
public float getOctaves()
-
setH
public void setH(float H)
-
getH
public float getH()
-
setLacunarity
public void setLacunarity(float lacunarity)
-
getLacunarity
public float getLacunarity()
-
setGain
public void setGain(float gain)
-
getGain
public float getGain()
-
setBias
public void setBias(float bias)
-
getBias
public float getBias()
-
setHaziness
public void setHaziness(float haziness)
-
getHaziness
public float getHaziness()
-
setSunElevation
public void setSunElevation(float sunElevation)
-
getSunElevation
public float getSunElevation()
-
setSunAzimuth
public void setSunAzimuth(float sunAzimuth)
-
getSunAzimuth
public float getSunAzimuth()
-
setSunColor
public void setSunColor(int sunColor)
-
getSunColor
public int getSunColor()
-
setCameraElevation
public void setCameraElevation(float cameraElevation)
-
getCameraElevation
public float getCameraElevation()
-
setCameraAzimuth
public void setCameraAzimuth(float cameraAzimuth)
-
getCameraAzimuth
public float getCameraAzimuth()
-
setWindSpeed
public void setWindSpeed(float windSpeed)
-
getWindSpeed
public float getWindSpeed()
-
filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
- Specified by:
filter
in interfacejava.awt.image.BufferedImageOp
- Overrides:
filter
in classPointFilter
-
evaluate
public float evaluate(float x, float y)
-
filterRGB
public int filterRGB(int x, int y, int rgb)
- Specified by:
filterRGB
in classPointFilter
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-