|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.dataop.barithm.RasterDataEvalEnv
public class RasterDataEvalEnv
Represents an evaluation environment for Terms which are operating on raster data.
The evaluation environment is passed to the evalB,
evalI and
evalB methods
of a Term.
Special implementations of the Symbol and Function
interfaces, such as RasterDataSymbol, can then use the environment in order to perform
raster data specific evaluations.
| Constructor Summary | |
|---|---|
RasterDataEvalEnv(int offsetX,
int offsetY,
int regionWidth,
int regionHeight)
Constructs a new environment for the given raster data region. |
|
RasterDataEvalEnv(int offsetX,
int offsetY,
int regionWidth,
int regionHeight,
org.esa.beam.jai.LevelImageSupport levelImageSupport)
Constructs a new environment for the given raster data region. |
|
| Method Summary | |
|---|---|
int |
getElemIndex()
Gets the index of the current data element. |
int |
getOffsetX()
Gets the x-offset of the raster region. |
int |
getOffsetY()
Gets the y-offset of the raster region. |
int |
getPixelX()
Gets the absolute pixel's x-coordinate within the data raster (from image at level zero in an image pyramid). |
int |
getPixelY()
Gets the absolute pixel's y-coordinate within the data raster (from image at level zero in an image pyramid). |
int |
getRegionHeight()
Gets the height of the raster region. |
int |
getRegionWidth()
Gets the width of the raster region. |
void |
setElemIndex(int elemIndex)
Sets the index of the current data element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RasterDataEvalEnv(int offsetX,
int offsetY,
int regionWidth,
int regionHeight)
offsetX - the x-offset of the raster regionoffsetY - the y-offset of the raster regionregionWidth - the width of the raster regionregionHeight - the height of the raster region
public RasterDataEvalEnv(int offsetX,
int offsetY,
int regionWidth,
int regionHeight,
org.esa.beam.jai.LevelImageSupport levelImageSupport)
getSourceX() and getSourceY()
will return the correct pixel coordinate at level zero.
offsetX - the x-offset of the raster regionoffsetY - the y-offset of the raster regionregionWidth - the width of the raster regionregionHeight - the height of the raster regionlevelImageSupport - helps to compute the source pixels at level zero| Method Detail |
|---|
public int getOffsetX()
public int getOffsetY()
public int getRegionWidth()
public int getRegionHeight()
public final int getPixelX()
public final int getPixelY()
public final int getElemIndex()
public void setElemIndex(int elemIndex)
elemIndex - the index of the current data element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||