T
- type of both buffers@FunctionalInterface public interface ProcessBufferTernary<T>
ProcessPoint
but also retrieves three buffers for the
current z-slice.
It is very similar to ProcessBufferUnary
but uses two buffers of the same type instead
of a single one.
Modifier and Type | Method and Description |
---|---|
default void |
notifyChangeSlice(int z)
Notifies the processor that there has been a change in slice.
|
void |
process(Point3i point,
T buffer1,
T buffer2,
T buffer3,
int offset1,
int offset2,
int offset3)
Processes a voxel location in a buffer.
|
default void notifyChangeSlice(int z)
z
- the slice-index (global coordinates).void process(Point3i point, T buffer1, T buffer2, T buffer3, int offset1, int offset2, int offset3)
point
- a point with global coordinates.buffer1
- first buffer for the current slice for which offset
refers to a
particular location.buffer2
- second buffer for the current slice for which offset
refers to a
particular location.buffer3
- third buffer for the current slice for which offset
refers to a
particular location.offset1
- an offset value for the current slice for buffer1
(i.e. indexing XY
only, but not Z).offset2
- an offset value for the current slice for buffer2
(i.e. indexing XY
only, but not Z).offset3
- an offset value for the current slice for buffer3
(i.e. indexing XY
only, but not Z).Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.