public class Subsample3D extends ScalarField3D.Default
ScalarField3D.Default, ScalarField3D.Empty
Constructor and Description |
---|
Subsample3D(ScalarField3D field,
int step)
Instantiates a new subsample 3 D.
|
Subsample3D(ScalarField3D field,
int step_x,
int step_y,
int step_z)
Instantiates a new subsample 3 D.
|
Modifier and Type | Method and Description |
---|---|
int |
getDepth() |
int |
getHeight() |
float |
getValue(int x,
int y,
int z)
Gets the value.
|
int |
getWidth() |
getCoordinate, getNeighbors, getSize, getValue
getValueRange
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValueRange
public Subsample3D(ScalarField3D field, int step)
field
- the fieldstep
- the steppublic Subsample3D(ScalarField3D field, int step_x, int step_y, int step_z)
field
- the fieldstep_x
- the step xstep_y
- the step ystep_z
- the step zpublic int getWidth()
public int getHeight()
public int getDepth()
public float getValue(int x, int y, int z)
ScalarField3D
x
- the xy
- the yz
- the z