def METHOD_NAME(self, context):
    self.inputs['Offset'].hide_safe = self.mode == 'C'
    self.inputs['Vector'].hide_safe = self.mode != 'C'
    self.inputs['Resolution'].hide_safe = self.algorithm not in {ZERO, TRACK_NORMAL}
    updateNode(self, context)