Interface PredicateBufferBinary<T>
- Type Parameters:
T- type of both buffers
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Like
ProcessBufferBinary but returns a boolean.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidnotifyChangeSlice(int z) Notifies the processor that there has been a change in slice (z global coordinate).booleanTests a voxel location in two buffers.
-
Method Details
-
notifyChangeSlice
default void notifyChangeSlice(int z) Notifies the processor that there has been a change in slice (z global coordinate).- Parameters:
z- the z-index of the slices.
-
test
Tests a voxel location in two buffers.- Parameters:
point- a point with global coordinates.buffer1- first buffer for the current slice for whichoffsetSlicerefers to a particular location.buffer2- second buffer for the current slice for whichoffsetSlicerefers 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).- Returns:
- true if the predicate is satisfied.
-