Display data for one feature of a constraint-simplification preview. More...
#include <mesh/constraintpreview.h>
Public Attributes | |
| QString | id |
| SimplificationFeature::id of the source feature. | |
| QString | label |
| Source label, or id when the label is empty. | |
| QVector< QPointF > | original |
| Original XY vertices; when longer than the per-path display budget, evenly subsampled by index, keeping the first and last vertex. | |
| QVector< QPointF > | proposed |
| Candidate XY vertices, subsampled the same way. | |
| QVector< QPointF > | removed |
| A sample of the original vertices the candidate removed, for markers; at most 100 per feature within the preview-wide marker budget. | |
| quint64 | verticesBefore = 0 |
| Full original vertex count, including a repeated closing vertex. | |
| quint64 | verticesAfter = 0 |
| Full candidate vertex count. | |
| quint64 | removedCount = 0 |
| SimplificationChange::removed of the feature. | |
| double | maxDeviation = 0 |
| SimplificationChange::maxDeviation (XY units). | |
| double | maxZDeviation = 0 |
| SimplificationChange::maxZDeviation (elevation units). | |
| double | areaChange = 0 |
| SimplificationChange::areaChange (squared XY units). | |
| bool | closed = false |
| The source is a ring: its closed flag is set or its first and last vertices are exactly equal. | |
| bool | displayReduced = false |
| original, proposed or removed holds fewer points than the full data. | |
| bool | rolledBack = false |
| SimplificationChange::rolledBack of the feature. | |
| bool | budgetRetained = false |
| SimplificationChange::budgetRetained of the feature. | |
Display data for one feature of a constraint-simplification preview.
| double mesh::ConstraintPreviewFeature::areaChange = 0 |
SimplificationChange::areaChange (squared XY units).
| bool mesh::ConstraintPreviewFeature::budgetRetained = false |
SimplificationChange::budgetRetained of the feature.
| bool mesh::ConstraintPreviewFeature::closed = false |
The source is a ring: its closed flag is set or its first and last vertices are exactly equal.
| bool mesh::ConstraintPreviewFeature::displayReduced = false |
original, proposed or removed holds fewer points than the full data.
| QString mesh::ConstraintPreviewFeature::id |
SimplificationFeature::id of the source feature.
| QString mesh::ConstraintPreviewFeature::label |
Source label, or id when the label is empty.
| double mesh::ConstraintPreviewFeature::maxDeviation = 0 |
SimplificationChange::maxDeviation (XY units).
| double mesh::ConstraintPreviewFeature::maxZDeviation = 0 |
SimplificationChange::maxZDeviation (elevation units).
| QVector<QPointF> mesh::ConstraintPreviewFeature::original |
Original XY vertices; when longer than the per-path display budget, evenly subsampled by index, keeping the first and last vertex.
| QVector<QPointF> mesh::ConstraintPreviewFeature::proposed |
Candidate XY vertices, subsampled the same way.
| QVector<QPointF> mesh::ConstraintPreviewFeature::removed |
A sample of the original vertices the candidate removed, for markers; at most 100 per feature within the preview-wide marker budget.
| quint64 mesh::ConstraintPreviewFeature::removedCount = 0 |
SimplificationChange::removed of the feature.
| bool mesh::ConstraintPreviewFeature::rolledBack = false |
SimplificationChange::rolledBack of the feature.
| quint64 mesh::ConstraintPreviewFeature::verticesAfter = 0 |
Full candidate vertex count.
| quint64 mesh::ConstraintPreviewFeature::verticesBefore = 0 |
Full original vertex count, including a repeated closing vertex.