Interface ProcessBufferTernary<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.
Processes a 3D point like
ProcessPoint
but also retrieves three buffers for the
current z-slice.
It is very similar to ProcessBufferUnary
but uses two buffers of the same type instead
of a single one.
- Author:
- Owen Feehan
-
Method Summary
-
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
Processes a voxel location in a buffer.- Parameters:
point
- a point with global coordinates.buffer1
- first buffer for the current slice for whichoffset
refers to a particular location.buffer2
- second buffer for the current slice for whichoffset
refers to a particular location.buffer3
- third buffer for the current slice for whichoffset
refers to a particular location.offset1
- an offset value for the current slice forbuffer1
(i.e. indexing XY only, but not Z).offset2
- an offset value for the current slice forbuffer2
(i.e. indexing XY only, but not Z).offset3
- an offset value for the current slice forbuffer3
(i.e. indexing XY only, but not Z).
-