Open3D (C++ API)  0.11.0
Functions
open3d::t::io Namespace Reference

Functions

open3d::io::FileGeometry ReadFileGeometryTypeXYZI (const std::string &path)
 
bool ReadPointCloudFromXYZI (const std::string &filename, geometry::PointCloud &pointcloud, const open3d::io::ReadPointCloudOption &params)
 
bool WritePointCloudToXYZI (const std::string &filename, const geometry::PointCloud &pointcloud, const open3d::io::WritePointCloudOption &params)
 
std::shared_ptr< geometry::PointCloudCreatetPointCloudFromFile (const std::string &filename, const std::string &format, bool print_progress)
 
bool ReadPointCloud (const std::string &filename, geometry::PointCloud &pointcloud, const open3d::io::ReadPointCloudOption &params)
 
bool 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 WritePointCloud (const std::string &filename, const geometry::PointCloud &pointcloud, const open3d::io::WritePointCloudOption &params)
 
bool WritePointCloud (const std::string &filename, const geometry::PointCloud &pointcloud, bool write_ascii, bool compressed, bool print_progress)
 

Function Documentation

◆ CreatetPointCloudFromFile()

std::shared_ptr< geometry::PointCloud > open3d::t::io::CreatetPointCloudFromFile ( const std::string &  filename,
const std::string &  format = "auto",
bool  print_progress = false 
)

Factory function to create a pointcloud from a file Return an empty pointcloud if fail to read the file.

◆ ReadFileGeometryTypeXYZI()

open3d::io::FileGeometry open3d::t::io::ReadFileGeometryTypeXYZI ( const std::string &  path)

◆ ReadPointCloud() [1/2]

bool open3d::t::io::ReadPointCloud ( const std::string &  filename,
geometry::PointCloud pointcloud,
const ReadPointCloudOption params = {} 
)

The general entrance for reading a PointCloud from a file The function calls read functions based on the extension name of filename. See ReadPointCloudOption for additional options you can pass.

Returns
return true if the read function is successful, false otherwise.

◆ ReadPointCloud() [2/2]

bool open3d::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 
)

◆ ReadPointCloudFromXYZI()

bool open3d::t::io::ReadPointCloudFromXYZI ( const std::string &  filename,
geometry::PointCloud pointcloud,
const open3d::io::ReadPointCloudOption params 
)

◆ WritePointCloud() [1/2]

bool open3d::t::io::WritePointCloud ( const std::string &  filename,
const geometry::PointCloud pointcloud,
const WritePointCloudOption params = {} 
)

The general entrance for writing a PointCloud to a file The function calls write functions based on the extension name of filename. See WritePointCloudOption for additional options you can pass.

Returns
return true if the write function is successful, false otherwise.

◆ WritePointCloud() [2/2]

bool open3d::t::io::WritePointCloud ( const std::string &  filename,
const geometry::PointCloud pointcloud,
bool  write_ascii,
bool  compressed,
bool  print_progress 
)

◆ WritePointCloudToXYZI()

bool open3d::t::io::WritePointCloudToXYZI ( const std::string &  filename,
const geometry::PointCloud pointcloud,
const open3d::io::WritePointCloudOption params 
)