Loading...
Searching...
No Matches
mesh::GenerationStats Struct Reference

What the last generate() built (MeshGenerator::stats()). More...

#include <mesh/meshgenerator.h>

Collaboration diagram for mesh::GenerationStats:

Public Attributes

QJsonObject provenance
 Vertex origins and shortest-edge associations before assembly.
 
int regionPatches = 0
 Quad regions meshed with aligned quads.
 
int conduitStrips = 0
 Conduit quad strips placed.
 
int breaklineStrips = 0
 Quad strips between facing break lines.
 
int stripsDropped = 0
 Strips that did not fit (logged; the feature stays triangles).
 
int refineInserted = 0
 Vertices the quality refinement added.
 
int sizeInserted = 0
 Refinement vertices placed because a triangle exceeded a size bound (target size, footprint cap or adjacent ratio).
 
int qualityInserted = 0
 Refinement vertices placed to raise a triangle's smallest angle.
 
int terrainInserted = 0
 Refinement vertices placed where a triangle's terrain error exceeded the tolerance.
 
int segmentSplits = 0
 Constrained subsegment splits during refinement (counted in refineInserted too).
 
int terrainUnresolved = 0
 Final-check triangles whose terrain error is still above the tolerance; 0 when the check is off (RefineHook::terrainFinalCheck false or no terrain).
 
int terrainUnknown = 0
 Final-check triangles whose error or tolerance is not finite (coverage unverified).
 
double maxTerrainError = 0.0
 Largest finite final-check terrain error, Z units.
 
int trianglesBelowAngle = 0
 Triangles under the minimum angle that the small-input-angle exemption does not explain: they rest on fixed quad strip edges or on inputs closer together than a quarter of the minimum cell size.
 
int coarsenRemoved = 0
 Free vertices coarsening removed.
 
int coarsenRejectedAngle = 0
 Removals refused because a replacement triangle would break the minimum angle.
 
int coarsenRejectedSize = 0
 Removals refused because a replacement triangle would exceed a size bound.
 
int coarsenRejectedTerrain = 0
 Removals refused by the terrain checks (includes coarsenHeightRejects).
 
int coarsenRejectedEdge = 0
 Removals refused because a replacement triangle's shortest edge would be shorter than the shortest edge around the vertex.
 
int coarsenAttempts = 0
 Removal attempts: active vertices taken from the coarsening queue.
 
int coarsenHeightRejects = 0
 Terrain refusals where the removed vertex's own height misses the new covering plane by more than the tolerance.
 
int coarsenBoundAccepts = 0
 Replacement triangles certified by the propagated error bound, with no DEM query.
 
int coarsenExactQueries = 0
 Replacement triangles that needed a RefineHook::terrainErrorBound call.
 
bool coarsenSkippedTerrain = false
 True when terrain refinement was active without RefineHook::terrainErrorBound, so coarsening was skipped entirely.
 
double coarsenSeconds = 0
 Wall-clock seconds spent in the coarsening stage.
 
quint64 coarsenQueuePeak =0
 Largest number of entries the coarsening queue held.
 
quint64 coarsenPriorityQueries =0
 Target-size queries made to rank vertices (ResolutionAware order only; else 0).
 
bool refineCapped = false
 Refinement stopped at its safety cap.
 
int sizingRepairInserted = 0
 Vertices the sizing repair passes inserted (GenerationOptions::sizingRepairPasses).
 
int sizingRepairPasses = 0
 Repair passes actually run, 0..3; a pass that inserts nothing ends the repair.
 
bool sizingRepairLimited = false
 True when the repair stopped at GenerationOptions::maximumSizingRepairInsertions (or that cap was 0), so size or ratio violations may remain.
 
int triangulationPasses = 0
 Generation attempts the last generate() made; > 1 means a patch or planning retry.
 
int plannedPatches = 0
 Unified-planning regions delivered as mapped patches (accepted or repaired).
 
int repairedPatches = 0
 Of plannedPatches, those that needed at least one repair round.
 
int triangleFallbacks = 0
 Unified-planning regions that requested quads but resolved to triangles.
 

Detailed Description

What the last generate() built (MeshGenerator::stats()).

Member Data Documentation

◆ breaklineStrips

int mesh::GenerationStats::breaklineStrips = 0

Quad strips between facing break lines.

◆ coarsenAttempts

int mesh::GenerationStats::coarsenAttempts = 0

Removal attempts: active vertices taken from the coarsening queue.

◆ coarsenBoundAccepts

int mesh::GenerationStats::coarsenBoundAccepts = 0

Replacement triangles certified by the propagated error bound, with no DEM query.

◆ coarsenExactQueries

int mesh::GenerationStats::coarsenExactQueries = 0

Replacement triangles that needed a RefineHook::terrainErrorBound call.

◆ coarsenHeightRejects

int mesh::GenerationStats::coarsenHeightRejects = 0

Terrain refusals where the removed vertex's own height misses the new covering plane by more than the tolerance.

◆ coarsenPriorityQueries

quint64 mesh::GenerationStats::coarsenPriorityQueries =0

Target-size queries made to rank vertices (ResolutionAware order only; else 0).

◆ coarsenQueuePeak

quint64 mesh::GenerationStats::coarsenQueuePeak =0

Largest number of entries the coarsening queue held.

◆ coarsenRejectedAngle

int mesh::GenerationStats::coarsenRejectedAngle = 0

Removals refused because a replacement triangle would break the minimum angle.

◆ coarsenRejectedEdge

int mesh::GenerationStats::coarsenRejectedEdge = 0

Removals refused because a replacement triangle's shortest edge would be shorter than the shortest edge around the vertex.

◆ coarsenRejectedSize

int mesh::GenerationStats::coarsenRejectedSize = 0

Removals refused because a replacement triangle would exceed a size bound.

◆ coarsenRejectedTerrain

int mesh::GenerationStats::coarsenRejectedTerrain = 0

Removals refused by the terrain checks (includes coarsenHeightRejects).

◆ coarsenRemoved

int mesh::GenerationStats::coarsenRemoved = 0

Free vertices coarsening removed.

◆ coarsenSeconds

double mesh::GenerationStats::coarsenSeconds = 0

Wall-clock seconds spent in the coarsening stage.

◆ coarsenSkippedTerrain

bool mesh::GenerationStats::coarsenSkippedTerrain = false

True when terrain refinement was active without RefineHook::terrainErrorBound, so coarsening was skipped entirely.

◆ conduitStrips

int mesh::GenerationStats::conduitStrips = 0

Conduit quad strips placed.

◆ maxTerrainError

double mesh::GenerationStats::maxTerrainError = 0.0

Largest finite final-check terrain error, Z units.

◆ plannedPatches

int mesh::GenerationStats::plannedPatches = 0

Unified-planning regions delivered as mapped patches (accepted or repaired).

◆ provenance

QJsonObject mesh::GenerationStats::provenance

Vertex origins and shortest-edge associations before assembly.

◆ qualityInserted

int mesh::GenerationStats::qualityInserted = 0

Refinement vertices placed to raise a triangle's smallest angle.

◆ refineCapped

bool mesh::GenerationStats::refineCapped = false

Refinement stopped at its safety cap.

◆ refineInserted

int mesh::GenerationStats::refineInserted = 0

Vertices the quality refinement added.

◆ regionPatches

int mesh::GenerationStats::regionPatches = 0

Quad regions meshed with aligned quads.

◆ repairedPatches

int mesh::GenerationStats::repairedPatches = 0

Of plannedPatches, those that needed at least one repair round.

◆ segmentSplits

int mesh::GenerationStats::segmentSplits = 0

Constrained subsegment splits during refinement (counted in refineInserted too).

◆ sizeInserted

int mesh::GenerationStats::sizeInserted = 0

Refinement vertices placed because a triangle exceeded a size bound (target size, footprint cap or adjacent ratio).

◆ sizingRepairInserted

int mesh::GenerationStats::sizingRepairInserted = 0

Vertices the sizing repair passes inserted (GenerationOptions::sizingRepairPasses).

◆ sizingRepairLimited

bool mesh::GenerationStats::sizingRepairLimited = false

True when the repair stopped at GenerationOptions::maximumSizingRepairInsertions (or that cap was 0), so size or ratio violations may remain.

◆ sizingRepairPasses

int mesh::GenerationStats::sizingRepairPasses = 0

Repair passes actually run, 0..3; a pass that inserts nothing ends the repair.

◆ stripsDropped

int mesh::GenerationStats::stripsDropped = 0

Strips that did not fit (logged; the feature stays triangles).

◆ terrainInserted

int mesh::GenerationStats::terrainInserted = 0

Refinement vertices placed where a triangle's terrain error exceeded the tolerance.

◆ terrainUnknown

int mesh::GenerationStats::terrainUnknown = 0

Final-check triangles whose error or tolerance is not finite (coverage unverified).

◆ terrainUnresolved

int mesh::GenerationStats::terrainUnresolved = 0

Final-check triangles whose terrain error is still above the tolerance; 0 when the check is off (RefineHook::terrainFinalCheck false or no terrain).

◆ triangleFallbacks

int mesh::GenerationStats::triangleFallbacks = 0

Unified-planning regions that requested quads but resolved to triangles.

◆ trianglesBelowAngle

int mesh::GenerationStats::trianglesBelowAngle = 0

Triangles under the minimum angle that the small-input-angle exemption does not explain: they rest on fixed quad strip edges or on inputs closer together than a quarter of the minimum cell size.

◆ triangulationPasses

int mesh::GenerationStats::triangulationPasses = 0

Generation attempts the last generate() made; > 1 means a patch or planning retry.


The documentation for this struct was generated from the following file: