27 lines
405 B
C++
27 lines
405 B
C++
#ifndef DATABUFFER_H
|
|
#define DATABUFFER_H
|
|
|
|
#include <nix.hpp>
|
|
|
|
class DataBuffer
|
|
{
|
|
public:
|
|
DataBuffer(const nix::DataArray &array);
|
|
~DataBuffer();
|
|
|
|
private:
|
|
std::string arrayId;
|
|
QVector<QPointF> *buffer;
|
|
double rangeMin, rangeMax;
|
|
|
|
double rangeMaximum();
|
|
void rangeMaximum(double max);
|
|
|
|
double rangeMinimum();
|
|
void rangeMinimum(double min);
|
|
|
|
|
|
};
|
|
|
|
#endif // DATABUFFER_H
|