public interface ThreeDimensionalShortReadAccess extends ThreeDimensionalReadAccess<java.lang.Short>
Modifier and Type | Field and Description |
---|---|
static ThreeDimensionalShortReadAccess |
EMPTY
Empty 3dimensional short read access.
|
Modifier and Type | Method and Description |
---|---|
default java.lang.Short |
getElementAt(int ix,
int iy,
int iz)
Get the element at the given indexes.
|
short |
getValueAt(int ix,
int iy,
int iz)
Get the value at the given indexes.
|
static ThreeDimensionalShortReadAccess |
singleton(short singleElement)
Get a 3dimensional short read access for a single element.
|
default TwoDimensionalShortReadAccess |
subAtX(int fixX)
Get a 2-dimensional view of the plane at the given X index.
|
default TwoDimensionalShortReadAccess |
subAtY(int fixY)
Get a 2-dimensional view of the plane at the given Y index.
|
default TwoDimensionalShortReadAccess |
subAtZ(int fixZ)
Get a 2-dimensional view of the plane at the given Z index.
|
empty, getElement, getNumDimensions, getNumElements, getSize, getSizes, sizeX, sizeY, sizeZ, view, visitAll, visitAll
empty, linearized
static final ThreeDimensionalShortReadAccess EMPTY
@NotNull static ThreeDimensionalShortReadAccess singleton(short singleElement)
singleton
in interface ThreeDimensionalReadAccess<java.lang.Short>
singleElement
- single elementshort getValueAt(int ix, int iy, int iz)
ix
- X indexiy
- Y indexiz
- Z index@NotNull default java.lang.Short getElementAt(int ix, int iy, int iz)
ThreeDimensionalReadAccess
getElementAt
in interface ThreeDimensionalReadAccess<java.lang.Short>
ix
- 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 Z direction from 0
(included) to ThreeDimensionalReadAccess.sizeZ()
(excluded)@NotNull default TwoDimensionalShortReadAccess subAtX(int fixX)
ThreeDimensionalReadAccess
subAtX
in interface ThreeDimensionalReadAccess<java.lang.Short>
fixX
- fix X indexfixX
@NotNull default TwoDimensionalShortReadAccess subAtY(int fixY)
ThreeDimensionalReadAccess
subAtY
in interface ThreeDimensionalReadAccess<java.lang.Short>
fixY
- fix Y indexfixY
@NotNull default TwoDimensionalShortReadAccess subAtZ(int fixZ)
ThreeDimensionalReadAccess
subAtZ
in interface ThreeDimensionalReadAccess<java.lang.Short>
fixZ
- fix Z indexfixZ