![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Optional parameters to WritePointCloud. More...
#include <FileIO.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) | |
Public Attributes | |
| std::string | format |
| IsAscii | write_ascii |
| Compressed | compressed |
| bool | print_progress |
| std::function< bool(double)> | update_progress |
|
strong |
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
| Compressed cloudViewer::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.
Definition at line 127 of file FileIO.h.
Referenced by cloudViewer::t::io::WritePointCloudToNPZ(), cloudViewer::io::WritePointCloudToPCD(), and cloudViewer::t::io::WritePointCloudToPCD().
| std::string cloudViewer::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.
Definition at line 120 of file FileIO.h.
Referenced by cloudViewer::io::WritePointCloud().
| bool cloudViewer::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.
Definition at line 131 of file FileIO.h.
Referenced by cloudViewer::io::AutoWriteEntity().
| std::function<bool(double)> cloudViewer::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
Definition at line 135 of file FileIO.h.
Referenced by cloudViewer::t::io::WritePCDData(), cloudViewer::io::WritePointCloudInMemoryToXYZ(), cloudViewer::io::WritePointCloudToPLY(), cloudViewer::t::io::WritePointCloudToPLY(), cloudViewer::io::WritePointCloudToPTS(), cloudViewer::t::io::WritePointCloudToPTS(), cloudViewer::t::io::WritePointCloudToSPLAT(), cloudViewer::t::io::WritePointCloudToTXT(), cloudViewer::io::WritePointCloudToXYZ(), cloudViewer::t::io::WritePointCloudToXYZI(), cloudViewer::io::WritePointCloudToXYZN(), and cloudViewer::io::WritePointCloudToXYZRGB().
| IsAscii cloudViewer::io::WritePointCloudOption::write_ascii |
Whether to save in Ascii or Binary. Some savers are capable of doing either, other ignore this.
Definition at line 123 of file FileIO.h.
Referenced by cloudViewer::t::io::WritePointCloudToNPZ(), cloudViewer::io::WritePointCloudToPCD(), cloudViewer::t::io::WritePointCloudToPCD(), cloudViewer::io::WritePointCloudToPLY(), and cloudViewer::t::io::WritePointCloudToPLY().