|
| | ResampleZCommand (FeatureLayer *layer, const QVector< openswmmvis::feature::FeatureId > &ids, MapCanvas *canvas, QUndoCommand *parent=nullptr) |
| |
| void | redo () override |
| |
| void | undo () override |
| |
| int | unsampledCount () const |
| | Vertices left NaN by the last redo — the count the Features dock reports so an unsampled breakline is visible, not silent.
|
| |
Public Member Functions inherited from openswmmvis::map::FeatureCommandBase |
| | FeatureCommandBase (const QString &text, FeatureLayer *layer, MapCanvas *canvas, QUndoCommand *parent=nullptr) |
| |
| FeatureLayer * | layer () const |
| |
| QString | lastError () const |
| | The message from the last failed apply, for the caller to show. Empty when the command has not failed.
|
| |
Public Member Functions inherited from MapCommand |
| | MapCommand (const QString &text, MapCanvas *canvas, QUndoCommand *parent=nullptr) |
| | Constructs a map command with a human-readable text.
|
| |
| MapCanvas * | canvas () const |
| |
Re-sample Z for every feature (or a subset) as ONE undo step.
Snapshots the previous geometries; the whole resample reverts together because a partial revert would leave a layer with mixed vintages of terrain.