def METHOD_NAME(self, slot, subindex, roi):
    # If the dirty slot is one of our two constants, then the entire image region is dirty
    if slot == self.Offset or slot == self.ScalingFactor:
        roi = slice(None)  # The whole image region
    # All inputs affect all outputs, so every image is dirty now
    for oslot in self.Output:
        oslot.setDirty(roi)