Skip to content

Studio/src/Data/QMeshWarper.h

Namespaces

Name
shapeworks

Classes

Name
class shapeworks::QMeshWarper
Wraps MeshWarper as a QObject.

Source code

#pragma once

#include <Libs/Mesh/MeshWarper.h>
#include <QObject>
#include <QMutex>
#include <QElapsedTimer>

namespace shapeworks {

class QMeshWarper : public QObject, public MeshWarper {
Q_OBJECT;

public:
  QMeshWarper(QObject* parent = nullptr);

  float get_progress();

protected:

  void update_progress(float p) override;

Q_SIGNALS:
  void progress();

private:
  float current_progress_ = 0;
};

}

Updated on 2022-07-23 at 16:40:07 -0600