public class AcceptIterationList extends Object implements AcceptIterationPredicate
AcceptIterationPredicate
fulfills the
condition.
This is like a logical or operation.
Constructor and Description |
---|
AcceptIterationList() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(BinaryVoxels<UnsignedByteBuffer> voxels)
Whether a particular
voxels fulfills the condition or not. |
void |
add(AcceptIterationPredicate predicate)
Adds an item to the list of predicates.
|
public boolean accept(BinaryVoxels<UnsignedByteBuffer> voxels) throws OperationFailedException
AcceptIterationPredicate
voxels
fulfills the condition or not.accept
in interface AcceptIterationPredicate
voxels
- the voxels to test.OperationFailedException
- if the predicate cannot be successfully checked.public void add(AcceptIterationPredicate predicate)
predicate
- the predicate to add.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.