|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This provides a number of extra methods that enable a system to better analyse the dependencies between nodes in a render graph.
Method Summary | |
java.awt.Rectangle |
getBounds()
Returns the bounds of the current image. |
java.awt.Shape |
getDependencyRegion(int srcIndex,
java.awt.Rectangle outputRgn)
Returns the region of input data is is required to generate outputRgn. |
java.awt.Shape |
getDirtyRegion(int srcIndex,
java.awt.Rectangle inputRgn)
This calculates the region of output that is affected by a change in a region of input. |
Methods inherited from interface java.awt.image.RenderedImage |
copyData, getColorModel, getData, getData, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth |
Method Detail |
public java.awt.Rectangle getBounds()
public java.awt.Shape getDependencyRegion(int srcIndex, java.awt.Rectangle outputRgn)
srcIndex
- The source to do the dependency calculation for.outputRgn
- The region of output you are interested in
generating dependencies for. The is given in the output pixel
coordiate system for this node.public java.awt.Shape getDirtyRegion(int srcIndex, java.awt.Rectangle inputRgn)
srcIndex
- The input that inputRgn reflects changes in.inputRgn
- the region of input that has changed, used to
calculate the returned shape. This is given in the pixel
coordinate system of the source indicated by srcIndex.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |