ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PinholeCameraTrajectoryIO.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 <string>
11 
12 #include "CV_io.h"
14 
15 namespace cloudViewer {
16 namespace io {
17 
21 std::shared_ptr<camera::PinholeCameraTrajectory> CV_IO_LIB_API
23 
27 bool CV_IO_LIB_API
30 
34 bool CV_IO_LIB_API
36  const camera::PinholeCameraTrajectory &trajectory);
37 
38 bool CV_IO_LIB_API
41 
43  const std::string &filename,
44  const camera::PinholeCameraTrajectory &trajectory);
45 
46 bool CV_IO_LIB_API
49 
51  const std::string &filename,
52  const camera::PinholeCameraTrajectory &trajectory);
53 
54 } // namespace io
55 } // namespace cloudViewer
std::string filename
#define CV_IO_LIB_API
Definition: CV_io.h:15
bool ReadPinholeCameraTrajectoryFromLOG(const std::string &filename, camera::PinholeCameraTrajectory &trajectory)
bool WritePinholeCameraTrajectoryToTUM(const std::string &filename, const camera::PinholeCameraTrajectory &trajectory)
bool ReadPinholeCameraTrajectory(const std::string &filename, camera::PinholeCameraTrajectory &trajectory)
bool ReadPinholeCameraTrajectoryFromTUM(const std::string &filename, camera::PinholeCameraTrajectory &trajectory)
bool WritePinholeCameraTrajectory(const std::string &filename, const camera::PinholeCameraTrajectory &trajectory)
bool WritePinholeCameraTrajectoryToLOG(const std::string &filename, const camera::PinholeCameraTrajectory &trajectory)
std::shared_ptr< camera::PinholeCameraTrajectory > CreatePinholeCameraTrajectoryFromFile(const std::string &filename)
Generic file read and write utility for python interface.