T
- type of both buffers@FunctionalInterface public interface PredicateBufferBinary<T>
ProcessBufferBinary
but returns a boolean.Modifier and Type | Method and Description |
---|---|
default void |
notifyChangeSlice(int z)
Notifies the processor that there has been a change in slice (z global coordinate).
|
boolean |
test(Point3i point,
T buffer1,
T buffer2,
int offset1,
int offset2)
Tests a voxel location in two buffers.
|
default void notifyChangeSlice(int z)
z
- the z-index of the slices.boolean test(Point3i point, T 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.