public class LayeredVolume extends ScalarField3D.Default implements ScalarField3D
ScalarField3D.Default, ScalarField3D.Empty| Constructor and Description |
|---|
LayeredVolume()
Instantiates a new layered volume.
|
LayeredVolume(ScalarField2D... _layers)
Instantiates a new layered volume.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addLayers(ScalarField2D... _layers)
Adds the layers.
|
int |
getDepth() |
int |
getHeight() |
ScalarField2D |
getLayer(int i)
Gets the layer.
|
float |
getValue(int x,
int y,
int z)
Gets the value.
|
int |
getWidth() |
getCoordinate, getNeighbors, getSize, getValuegetValueRangeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCoordinategetNeighbors, getSize, getValue, getValueRangepublic LayeredVolume()
public LayeredVolume(ScalarField2D... _layers)
_layers - the layerspublic void addLayers(ScalarField2D... _layers)
_layers - the layerspublic int getWidth()
getWidth in interface ScalarField3DgetWidth in interface usf.saav.common.algorithm.Surface1DgetWidth in interface usf.saav.common.algorithm.Surface2DgetWidth in interface usf.saav.common.algorithm.Surface3Dpublic int getHeight()
getHeight in interface ScalarField3DgetHeight in interface usf.saav.common.algorithm.Surface2DgetHeight in interface usf.saav.common.algorithm.Surface3Dpublic int getDepth()
getDepth in interface ScalarField3DgetDepth in interface usf.saav.common.algorithm.Surface3Dpublic float getValue(int x,
int y,
int z)
ScalarField3DgetValue in interface ScalarField3Dx - the xy - the yz - the zpublic ScalarField2D getLayer(int i)
i - the i