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$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BumpMapBumpMap sourceprivate doubleSpecular lighting constantprivate LightLight used for specular lightingprivate booleantrue if calculations should be performed in linear sRGBprivate RectangleLitRegionprivate doubleDevice space to user space scale factors, along each axis.private doubleDevice space to user space scale factors, along each axis.private doubleSpecular lighting exponentFields inherited from class 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 TypeMethodDescriptionvoidMethods inherited from class AbstractTiledRed
copyToRaster, copyToRasterByBlocks, createTileStore, drawBlock, drawBlockAndCopy, drawBlockInPlace, genTile, getData, getDefaultTileSize, getTile, getTileStore, init, init, init, setTile, setTileStoreMethods inherited from class 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:
copyDatain interfaceRenderedImage- Overrides:
copyDatain classAbstractTiledRed
-
genRect
- Specified by:
genRectin classAbstractTiledRed
-