ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PinholeCameraTrajectoryIO.cpp File Reference
#include "PinholeCameraTrajectoryIO.h"
#include <FileSystem.h>
#include <IJsonConvertibleIO.h>
#include <Logging.h>
#include <Eigen/Dense>
#include <Eigen/Geometry>
#include <unordered_map>
Include dependency graph for PinholeCameraTrajectoryIO.cpp:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::io
 

Functions

bool cloudViewer::io::ReadPinholeCameraTrajectoryFromJSON (const std::string &filename, camera::PinholeCameraTrajectory &trajectory)
 
bool cloudViewer::io::WritePinholeCameraTrajectoryToJSON (const std::string &filename, const camera::PinholeCameraTrajectory &trajectory)
 
std::shared_ptr< camera::PinholeCameraTrajectorycloudViewer::io::CreatePinholeCameraTrajectoryFromFile (const std::string &filename)
 
bool cloudViewer::io::ReadPinholeCameraTrajectory (const std::string &filename, camera::PinholeCameraTrajectory &trajectory)
 
bool cloudViewer::io::WritePinholeCameraTrajectory (const std::string &filename, const camera::PinholeCameraTrajectory &trajectory)
 
bool cloudViewer::io::ReadPinholeCameraTrajectoryFromTUM (const std::string &filename, camera::PinholeCameraTrajectory &trajectory)
 
bool cloudViewer::io::WritePinholeCameraTrajectoryToTUM (const std::string &filename, const camera::PinholeCameraTrajectory &trajectory)
 
bool cloudViewer::io::ReadPinholeCameraTrajectoryFromLOG (const std::string &filename, camera::PinholeCameraTrajectory &trajectory)
 
bool cloudViewer::io::WritePinholeCameraTrajectoryToLOG (const std::string &filename, const camera::PinholeCameraTrajectory &trajectory)
 

Variables

static const std::unordered_map< std::string, std::function< bool(const std::string &, camera::PinholeCameraTrajectory &)> > cloudViewer::io::file_extension_to_trajectory_read_function
 
static const std::unordered_map< std::string, std::function< bool(const std::string &, const camera::PinholeCameraTrajectory &)> > cloudViewer::io::file_extension_to_trajectory_write_function