public class ProcessVoxelNeighborFactory extends Object
ProcessVoxelNeighbor
to match certain circumstances.Modifier and Type | Method and Description |
---|---|
static <T> ProcessVoxelNeighbor<T> |
within(Optional<ObjectMask> containingMask,
Extent extentFallback,
ProcessVoxelNeighborAbsolute<T> process)
Creates to process neighbors that must lie within either an object-mask or an extent (as a
fallback).
|
static <T> ProcessVoxelNeighbor<T> |
withinExtent(ProcessVoxelNeighborAbsoluteWithSlidingBuffer<T> process)
Creates to process neighbors that must lie within an extent.
|
static <T> ProcessVoxelNeighbor<T> |
withinMask(ObjectMask object,
ProcessChangedPointAbsoluteMasked<T> process)
Creates to process neighbors that must lie within an
ObjectMask . |
static <T> ProcessVoxelNeighbor<T> |
withinMask(ObjectMask object,
ProcessVoxelNeighborAbsolute<T> process)
Creates to process neighbors that must lie within an
ObjectMask . |
public static <T> ProcessVoxelNeighbor<T> within(Optional<ObjectMask> containingMask, Extent extentFallback, ProcessVoxelNeighborAbsolute<T> process)
containingMask
- if defined, the process is restricted to only process points within
this object-mask.extentFallback
- if containingMask
is not defined, then as a fallback, the
process is restricted to only process points in this extent.process
- a process which will be wrapped inside a restriction.public static <T> ProcessVoxelNeighbor<T> withinExtent(ProcessVoxelNeighborAbsoluteWithSlidingBuffer<T> process)
The extent is derived from the SlidingBuffer
associated with process
.
process
- a process which will be wrapped inside a restriction.public static <T> ProcessVoxelNeighbor<T> withinMask(ObjectMask object, ProcessChangedPointAbsoluteMasked<T> process)
ObjectMask
.object
- the object-mask voxels must lie within.process
- a process which will be wrapped inside a restriction.public static <T> ProcessVoxelNeighbor<T> withinMask(ObjectMask object, ProcessVoxelNeighborAbsolute<T> process)
ObjectMask
.object
- the object-mask voxels must lie within.process
- a process which will be wrapped inside a restriction.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.