Class SpecularLightingRed
java.lang.Object
org.apache.batik.ext.awt.image.rendered.AbstractRed
org.apache.batik.ext.awt.image.rendered.AbstractTiledRed
org.apache.batik.ext.awt.image.rendered.SpecularLightingRed
- All Implemented Interfaces:
RenderedImage
,CachableRed
,TileGenerator
- Version:
- $Id: SpecularLightingRed.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BumpMap
BumpMap sourceprivate double
Specular lighting constantprivate Light
Light used for specular lightingprivate boolean
true if calculations should be performed in linear sRGBprivate Rectangle
LitRegionprivate double
Device space to user space scale factors, along each axis.private double
Device space to user space scale factors, along each axis.private double
Specular lighting exponentFields 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
ConstructorsConstructorDescriptionSpecularLightingRed
(double ks, double specularExponent, Light light, BumpMap bumpMap, Rectangle litRegion, double scaleX, double scaleY, boolean linear) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Methods inherited from class org.apache.batik.ext.awt.image.rendered.AbstractTiledRed
copyToRaster, copyToRasterByBlocks, createTileStore, drawBlock, drawBlockAndCopy, drawBlockInPlace, genTile, getData, getDefaultTileSize, getTile, getTileStore, init, init, init, setTile, setTileStore
Methods inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed
copyBand, getBounds, getColorModel, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, makeTile, updateTileGridInfo
-
Field Details
-
ks
private double ksSpecular lighting constant -
specularExponent
private double specularExponentSpecular lighting exponent -
light
Light used for specular 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
-
SpecularLightingRed
-
-
Method Details
-
copyData
- Specified by:
copyData
in interfaceRenderedImage
- Overrides:
copyData
in classAbstractTiledRed
-
genRect
- Specified by:
genRect
in classAbstractTiledRed
-