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

Bounded display summary of a simplification candidate, built by makeConstraintPreview(). More...

#include <mesh/constraintpreview.h>

Collaboration diagram for mesh::ConstraintPreview:

Public Attributes

QVector< ConstraintPreviewFeature > features
 Displayed features: changed ones (vertices removed, rolled back or budget-retained) first in input order, then unchanged context in input order, up to the feature limit.
 
QRectF bounds
 XY extent of all original vertices; a default QRectF when there are none.
 
quint64 featuresTotal = 0
 Number of source features.
 
quint64 verticesBefore = 0
 Original vertex count over all features.
 
quint64 verticesAfter = 0
 Candidate vertex count over all features.
 
quint64 removedTotal = 0
 Sum of SimplificationChange::removed over all features.
 
bool displayReduced = false
 Some features, vertices or removed-vertex markers are not displayed.
 
bool cancelled = false
 Building stopped on cancellation; the other fields are partial.
 
QString horizontalUnit
 XY unit label for display; left empty by makeConstraintPreview().
 
QString verticalUnit
 Elevation unit label for display; left empty by makeConstraintPreview().
 

Detailed Description

Bounded display summary of a simplification candidate, built by makeConstraintPreview().

The totals and bounds cover every feature; features holds only the displayed selection.

Member Data Documentation

◆ bounds

QRectF mesh::ConstraintPreview::bounds

XY extent of all original vertices; a default QRectF when there are none.

◆ cancelled

bool mesh::ConstraintPreview::cancelled = false

Building stopped on cancellation; the other fields are partial.

◆ displayReduced

bool mesh::ConstraintPreview::displayReduced = false

Some features, vertices or removed-vertex markers are not displayed.

◆ features

QVector<ConstraintPreviewFeature> mesh::ConstraintPreview::features

Displayed features: changed ones (vertices removed, rolled back or budget-retained) first in input order, then unchanged context in input order, up to the feature limit.

◆ featuresTotal

quint64 mesh::ConstraintPreview::featuresTotal = 0

Number of source features.

◆ horizontalUnit

QString mesh::ConstraintPreview::horizontalUnit

XY unit label for display; left empty by makeConstraintPreview().

◆ removedTotal

quint64 mesh::ConstraintPreview::removedTotal = 0

Sum of SimplificationChange::removed over all features.

◆ verticalUnit

QString mesh::ConstraintPreview::verticalUnit

Elevation unit label for display; left empty by makeConstraintPreview().

◆ verticesAfter

quint64 mesh::ConstraintPreview::verticesAfter = 0

Candidate vertex count over all features.

◆ verticesBefore

quint64 mesh::ConstraintPreview::verticesBefore = 0

Original vertex count over all features.


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