30 static QString s_applicationName;
31 static QString s_version;
32 static QString s_writerInfo;
43 std::string
format =
"auto",
44 bool remove_nan_points =
false,
45 bool remove_infinite_points =
false,
46 bool print_progress =
false,
47 std::function<
bool(
double)> update_progress = {})
49 remove_nan_points(remove_nan_points),
50 remove_infinite_points(remove_infinite_points),
51 print_progress(print_progress),
52 update_progress(update_progress) {};
78 enum class IsAscii : bool { Binary =
false, Ascii =
true };
83 std::string
format =
"auto",
86 bool print_progress =
false,
87 std::function<
bool(
double)> update_progress = {})
91 print_progress(print_progress),
92 update_progress(update_progress) {};
96 bool print_progress =
false,
97 std::function<
bool(
double)> update_progress = {})
100 print_progress(print_progress),
101 update_progress(update_progress) {};
106 bool print_progress =
false,
107 std::function<
bool(
double)> update_progress = {})
111 print_progress(print_progress),
112 update_progress(update_progress) {};
115 update_progress = up;
filament::Texture::InternalFormat format
static QString writerInfo()
static QString createdBy()
static void setWriterInfo(const QString &applicationName, const QString &version)
static QString applicationName()
static QString createdDateTime()
Generic file read and write utility for python interface.
Optional parameters to ReadPointCloud.
ReadPointCloudOption(std::function< bool(double)> up)
bool remove_nan_points
Whether to remove all points that have nan.
ReadPointCloudOption(std::string format="auto", bool remove_nan_points=false, bool remove_infinite_points=false, bool print_progress=false, std::function< bool(double)> update_progress={})
std::function< bool(double)> update_progress
bool remove_infinite_points
Whether to remove all points that have +-inf.
Optional parameters to WritePointCloud.
WritePointCloudOption(std::string format, bool write_ascii, bool compressed=false, bool print_progress=false, std::function< bool(double)> update_progress={})
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::function< bool(double)> up)
WritePointCloudOption(std::string format="auto", IsAscii write_ascii=IsAscii::Binary, Compressed compressed=Compressed::Uncompressed, bool print_progress=false, std::function< bool(double)> update_progress={})