Class DiffuseLightingRed
- java.lang.Object
-
- org.apache.batik.ext.awt.image.rendered.AbstractRed
-
- org.apache.batik.ext.awt.image.rendered.DiffuseLightingRed
-
- All Implemented Interfaces:
java.awt.image.RenderedImage,CachableRed
public class DiffuseLightingRed extends AbstractRed
- Version:
- $Id: DiffuseLightingRed.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
Fields Modifier and Type Field Description private BumpMapbumpMapBumpMap sourceprivate doublekdDiffuse lighting constantprivate LightlightLight used for diffuse lightingprivate booleanlineartrue if calculations should be performed in linear sRGBprivate java.awt.RectanglelitRegionLitRegionprivate doublescaleXDevice space to user space scale factors, along each axisprivate doublescaleYDevice space to user space scale factors, along each axis-
Fields 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
Constructors Constructor Description DiffuseLightingRed(double kd, Light light, BumpMap bumpMap, java.awt.Rectangle litRegion, double scaleX, double scaleY, boolean linear)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.WritableRastercopyData(java.awt.image.WritableRaster wr)-
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 Detail
-
kd
private double kd
Diffuse lighting constant
-
light
private Light light
Light used for diffuse lighting
-
bumpMap
private BumpMap bumpMap
BumpMap source
-
scaleX
private double scaleX
Device space to user space scale factors, along each axis
-
scaleY
private double scaleY
Device space to user space scale factors, along each axis
-
litRegion
private java.awt.Rectangle litRegion
LitRegion
-
linear
private boolean linear
true if calculations should be performed in linear sRGB
-
-