Set one or more point coordinates atomically. Indices and the pre/post coordinate vectors must be the same length. Out-of-range indices on apply are skipped.
More...
#include <curveundocommands.h>
Set one or more point coordinates atomically. Indices and the pre/post coordinate vectors must be the same length. Out-of-range indices on apply are skipped.
◆ BulkSetCurvePointsCommand()
| openswmmvis::curve::BulkSetCurvePointsCommand::BulkSetCurvePointsCommand |
( |
CurveProvider * |
provider, |
|
|
QVector< int > |
indices, |
|
|
QVector< CurvePoint > |
oldPoints, |
|
|
QVector< CurvePoint > |
newPoints, |
|
|
QString |
description, |
|
|
QUndoCommand * |
parent = nullptr |
|
) |
| |
◆ redo()
| void openswmmvis::curve::BulkSetCurvePointsCommand::redo |
( |
| ) |
|
|
override |
◆ undo()
| void openswmmvis::curve::BulkSetCurvePointsCommand::undo |
( |
| ) |
|
|
override |
The documentation for this class was generated from the following files: