T
- buffer-type@FunctionalInterface public interface ProcessBufferUnary<T>
ProcessPoint
but also retrieves a buffer for the current
z-slice.
It is very similar to ProcessVoxelBufferUnary
but uses buffer instead of a VoxelBuffer
.
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 buffer,
int offset)
Processes a voxel location in a buffer.
|
default void notifyChangeSlice(int z)
z
- the slice-index (global coordinates).void process(Point3i point, T buffer, int offset)
point
- a point with global coordinates.buffer
- a buffer for the current slice for which {code offset} refers to a particular
location.offset
- an offset value for the current slice (i.e. indexing XY only, but not Z).Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.