Skip to content

Studio/Data/SegmentationToolPanel.h

Namespaces

Name
shapeworks
User usage reporting (telemetry)

Classes

Name
class shapeworks::SegmentationToolPanel

Source code

#pragma once

#include <Shape.h>

#include <QSharedPointer>
#include <QWidget>

class Ui_SegmentationToolPanel;

namespace shapeworks {

class Session;
class Lightbox;
class ShapeWorksStudioApp;

class SegmentationToolPanel : public QWidget {
  Q_OBJECT;

 public:
  SegmentationToolPanel(QWidget* parent = 0);
  ~SegmentationToolPanel();

  void set_session(QSharedPointer<Session> session);
  void reset();

 public Q_SLOTS:

 Q_SIGNALS:

  void update_view();

 private:
  QSharedPointer<Session> session_;

  void update_paint_value();
  void recompute_surface();

  Ui_SegmentationToolPanel* ui_;
};
}  // namespace shapeworks

Updated on 2024-11-11 at 19:51:46 +0000