Interface ProcessBufferBinaryWithoutOffset<S,T>

Type Parameters:
S - type of first buffer
T - type of second buffer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ProcessBufferBinaryWithoutOffset<S,T>
Processes two buffers for each z-slice jointly, without any offset or point.

This is intended for usage with the relative get and #put methods of buffer classes.

Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Notifies the processor that there has been a change in slice.
    void
    process(S buffer1, T buffer2)
    Processes a voxel location in a buffer.
  • Method Details

    • notifyChangeSlice

      default void notifyChangeSlice(int z)
      Notifies the processor that there has been a change in slice.
      Parameters:
      z - the slice-index (global coordinates).
    • process

      void process(S buffer1, T buffer2)
      Processes a voxel location in a buffer.
      Parameters:
      buffer1 - first buffer for the current slice.
      buffer2 - second buffer for the current slice.