Class DiffuseLightingRed
java.lang.Object
org.apache.batik.ext.awt.image.rendered.AbstractRed
org.apache.batik.ext.awt.image.rendered.DiffuseLightingRed
- All Implemented Interfaces:
RenderedImage
,CachableRed
- Version:
- $Id: DiffuseLightingRed.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BumpMap
BumpMap sourceprivate double
Diffuse lighting constantprivate Light
Light used for diffuse lightingprivate boolean
true if calculations should be performed in linear sRGBprivate Rectangle
LitRegionprivate double
Device space to user space scale factors, along each axisprivate double
Device space to user space scale factors, along each axisFields inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
-
Constructor Summary
ConstructorsConstructorDescriptionDiffuseLightingRed
(double kd, Light light, BumpMap bumpMap, Rectangle litRegion, double scaleX, double scaleY, boolean linear) -
Method Summary
Methods inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed
copyBand, copyToRaster, getBounds, getColorModel, getData, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo
-
Field Details
-
kd
private double kdDiffuse lighting constant -
light
Light used for diffuse lighting -
bumpMap
BumpMap source -
scaleX
private double scaleXDevice space to user space scale factors, along each axis -
scaleY
private double scaleYDevice space to user space scale factors, along each axis -
litRegion
LitRegion -
linear
private boolean lineartrue if calculations should be performed in linear sRGB
-
-
Constructor Details
-
DiffuseLightingRed
-
-
Method Details
-
copyData
-