def METHOD_NAME(self, context, layout):
    layout.label(text="Input mode:")
    layout.prop(self, "input_mode", expand=True)
    if self.input_mode == 'VERTICES':
        layout.label(text="Input orientation:")
        layout.prop(self, "orientation", expand=True)
    layout.prop(self, 'clamp_mode', expand=True)