|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.ext.awt.image.renderable.AbstractRable
org.apache.batik.ext.awt.image.renderable.AbstractColorInterpolationRable
org.apache.batik.ext.awt.image.renderable.SpecularLightingRable8Bit
public class SpecularLightingRable8Bit
Implementation of the SpecularLightRable interface.
| Field Summary |
|---|
| Fields inherited from class org.apache.batik.ext.awt.image.renderable.AbstractColorInterpolationRable |
|---|
csLinear |
| Fields inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable |
|---|
props, srcs, stamp |
| Fields inherited from interface java.awt.image.renderable.RenderableImage |
|---|
HINTS_OBSERVED |
| Constructor Summary | |
|---|---|
SpecularLightingRable8Bit(Filter src,
Rectangle2D litRegion,
Light light,
double ks,
double specularExponent,
double surfaceScale,
double[] kernelUnitLength)
|
|
| Method Summary | |
|---|---|
RenderedImage |
createRendering(RenderContext rc)
|
Rectangle2D |
getBounds2D()
Returns this filter's bounds |
double[] |
getKernelUnitLength()
Returns the min [dx,dy] distance in user space for evalutation of the sobel gradient. |
double |
getKs()
|
Light |
getLight()
|
Rectangle2D |
getLitRegion()
Returns this filter's litRegion |
Filter |
getSource()
Returns the source to be filtered |
double |
getSpecularExponent()
|
double |
getSurfaceScale()
|
void |
setKernelUnitLength(double[] kernelUnitLength)
Sets the min [dx,dy] distance in user space for evaluation of the sobel gradient. |
void |
setKs(double ks)
Sets the specular constant, or ks |
void |
setLight(Light light)
|
void |
setLitRegion(Rectangle2D litRegion)
Set this filter's litRegion |
void |
setSource(Filter src)
Sets the source to be filtered |
void |
setSpecularExponent(double specularExponent)
Sets the specular exponent |
void |
setSurfaceScale(double surfaceScale)
Sets the surface scale |
| Methods inherited from class org.apache.batik.ext.awt.image.renderable.AbstractColorInterpolationRable |
|---|
convertSourceCS, convertSourceCS, getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinear |
| Methods inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable |
|---|
createDefaultRendering, createScaledRendering, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.batik.ext.awt.image.renderable.FilterColorInterpolation |
|---|
getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinear |
| Methods inherited from interface org.apache.batik.ext.awt.image.renderable.Filter |
|---|
getDependencyRegion, getDirtyRegion, getTimeStamp |
| Methods inherited from interface java.awt.image.renderable.RenderableImage |
|---|
createDefaultRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic |
| Constructor Detail |
|---|
public SpecularLightingRable8Bit(Filter src,
Rectangle2D litRegion,
Light light,
double ks,
double specularExponent,
double surfaceScale,
double[] kernelUnitLength)
| Method Detail |
|---|
public Filter getSource()
getSource in interface SpecularLightingRablepublic void setSource(Filter src)
setSource in interface SpecularLightingRablepublic Rectangle2D getBounds2D()
getBounds2D in interface FiltergetBounds2D in class AbstractRablepublic Rectangle2D getLitRegion()
getLitRegion in interface SpecularLightingRablepublic void setLitRegion(Rectangle2D litRegion)
setLitRegion in interface SpecularLightingRablepublic Light getLight()
getLight in interface SpecularLightingRablepublic void setLight(Light light)
setLight in interface SpecularLightingRablelight - New Light objectpublic double getSurfaceScale()
getSurfaceScale in interface SpecularLightingRablepublic void setSurfaceScale(double surfaceScale)
setSurfaceScale in interface SpecularLightingRablepublic double getKs()
getKs in interface SpecularLightingRablepublic void setKs(double ks)
setKs in interface SpecularLightingRablepublic double getSpecularExponent()
getSpecularExponent in interface SpecularLightingRablepublic void setSpecularExponent(double specularExponent)
setSpecularExponent in interface SpecularLightingRablepublic double[] getKernelUnitLength()
getKernelUnitLength in interface SpecularLightingRablepublic void setKernelUnitLength(double[] kernelUnitLength)
setKernelUnitLength in interface SpecularLightingRablepublic RenderedImage createRendering(RenderContext rc)
createRendering in interface RenderableImage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||