public class WalkRunnable extends Object
Runnable
if the neighbor
satisfies conditions.
The conditions are:
KernelApplicationParameters
parameters must indicate off.
Constructor and Description |
---|
WalkRunnable(KernelPointCursor point,
java.util.function.Predicate<Point3i> additionalPredicate,
Runnable executeWhenSatisfied) |
Modifier and Type | Method and Description |
---|---|
void |
walk(UnsignedByteBuffer buffer,
BufferRetriever bufferRetriever)
Walks in X and Y direction, and Z direction if enabled.
|
public WalkRunnable(KernelPointCursor point, java.util.function.Predicate<Point3i> additionalPredicate, Runnable executeWhenSatisfied)
public void walk(UnsignedByteBuffer buffer, BufferRetriever bufferRetriever)
buffer
- the buffer associated with the current slicebufferRetriever
- a means of retrieving buffers for other slices, accepting a relative
shift compared to current slice (e.g. -1, +1) etc.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.