31 lines
503 B
C++
31 lines
503 B
C++
#ifndef MESH_PROCESSING_H
|
|
#define MESH_PROCESSING_H
|
|
|
|
#include "my_mesh.h"
|
|
#include "curvature.h"
|
|
#include "mesh_processor_painter.h"
|
|
#include "mesh_viewer.h"
|
|
#include <vector>
|
|
#include <QObject>
|
|
|
|
|
|
class MeshProcessor : public QObject {
|
|
Q_OBJECT
|
|
|
|
Courbures *courbure = nullptr;
|
|
MeshViewer &mesh_viewer;
|
|
|
|
public:
|
|
MyMesh mesh;
|
|
MyMesh patch;
|
|
|
|
MeshProcessor(const QString &path, MeshViewer &mesh_viewer);
|
|
~MeshProcessor();
|
|
|
|
public slots:
|
|
void fillHoles();
|
|
void click(QVector3D position);
|
|
};
|
|
|
|
|
|
#endif |