Flair
Framework Libre Air
flair::gui::UsSensorPlot Class Reference

Class displaying a plot for raw us sensor. More...

#include <UsSensorPlot.h>

+ Inheritance diagram for flair::gui::UsSensorPlot:

Public Member Functions

 UsSensorPlot (const LayoutPosition *position, std::string name, std::string y_name, float ymin, float ymax, const core::Matrix *datas, const core::Matrix *peakInfos)
 Constructor. More...
 
 ~UsSensorPlot ()
 Destructor. More...
 

Detailed Description

Class displaying a plot for raw us sensor.

Constructor & Destructor Documentation

flair::gui::UsSensorPlot::UsSensorPlot ( const LayoutPosition position,
std::string  name,
std::string  y_name,
float  ymin,
float  ymax,
const core::Matrix datas,
const core::Matrix peakInfos 
)

Constructor.

Construct a plot for raw us sensor at given place position.

Parameters
positionposition to display the plot
namename
y_namename of y axis
ymindefault ymin of the plot
ymaxdefault ymax of the plot
datasdata matrix, must be 1D
peakInfospeak infos, must be 1*4 (first start,first end, second start,second end)
flair::gui::UsSensorPlot::~UsSensorPlot ( )

Destructor.