All Implemented Interfaces:
Provider<Mask>, ProviderAsStack

public class IfHighLow extends CombineBase
Outputs the logical operation iff first==HIGH and second==LOW then LOW voxelwise on both masks, modifying {mask} with the result.

Specifically the truth table is:

FirstSecondOutput
000
010
101
110
truth table
Author:
Owen Feehan
  • Constructor Details

    • IfHighLow

      public IfHighLow()
  • Method Details

    • createFromTwoMasks

      protected Mask createFromTwoMasks(Mask maskToModify, Mask maskReceiver)
      Description copied from class: CombineBase
      Creates a mask from some combination of two masks.
      Specified by:
      createFromTwoMasks in class CombineBase
      Parameters:
      maskToModify - first mask (which is also the mask modified with the result)
      maskReceiver - second mask (which is not modified)
      Returns:
      either maskToModify or maskOther depending on implementation