public class Extract2DFrom3D extends ScalarField2D.Default implements ScalarField2D
ScalarField2D.Default, ScalarField2D.Empty, ScalarField2D.Test| Constructor and Description |
|---|
Extract2DFrom3D(ScalarField3D sf,
int layer)
Instantiates a new extract 2 D from 3 D.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
float |
getValue(int x,
int y)
Gets the value.
|
int |
getWidth() |
getCoordinate, getNeighbors, getSize, getValue, isValid, toPImagegetValueRangeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCoordinate, toPImagegetNeighbors, getSize, getValue, getValueRangepublic Extract2DFrom3D(ScalarField3D sf, int layer)
sf - the sflayer - the layerpublic int getWidth()
getWidth in interface usf.saav.common.algorithm.Surface1DgetWidth in interface usf.saav.common.algorithm.Surface2Dpublic int getHeight()
getHeight in interface usf.saav.common.algorithm.Surface2Dpublic float getValue(int x,
int y)
ScalarField2DgetValue in interface ScalarField2Dx - the xy - the y