2022-07-06 23:47:50 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifndef bind_handler_h
|
|
|
|
#define bind_handler_h
|
|
|
|
|
2022-07-06 23:53:09 +08:00
|
|
|
#include "GaussFit.h"
|
2022-07-07 01:15:19 +08:00
|
|
|
#include "utils.h"
|
|
|
|
|
|
|
|
#include <Eigen/Dense>
|
2022-07-06 23:47:50 +08:00
|
|
|
|
|
|
|
class BindHandler {
|
|
|
|
public:
|
2022-07-06 23:53:09 +08:00
|
|
|
BindHandler(){};
|
|
|
|
~BindHandler(){};
|
|
|
|
|
|
|
|
public:
|
2022-07-07 01:15:19 +08:00
|
|
|
std::vector<Eigen::Vector2d> data;
|
2022-07-06 23:53:09 +08:00
|
|
|
|
|
|
|
public:
|
2022-07-07 01:15:19 +08:00
|
|
|
void addData(std::vector<Eigen::Vector2d>);
|
2022-07-06 23:47:50 +08:00
|
|
|
};
|
|
|
|
|
2022-07-07 01:15:19 +08:00
|
|
|
void BindHandler::addData(std::vector<Eigen::Vector2d> newData) {
|
|
|
|
data.insert(data.end(), newData.begin(), newData.end());
|
|
|
|
}
|
|
|
|
|
2022-07-06 23:47:50 +08:00
|
|
|
#endif
|