S
- type of first bufferT
- type of second buffer@FunctionalInterface public interface ProcessBufferBinaryMixed<S,T>
ProcessPoint
but also retrieves both one VoxelBuffer
for the current z-slice and one Buffer
for the current z-slice.
It is very similar to ProcessBufferUnary
but uses two Buffer
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,
VoxelBuffer<S> buffer1,
T buffer2,
int offset1,
int offset2)
Processes a voxel location in two buffers.
|
default void notifyChangeSlice(int z)
z
- the slice-index (global coordinates).void process(Point3i point, VoxelBuffer<S> buffer1, T buffer2, int offset1, int offset2)
point
- a point with global coordinates.buffer1
- first buffer for the current slice for which offsetSlice
refers to a
particular location.buffer2
- second buffer for the current slice for which offsetSlice
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).Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.