MT_interpolation.hpp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // This file is part of HDRip.
  2. //
  3. // HDRip is free software: you can redistribute it and/or modify it
  4. // under the terms of the GNU General Public License as published by
  5. // the Free Software Foundation, either version 3 of the License, or
  6. // (at your option) any later version.
  7. //
  8. // HDRip is distributed in the hope that it will be useful, but
  9. // WITHOUT ANY WARRANTY; without even the implied warranty of
  10. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. // GNU General Public License for more details.
  12. //
  13. // You should have received a copy of the GNU General Public License
  14. // along with HDRip. If not, see <https://www.gnu.org/licenses/>.
  15. //
  16. // HDRip project
  17. // Author : Rémi Synave
  18. // Contact : remi.synave@univ-littoral.fr
  19. #ifndef MT_INTERPOLATION__HPP
  20. #define MT_INTERPOLATION__HPP
  21. #include <Eigen/Core>
  22. class MT_interpolation
  23. {
  24. public:
  25. float* xInterp;
  26. const float* xData;
  27. unsigned int length;
  28. const float* xd;
  29. const float* yd;
  30. unsigned int length_xd_yd;
  31. MT_interpolation(float* xI = NULL, const float* xD = NULL, unsigned int l = 0, const float* x = NULL, const float* y = NULL, unsigned int lxdyd = 0) :xInterp(xI), xData(xD), length(l), xd(x), yd(y), length_xd_yd(lxdyd) {};
  32. };
  33. #endif