public interface ThreeDimensionalIntReadAccess extends ThreeDimensionalReadAccess<java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
static ThreeDimensionalIntReadAccess |
EMPTY
Empty 3dimensional int read access.
|
Modifier and Type | Method and Description |
---|---|
default java.lang.Integer |
getElementAt(int ix,
int iy,
int iz)
Get the element at the given indexes.
|
int |
getValueAt(int ix,
int iy,
int iz)
Get the value at the given indexes.
|
static ThreeDimensionalIntReadAccess |
singleton(int singleElement)
Get a 3dimensional int read access for a single element.
|
default TwoDimensionalIntReadAccess |
subAtX(int fixX)
Get a 2-dimensional view of the plane at the given X index.
|
default TwoDimensionalIntReadAccess |
subAtY(int fixY)
Get a 2-dimensional view of the plane at the given Y index.
|
default TwoDimensionalIntReadAccess |
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 ThreeDimensionalIntReadAccess EMPTY
@NotNull static ThreeDimensionalIntReadAccess singleton(int singleElement)
singleton
in interface ThreeDimensionalReadAccess<java.lang.Integer>
singleElement
- single elementint getValueAt(int ix, int iy, int iz)
ix
- X indexiy
- Y indexiz
- Z index@NotNull default java.lang.Integer getElementAt(int ix, int iy, int iz)
ThreeDimensionalReadAccess
getElementAt
in interface ThreeDimensionalReadAccess<java.lang.Integer>
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 TwoDimensionalIntReadAccess subAtX(int fixX)
ThreeDimensionalReadAccess
subAtX
in interface ThreeDimensionalReadAccess<java.lang.Integer>
fixX
- fix X indexfixX
@NotNull default TwoDimensionalIntReadAccess subAtY(int fixY)
ThreeDimensionalReadAccess
subAtY
in interface ThreeDimensionalReadAccess<java.lang.Integer>
fixY
- fix Y indexfixY
@NotNull default TwoDimensionalIntReadAccess subAtZ(int fixZ)
ThreeDimensionalReadAccess
subAtZ
in interface ThreeDimensionalReadAccess<java.lang.Integer>
fixZ
- fix Z indexfixZ