robust_kernel_io.hpp 452 B

12345678910111213141516171819
  1. // SPDX-License-Identifier: BSD-2-Clause
  2. #ifndef ROBUST_KERNEL_IO_HPP
  3. #define ROBUST_KERNEL_IO_HPP
  4. #include <string>
  5. #include <g2o/core/sparse_optimizer.h>
  6. namespace g2o {
  7. std::string kernel_type(g2o::RobustKernel* kernel);
  8. bool save_robust_kernels(const std::string& filename, g2o::SparseOptimizer* graph);
  9. bool load_robust_kernels(const std::string& filename, g2o::SparseOptimizer* graph);
  10. } // namespace g2o
  11. #endif // ROBUST_KERNEL_IO_HPP