|
AudiClean
|
#include <Plotter.h>


Public Member Functions | |
| void | NextSample (double next) |
| Plotter (std::string _winname, int _bsize, int _w, int _h, double _framerate_fps) | |
| void | Init () |
| void | Show () |
Public Member Functions inherited from SampleLink | |
| void | RegisterCallback (SampleCallback *scb) |
| void | NextSample (double next) |
Additional Inherited Members | |
Protected Attributes inherited from SampleLink | |
| SampleCallback * | sampleCallback = nullptr |
A pipeline element which provides the facility to plot samples passing into it using a dynamic plot window. Refresh rate, window size and window name may be set using the constructor.
| Plotter::Plotter | ( | std::string | _winname, |
| int | _bsize, | ||
| int | _w, | ||
| int | _h, | ||
| double | _framerate_fps | ||
| ) |
Constructor for Plotter
| _winname | the text window name for this dynamic plot |
| _bsize | the internal ring buffer size desired |
| _w | desired width of the window |
| _h | desired height of the window |
| _framerate_fps | desired refreshrate of the window (maxiumum) |
| void Plotter::Init | ( | ) |
Initialises the window, must be called before Show()
|
virtual |
Callback function for Plotter. This will add the sample to an internal ring buffer, plot the sample on the internal cv::Mat and callback the next pipeline element with the sample
| next |
Implements SampleCallback.
| void Plotter::Show | ( | ) |
Shows the latest version of the internal cv::Mat
1.8.17