SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
meshquadcleanup.h
Go to the documentation of this file.
1
33#ifndef OPENSWMMVIS_MESH_MESHQUADCLEANUP_H
34#define OPENSWMMVIS_MESH_MESHQUADCLEANUP_H
35
37#include "mesh/meshresult.h"
38
39#include <QSet>
40#include <QVector>
41
42namespace mesh {
43
52
54{
57 int verticesMoved = 0;
59};
60
65 const QuadCleanupOptions &opts,
66 QVector<int> *vertexOldToNew);
67
71
72} // namespace mesh
73
74#endif // OPENSWMMVIS_MESH_MESHQUADCLEANUP_H
QSet< int > movable
Generated lattice vertices (new pushPoint indices).
Definition meshgenerator.cpp:174
Definition meshcommands.h:302
QVector< int > reorderTrianglesFirst(MeshResult &mesh)
Reorder cells triangles-first, stable within each class. Returns the old→new cell index map....
Definition meshquadcleanup.cpp:380
QuadCleanupStats cleanupAndSmoothQuads(MeshResult &mesh, const QSet< int > &movable, const QuadCleanupOptions &opts, QVector< int > *vertexOldToNew)
Run cleanup then smoothing. vertexOldToNew (optional) receives the vertex remap after doublet compact...
Definition meshquadcleanup.cpp:395
Result of MeshGenerator::generate.
Definition meshresult.h:116
Definition meshquadcleanup.h:45
int topologyPasses
Definition meshquadcleanup.h:50
bool diagonalSwaps
Definition meshquadcleanup.h:48
QuadQualityBounds bounds
Definition meshquadcleanup.h:46
bool removeDoublets
Definition meshquadcleanup.h:47
int smoothingIterations
Definition meshquadcleanup.h:49
Definition meshquadcleanup.h:54
int diagonalSwaps
Definition meshquadcleanup.h:56
int verticesMoved
Accepted moves summed over iterations.
Definition meshquadcleanup.h:57
int doubletsRemoved
Definition meshquadcleanup.h:55
int movesRejected
Definition meshquadcleanup.h:58
Acceptance bounds shared by pairing, cleanup, smoothing and the legacy tri-pair merge....
Definition meshquadquality.h:33