Loading...
Searching...
No Matches
progress.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2#pragma once
3#include <cstdint>
4
5namespace meshkit
6{
28 // Allocated non-super vertex slots, including unused inputs/removed slots.
30 std::int64_t workingVertices = 0;
32 std::int64_t triangles = 0; // live triangles, excluding removed regions
34 std::int64_t quads = 0; // fixed structured cells, supplied by generator
41 std::int64_t inserted = 0, removed = 0;
42};
43}
The Qt-free MeshKit library: job events and progress (meshkit::runtime), the neutral mesh model,...
Counter snapshot passed to ConstrainedDelaunay::QualityOptions::onProgress during refineQuality().
Definition progress.hpp:14
Stage stage
Phase being run.
Definition progress.hpp:27
std::int64_t triangles
Live triangle count.
Definition progress.hpp:32
std::int64_t inserted
Vertices inserted so far, segment splits included.
Definition progress.hpp:41
std::int64_t removed
Vertices removed by coarsening so far.
Definition progress.hpp:41
Stage
Refinement phase being run.
Definition progress.hpp:16
@ Refining
Size and angle refinement, and later the sizing-repair passes.
Definition progress.hpp:16
@ Coarsening
Removal of free vertices.
Definition progress.hpp:16
@ Terrain
Worst-first insertion of terrain points.
Definition progress.hpp:16
@ Verifying
Final terrain check of every live triangle.
Definition progress.hpp:16
@ Smoothing
Non-degrading smoothing of free vertices.
Definition progress.hpp:16
std::int64_t workingVertices
Working vertex slots, excluding the three super-triangle vertices.
Definition progress.hpp:30
std::int64_t quads
Quadrilateral count; refineQuality() leaves it 0 for the caller to fill.
Definition progress.hpp:34