Open3D (C++ API)
0.18.0+601516a
|
Optional parameters to WritePointCloud. More...
#include <PointCloudIO.h>
Public Types | |
enum class | IsAscii : bool { Binary = false , Ascii = true } |
enum class | Compressed : bool { Uncompressed = false , Compressed = true } |
Public Member Functions | |
WritePointCloudOption (std::string format="auto", IsAscii write_ascii=IsAscii::Binary, Compressed compressed=Compressed::Uncompressed, bool print_progress=false, std::function< bool(double)> update_progress={}) | |
WritePointCloudOption (bool write_ascii, bool compressed=false, bool print_progress=false, std::function< bool(double)> update_progress={}) | |
WritePointCloudOption (std::string format, bool write_ascii, bool compressed=false, bool print_progress=false, std::function< bool(double)> update_progress={}) | |
WritePointCloudOption (std::function< bool(double)> up) | |
Data Fields | |
std::string | format |
IsAscii | write_ascii |
Compressed | compressed |
bool | print_progress |
std::function< bool(double)> | update_progress |
Optional parameters to WritePointCloud.
|
strong |
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
Compressed open3d::io::WritePointCloudOption::compressed |
Whether to save Compressed or Uncompressed. Currently, only PCD is capable of compressing, and only if using IsAscii::Binary, all other formats ignore this.
std::string open3d::io::WritePointCloudOption::format |
Specifies what format the contents of the file are (and what writer to use), default "auto" means to go off of file extension. Note: "auto" is incompatible when reading directly from memory.
bool open3d::io::WritePointCloudOption::print_progress |
Print progress to stdout about loading progress. Also see update_progress
if you want to have your own progress indicators or to be able to cancel loading.
std::function<bool(double)> open3d::io::WritePointCloudOption::update_progress |
Callback to invoke as reading is progressing, parameter is percentage completion (0.-100.) return true indicates to continue loading, false means to try to stop loading and cleanup
IsAscii open3d::io::WritePointCloudOption::write_ascii |
Whether to save in Ascii or Binary. Some savers are capable of doing either, other ignore this.