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$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BumpMapBumpMap sourceprivate doubleDiffuse lighting constantprivate LightLight used for diffuse lightingprivate booleantrue if calculations should be performed in linear sRGBprivate RectangleLitRegionprivate doubleDevice space to user space scale factors, along each axisprivate doubleDevice space to user space scale factors, along each axisFields inherited from class 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 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
-