YCurve.hpp 368 B

1234567891011121314151617181920
  1. #ifndef YCURVE__HPP
  2. #define YCURVE_HPP
  3. #include <Eigen/Core>
  4. #include <unsupported/Eigen/Splines>
  5. #include <vector>
  6. class YCurve
  7. {
  8. public:
  9. YCurve(const float s, const float b, const float m, const float w, const float h, const float maxChannelY);
  10. Eigen::MatrixXf* evalpts(unsigned int nb);
  11. private:
  12. float max;
  13. Eigen::Spline<float, 2, 2> spline;
  14. };
  15. #endif