33#ifndef OPENSWMMVIS_MESH_MESHQUADCLEANUP_H
34#define OPENSWMMVIS_MESH_MESHQUADCLEANUP_H
66 QVector<int> *vertexOldToNew);
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