SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::timeseries::BulkTransformCommand Class Reference

Replace the entire point list (used by rotate / scale bulk transforms). The caller must pre-validate that newPoints is strictly ascending; the provider also validates and will refuse otherwise. More...

#include <timeseriesundocommands.h>

Inheritance diagram for openswmmvis::timeseries::BulkTransformCommand:
Collaboration diagram for openswmmvis::timeseries::BulkTransformCommand:

Public Member Functions

 BulkTransformCommand (TimeseriesProvider *provider, QVector< TimeseriesPoint > newPoints, QString description, QUndoCommand *parent=nullptr)
 
void undo () override
 
void redo () override
 

Detailed Description

Replace the entire point list (used by rotate / scale bulk transforms). The caller must pre-validate that newPoints is strictly ascending; the provider also validates and will refuse otherwise.

Constructor & Destructor Documentation

◆ BulkTransformCommand()

openswmmvis::timeseries::BulkTransformCommand::BulkTransformCommand ( TimeseriesProvider provider,
QVector< TimeseriesPoint newPoints,
QString  description,
QUndoCommand *  parent = nullptr 
)

Member Function Documentation

◆ redo()

void openswmmvis::timeseries::BulkTransformCommand::redo ( )
override
Here is the call graph for this function:

◆ undo()

void openswmmvis::timeseries::BulkTransformCommand::undo ( )
override
Here is the call graph for this function:

The documentation for this class was generated from the following files: