All Packages Class Hierarchy This Package Previous Next Index
Class com.jhlabs.image.LightFilter
java.lang.Object
|
+----java.awt.image.ImageFilter
|
+----com.jhlabs.image.WholeImageFilter
|
+----com.jhlabs.image.LightFilter
- public class LightFilter
- extends com.jhlabs.image.WholeImageFilter
- implements java.io.Serializable
-
LightFilter.AmbientLight
-
-
LightFilter.DistantLight
-
-
LightFilter.Light
-
-
LightFilter.Material
-
-
LightFilter.NormalEvaluator
-
-
LightFilter.PointLight
-
-
LightFilter.SpotLight
-
-
AMBIENT
-
-
BUMPS_FROM_BEVEL
-
-
BUMPS_FROM_IMAGE
-
-
BUMPS_FROM_MAP
-
-
COLORS_CONSTANT
-
-
COLORS_FROM_ENVIRONMENT
-
-
COLORS_FROM_IMAGE
-
-
DISTANT
-
-
normalEvaluator
-
-
POINT
-
-
SPOT
-
-
LightFilter()
-
-
addLight(LightFilter.Light)
-
-
getBumpFunction()
-
-
getBumpHeight()
-
-
getBumpSource()
-
-
getColorSource()
-
-
getEnvironmentMap()
-
-
getLights()
-
-
getViewDistance()
-
-
imageComplete(int)
-
-
phongShade(LightFilter.Vector3D, LightFilter.Vector3D, LightFilter.Vector3D, LightFilter.ARGB, LightFilter.ARGB, LightFilter.Material, LightFilter.Light[])
-
-
removeLight(LightFilter.Light)
-
-
setBumpFunction(Function2D)
-
-
setBumpHeight(double)
-
-
setBumpSource(int)
-
-
setColorSource(int)
-
-
setEnvironmentMap(Image)
-
-
setViewDistance(double)
-
-
toString()
-
COLORS_FROM_IMAGE
public static final int COLORS_FROM_IMAGE
COLORS_CONSTANT
public static final int COLORS_CONSTANT
COLORS_FROM_ENVIRONMENT
public static final int COLORS_FROM_ENVIRONMENT
BUMPS_FROM_IMAGE
public static final int BUMPS_FROM_IMAGE
BUMPS_FROM_MAP
public static final int BUMPS_FROM_MAP
BUMPS_FROM_BEVEL
public static final int BUMPS_FROM_BEVEL
normalEvaluator
public com.jhlabs.image.LightFilter.NormalEvaluator normalEvaluator
AMBIENT
public static final int AMBIENT
DISTANT
public static final int DISTANT
POINT
public static final int POINT
SPOT
public static final int SPOT
LightFilter
public LightFilter()
setBumpFunction
public void setBumpFunction(com.jhlabs.math.Function2D bumpFunction)
getBumpFunction
public com.jhlabs.math.Function2D getBumpFunction()
setBumpHeight
public void setBumpHeight(double bumpHeight)
getBumpHeight
public double getBumpHeight()
setViewDistance
public void setViewDistance(double viewDistance)
getViewDistance
public double getViewDistance()
setEnvironmentMap
public void setEnvironmentMap(java.awt.Image environmentMap)
getEnvironmentMap
public java.awt.Image getEnvironmentMap()
setColorSource
public void setColorSource(int colorSource)
getColorSource
public int getColorSource()
setBumpSource
public void setBumpSource(int bumpSource)
getBumpSource
public int getBumpSource()
addLight
public void addLight(com.jhlabs.image.LightFilter.Light light)
removeLight
public void removeLight(com.jhlabs.image.LightFilter.Light light)
getLights
public java.util.Vector getLights()
imageComplete
public void imageComplete(int status)
- Overrides:
- imageComplete in class java.awt.image.ImageFilter
phongShade
public com.jhlabs.image.LightFilter.ARGB phongShade(com.jhlabs.image.LightFilter.Vector3D position,
com.jhlabs.image.LightFilter.Vector3D viewpoint,
com.jhlabs.image.LightFilter.Vector3D normal,
com.jhlabs.image.LightFilter.ARGB diffuseColor,
com.jhlabs.image.LightFilter.ARGB specularColor,
com.jhlabs.image.LightFilter.Material material,
com.jhlabs.image.LightFilter.Light lightsArray[])
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
All Packages Class Hierarchy This Package Previous Next Index