![]() |
MAK RTIspy API Documentation for HLA 1516
|
A tab widget with components for graphing data over time. More...
Inheritance diagram for DtAssistantPlotWidget:
Collaboration diagram for DtAssistantPlotWidget:Public Member Functions | |
| DtAssistantPlotWidget (const QString &units, QWidget *parent=0) | |
| Default CTOR Instantiates a new DtAssistantPlotWidget. | |
| virtual | ~DtAssistantPlotWidget () |
| Virtual DTOR (no-op) | |
| virtual unsigned | createNewSeries (const QString &seriesName) |
| Creates a new series to be plotted and returns the series ID. | |
| virtual void | updateSeries (unsigned seriesId, double time, double val) |
| Updates the given plotter's series with the latest data. | |
| virtual void | setSeriesData (unsigned seriesId, double *times, double *vals, unsigned numVals) |
| Updates the given plotter's series with the latest data. | |
| virtual void | clear () |
| Clears all data from the plot. | |
| virtual const DtAssistantPlot & | plotter () const |
| virtual DtAssistantPlot & | plotter () |
| virtual void | updatePlots () |
| virtual QSize | sizeHint () const |
Protected Slots | |
| void | visibleTimeScaleFactorChanged (float factor) |
| void | scrollbarPositionChanged (int val) |
| Updates the visible plot ranges when the scrollbar is adjusted. | |
Protected Member Functions | |
| void | layoutTab () |
| Sets up the layout of the tab (non-virtual) This method is called from the constructor to set up the tab's layout on instantiation. | |
| virtual void | resizeEvent (QResizeEvent *evt) |
| Updates the amount of time visible on the plot when resized. | |
Protected Attributes | |
| unsigned | myNextSeriesId |
| double | myLastPlottedTime |
| double | myFirstPlottedTime |
| double | myNumSecondsVisible |
| float | myVisibleTimeScaleFactor |
| DtAssistantPlot * | myPlotter |
| QScrollBar * | myScrollbar |
| QAction * | myAction |
| QString | myUnits |
A tab widget with components for graphing data over time.
| DtAssistantPlotWidget::DtAssistantPlotWidget | ( | const QString & | units, |
| QWidget * | parent = 0 |
||
| ) |
Default CTOR Instantiates a new DtAssistantPlotWidget.
| units | the units for the y axis |
| parent | the QWidget's parent |
|
virtual |
Virtual DTOR (no-op)
|
virtual |
Clears all data from the plot.
|
virtual |
Creates a new series to be plotted and returns the series ID.
| seriesName | the name assigned to the new series |
|
protected |
Sets up the layout of the tab (non-virtual) This method is called from the constructor to set up the tab's layout on instantiation.
|
virtual |
|
virtual |
|
protectedvirtual |
Updates the amount of time visible on the plot when resized.
|
protectedslot |
Updates the visible plot ranges when the scrollbar is adjusted.
| val | the new value of the scrollbar |
|
virtual |
Updates the given plotter's series with the latest data.
| seriesId | the id of the series to set |
| times | the times for each snapshot of data ( x axis values ) |
| vals | the values of the data at the given times ( y axis values ) |
| numVals | the number of values in times and vals |
|
virtual |
|
virtual |
|
virtual |
Updates the given plotter's series with the latest data.
| seriesId | the id of the series to update |
| time | the time the data snapshot was taken ( x axis value ) |
| val | the value of the data at the given time ( y axis value ) |
|
protectedslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |