⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 migappgui.fl

📁 itk入门教程
💻 FL
字号:
# data file for the Fltk User Interface Designer (fluid)
version 1.0104 
header_name {.h} 
code_name {.cxx}
class migAppGUI {open : {public migAppBase}
} {
  Function {migAppGUI()} {open
  } {
    Fl_Window migApp {
      label {myITKgui - Methods in Image Analysis, Spring 2004} open
      xywh {333 224 516 225} type Double resizable
      code0 {\#include "migAppBase.h"} visible
    } {
      Fl_Button {} {
        label {Load Image}
        callback {this->ReadImage();}
        xywh {30 25 130 25} down_box DOWN_BOX
      }
      Fl_Button {} {
        label {Run Pipeline}
        callback {this->UpdatePipelineCallback();}
        xywh {50 75 95 25} down_box DOWN_BOX
      }
      Fl_Button {} {
        label Quit
        callback {this->Hide();}
        xywh {50 130 95 25} down_box DOWN_BOX
      }
      Fl_Value_Slider LowerThresholdSlider {
        label {Lower Threshold}
        callback {m_ThresholdFilter->SetLowerThreshold(LowerThresholdSlider->value() );} selected
        xywh {230 90 260 25} type Horizontal when 4 maximum 255 step 1 value 25
      }
      Fl_Value_Input OutsideValueInput {
        label {Outside Value}
        callback {m_ThresholdFilter->SetOutsideValue(OutsideValueInput->value() );}
        xywh {360 55 50 25} maximum 255 step 1
      }
      Fl_Value_Input InsideValueInput {
        label {Inside Value}
        callback {m_ThresholdFilter->SetInsideValue(InsideValueInput->value() );}
        xywh {360 20 50 25} value 255
      }
      Fl_Value_Slider UpperThresholdSlider {
        label {Upper Threshold}
        callback {m_ThresholdFilter->SetUpperThreshold(UpperThresholdSlider->value() );}
        xywh {230 145 260 25} type Horizontal when 4 maximum 255 step 1 value 100
      }
    }
  }
  Function {~migAppGUI()} {} {
    code {this->Hide();} {}
  }
  Function {Show()} {open
  } {
    code {migApp->show();} {}
  }
  Function {Hide(void)} {open
  } {
    code {if( m_BeforeWindow ) m_BeforeWindow->Hide();
if( m_AfterWindow ) m_AfterWindow->Hide();
migApp->hide();} {}
  }
} 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -