Q3D-Calibration/include/BindHandler.h

28 lines
444 B
C
Raw Normal View History

#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>
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-07 01:15:19 +08:00
void BindHandler::addData(std::vector<Eigen::Vector2d> newData) {
data.insert(data.end(), newData.begin(), newData.end());
}
#endif