public interface ThreeDimensionalShortAccess extends ThreeDimensionalShortReadAccess, ThreeDimensionalAccess<java.lang.Short>
| Modifier and Type | Field and Description |
|---|---|
static ThreeDimensionalShortAccess |
EMPTY
Empty 3dimensional short access.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
changeAllValues(ShortOperator1 operator)
Change all values by applying an operator.
|
default void |
changeValueAt(ShortOperator1 operator,
int ix,
int iy,
int iz)
Change the value at the given indexes.
|
default void |
fillValuesByIndex(IntToShortFunction3 setter)
Set all values depending on their indexes.
|
default void |
setElementAt(java.lang.Short element,
int ix,
int iy,
int iz)
Set the element at the given indexes.
|
void |
setValueAt(short value,
int ix,
int iy,
int iz)
Set the value at the given indexes.
|
default TwoDimensionalShortAccess |
subAtX(int fixX)
Get a 2-dimensional view of the plane at the given X index.
|
default TwoDimensionalShortAccess |
subAtY(int fixY)
Get a 2-dimensional view of the plane at the given Y index.
|
default TwoDimensionalShortAccess |
subAtZ(int fixZ)
Get a 2-dimensional view of the plane at the given Z index.
|
getElementAt, getValueAt, singletonchangeAll, changeAll, empty, fillByIndex, setElementgetElement, getNumDimensions, getNumElements, getSize, getSizes, sizeX, sizeY, sizeZ, view, visitAll, visitAllchange, setAll, setFrom, setFrom, setFromempty, linearizedstatic final ThreeDimensionalShortAccess EMPTY
void setValueAt(short value,
int ix,
int iy,
int iz)
value - value to setix - X indexiy - Y indexiz - Z indexdefault void changeValueAt(@NotNull ShortOperator1 operator, int ix, int iy, int iz)
operator - operator to apply to the valueix - X indexiy - Y indexiz - Z indexdefault void changeAllValues(@NotNull ShortOperator1 operator)
operator - operator to applydefault void fillValuesByIndex(@NotNull IntToShortFunction3 setter)
setter - setter which provides the value to set for each index combinationdefault void setElementAt(@NotNull java.lang.Short element, int ix, int iy, int iz)
ThreeDimensionalAccesssetElementAt in interface ThreeDimensionalAccess<java.lang.Short>element - element to setix - index in X direction from 0 (included) to ThreeDimensionalReadAccess.sizeX() (excluded)iy - index in Y direction from 0 (included) to ThreeDimensionalReadAccess.sizeY() (excluded)iz - index in Y direction from 0 (included) to ThreeDimensionalReadAccess.sizeZ() (excluded)@NotNull default TwoDimensionalShortAccess subAtX(int fixX)
ThreeDimensionalReadAccesssubAtX in interface ThreeDimensionalAccess<java.lang.Short>subAtX in interface ThreeDimensionalReadAccess<java.lang.Short>subAtX in interface ThreeDimensionalShortReadAccessfixX - fix X indexfixX@NotNull default TwoDimensionalShortAccess subAtY(int fixY)
ThreeDimensionalReadAccesssubAtY in interface ThreeDimensionalAccess<java.lang.Short>subAtY in interface ThreeDimensionalReadAccess<java.lang.Short>subAtY in interface ThreeDimensionalShortReadAccessfixY - fix Y indexfixY@NotNull default TwoDimensionalShortAccess subAtZ(int fixZ)
ThreeDimensionalReadAccesssubAtZ in interface ThreeDimensionalAccess<java.lang.Short>subAtZ in interface ThreeDimensionalReadAccess<java.lang.Short>subAtZ in interface ThreeDimensionalShortReadAccessfixZ - fix Z indexfixZ