Mercurial > hg > aimc
diff src/Modules/Output/Graphics/GraphicsView.h @ 508:d609725e568a
Re-add support for plotting strobes (untested).
author | tomwalters@google.com |
---|---|
date | Fri, 22 Jun 2012 12:17:24 +0000 |
parents | af02b6addf7a |
children |
line wrap: on
line diff
--- a/src/Modules/Output/Graphics/GraphicsView.h Wed May 30 20:54:57 2012 +0000 +++ b/src/Modules/Output/Graphics/GraphicsView.h Fri Jun 22 12:17:24 2012 +0000 @@ -95,10 +95,24 @@ * \param xScale Scaling in x-direction. 1.0 makes it cover the whole length. 0.5 only the left half. */ virtual void PlotData(const vector<float> &signal, - float sample_rate, + float sample_rate, float yOffset, float height, float xScale) = 0; + + virtual void PlotStrobes(const vector<float>& signal, + const vector<int>& strobes, + float sample_rate, + float y_offset, + float height, + float x_scale, + float diameter) = 0; + + virtual void PlotStrobe(float x, + float y, + float val, + float height, + float diameter); /*! \brief Plot the axes for a signal bank * \param pSig Signal to plot the axes for @@ -167,6 +181,7 @@ int previous_start_time_; bool initialized_; + bool plotting_strobes_; }; } // namespace aimc #endif /* __GRAPHICS_VIEW_H__ */