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