ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ImageWarpingFieldIO.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <memory>
11 #include <string>
12 
14 
15 namespace cloudViewer {
16 
17 namespace io {
18 
21 std::shared_ptr<pipelines::color_map::ImageWarpingField>
22 CreateImageWarpingFieldFromFile(const std::string &filename);
23 
27  const std::string &filename,
28  pipelines::color_map::ImageWarpingField &warping_field);
29 
33  const std::string &filename,
34  const pipelines::color_map::ImageWarpingField &warping_field);
35 
36 } // namespace io
37 } // namespace cloudViewer
std::string filename
bool WriteImageWarpingField(const std::string &filename, const pipelines::color_map::ImageWarpingField &trajectory)
std::shared_ptr< pipelines::color_map::ImageWarpingField > CreateImageWarpingFieldFromFile(const std::string &filename)
bool ReadImageWarpingField(const std::string &filename, pipelines::color_map::ImageWarpingField &warping_field)
Generic file read and write utility for python interface.