ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PointCloudIO.cpp File Reference
#include "cloudViewer/t/io/PointCloudIO.h"
#include <FileSystem.h>
#include <Helper.h>
#include <Logging.h>
#include <ProgressReporters.h>
#include <ecvPointCloud.h>
#include <iostream>
#include <unordered_map>
#include "cloudViewer/io/PointCloudIO.h"
#include "cloudViewer/t/io/NumpyIO.h"
Include dependency graph for PointCloudIO.cpp:

Go to the source code of this file.

Namespaces

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

Functions

std::shared_ptr< geometry::PointCloud > cloudViewer::t::io::CreatePointCloudFromFile (const std::string &filename, const std::string &format, bool print_progress)
 
bool cloudViewer::t::io::ReadPointCloud (const std::string &filename, geometry::PointCloud &pointcloud, const cloudViewer::io::ReadPointCloudOption &params)
 
bool cloudViewer::t::io::ReadPointCloud (const std::string &filename, geometry::PointCloud &pointcloud, const std::string &file_format, bool remove_nan_points, bool remove_infinite_points, bool print_progress)
 
bool cloudViewer::t::io::WritePointCloud (const std::string &filename, const geometry::PointCloud &pointcloud, const cloudViewer::io::WritePointCloudOption &params)
 
bool cloudViewer::t::io::WritePointCloud (const std::string &filename, const geometry::PointCloud &pointcloud, bool write_ascii, bool compressed, bool print_progress)
 
bool cloudViewer::t::io::ReadPointCloudFromNPZ (const std::string &filename, geometry::PointCloud &pointcloud, const ReadPointCloudOption &params)
 
bool cloudViewer::t::io::WritePointCloudToNPZ (const std::string &filename, const geometry::PointCloud &pointcloud, const WritePointCloudOption &params)
 

Variables

static const std::unordered_map< std::string, std::function< bool(const std::string &, geometry::PointCloud &, const cloudViewer::io::ReadPointCloudOption &)> > cloudViewer::t::io::file_extension_to_pointcloud_read_function
 
static const std::unordered_map< std::string, std::function< bool(const std::string &, const geometry::PointCloud &, const cloudViewer::io::WritePointCloudOption &)> > cloudViewer::t::io::file_extension_to_pointcloud_write_function