text: /*============================================================================
  
  The Medical Imaging Interaction Toolkit (MITK)
  
  Copyright (c) German Cancer Research Center (DKFZ)
  All rights reserved.
  
  Use of this source code is governed by a 3-clause BSD license that can be
  found in the LICENSE file.
  
  ============================================================================*/
  
  #ifndef QmitkRemeshingView_h
  #define QmitkRemeshingView_h
  
  #include <QmitkAbstractView.h>
  #include <QmitkSingleNodeSelectionWidget.h>
  #include <ui_QmitkRemeshingViewControls.h>
  
  class QmitkRemeshingView : public QmitkAbstractView
  {
    Q_OBJECT
  
  public:
    QmitkRemeshingView();
    ~QmitkRemeshingView() override;
  
    void CreateQtPartControl(QWidget* parent) override;
    void SetFocus() override;
  
  private slots:
    void OnSelectedSurfaceChanged(const QmitkSingleNodeSelectionWidget::NodeList& nodes);
    void OnDensityChanged(int numVertices);
    void OnRemeshButtonClicked();
  
  private:
    void EnableWidgets(bool enable);
  
    Ui::QmitkRemeshingViewControls m_Controls;
    int m_MaxNumberOfVertices;
  };
  
  #endif
  