20 const std::string &filename,
21 const std::string &
format =
"auto",
22 bool print_progress =
false);
27 const unsigned char *buffer,
30 bool print_progress =
false);
38 std::string
format =
"auto",
95 std::string
format =
"auto",
171 geometry::PointCloud &pointcloud,
172 const ReadPointCloudOption ¶ms);
176 geometry::PointCloud &pointcloud,
177 const ReadPointCloudOption ¶ms);
180 const geometry::PointCloud &pointcloud,
181 const WritePointCloudOption ¶ms);
185 const geometry::PointCloud &pointcloud,
186 const WritePointCloudOption ¶ms);
189 geometry::PointCloud &pointcloud,
190 const ReadPointCloudOption ¶ms);
193 const geometry::PointCloud &pointcloud,
194 const WritePointCloudOption ¶ms);
197 geometry::PointCloud &pointcloud,
198 const ReadPointCloudOption ¶ms);
201 const geometry::PointCloud &pointcloud,
202 const WritePointCloudOption ¶ms);
205 geometry::PointCloud &pointcloud,
206 const ReadPointCloudOption ¶ms);
209 const geometry::PointCloud &pointcloud,
210 const WritePointCloudOption ¶ms);
213 geometry::PointCloud &pointcloud,
214 const ReadPointCloudOption ¶ms);
217 const geometry::PointCloud &pointcloud,
218 const WritePointCloudOption ¶ms);
221 geometry::PointCloud &pointcloud,
222 const ReadPointCloudOption ¶ms);
225 const geometry::PointCloud &pointcloud,
226 const WritePointCloudOption ¶ms);
filament::Texture::InternalFormat format
Definition: FilamentResourceManager.cpp:195
A point cloud consists of point coordinates, and optionally point colors and point normals.
Definition: PointCloud.h:36
std::shared_ptr< geometry::PointCloud > CreatePointCloudFromMemory(const unsigned char *buffer, const size_t length, const std::string &format, bool print_progress)
Definition: PointCloudIO.cpp:78
bool WritePointCloudToXYZRGB(const std::string &filename, const geometry::PointCloud &pointcloud, const WritePointCloudOption ¶ms)
Definition: FileXYZRGB.cpp:59
bool WritePointCloudToPCD(const std::string &filename, const geometry::PointCloud &pointcloud, const WritePointCloudOption ¶ms)
Definition: FilePCD.cpp:772
bool ReadPointCloudFromXYZ(const std::string &filename, geometry::PointCloud &pointcloud, const ReadPointCloudOption ¶ms)
Definition: FileXYZ.cpp:25
bool ReadPointCloud(const std::string &filename, geometry::PointCloud &pointcloud, const ReadPointCloudOption ¶ms)
Definition: PointCloudIO.cpp:89
bool WritePointCloudToPLY(const std::string &filename, const geometry::PointCloud &pointcloud, const WritePointCloudOption ¶ms)
Definition: FilePLY.cpp:443
bool WritePointCloud(const std::string &filename, const geometry::PointCloud &pointcloud, const WritePointCloudOption ¶ms)
Definition: PointCloudIO.cpp:171
bool ReadPointCloudFromXYZN(const std::string &filename, geometry::PointCloud &pointcloud, const ReadPointCloudOption ¶ms)
Definition: FileXYZN.cpp:23
bool ReadPointCloudFromXYZRGB(const std::string &filename, geometry::PointCloud &pointcloud, const ReadPointCloudOption ¶ms)
Definition: FileXYZRGB.cpp:23
bool WritePointCloudInMemoryToXYZ(unsigned char *&buffer, size_t &length, const geometry::PointCloud &pointcloud, const WritePointCloudOption ¶ms)
Definition: FileXYZ.cpp:123
bool ReadPointCloudInMemoryFromXYZ(const unsigned char *buffer, const size_t length, geometry::PointCloud &pointcloud, const ReadPointCloudOption ¶ms)
Definition: FileXYZ.cpp:59
bool ReadPointCloudFromPLY(const std::string &filename, geometry::PointCloud &pointcloud, const ReadPointCloudOption ¶ms)
Definition: FilePLY.cpp:378
bool WritePointCloudToXYZN(const std::string &filename, const geometry::PointCloud &pointcloud, const WritePointCloudOption ¶ms)
Definition: FileXYZN.cpp:59
bool ReadPointCloudFromPCD(const std::string &filename, geometry::PointCloud &pointcloud, const ReadPointCloudOption ¶ms)
Definition: FilePCD.cpp:735
bool WritePointCloudToPTS(const std::string &filename, const geometry::PointCloud &pointcloud, const WritePointCloudOption ¶ms)
Definition: FilePTS.cpp:127
bool ReadPointCloudFromPTS(const std::string &filename, geometry::PointCloud &pointcloud, const ReadPointCloudOption ¶ms)
Definition: FilePTS.cpp:24
std::shared_ptr< geometry::PointCloud > CreatePointCloudFromFile(const std::string &filename, const std::string &format, bool print_progress)
Definition: PointCloudIO.cpp:69
bool WritePointCloudToXYZ(const std::string &filename, const geometry::PointCloud &pointcloud, const WritePointCloudOption ¶ms)
Definition: FileXYZ.cpp:90
Definition: PinholeCameraIntrinsic.cpp:16
Optional parameters to ReadPointCloud.
Definition: PointCloudIO.h:34
std::function< bool(double)> update_progress
Definition: PointCloudIO.h:67
ReadPointCloudOption(std::function< bool(double)> up)
Definition: PointCloudIO.h:48
bool remove_infinite_points
Whether to remove all points that have +-inf.
Definition: PointCloudIO.h:59
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={})
Definition: PointCloudIO.h:35
std::string format
Definition: PointCloudIO.h:51
bool remove_nan_points
Whether to remove all points that have nan.
Definition: PointCloudIO.h:57
bool print_progress
Definition: PointCloudIO.h:63
Optional parameters to WritePointCloud.
Definition: PointCloudIO.h:89
std::function< bool(double)> update_progress
Definition: PointCloudIO.h:147
IsAscii
Definition: PointCloudIO.h:90
Compressed
Definition: PointCloudIO.h:91
WritePointCloudOption(std::function< bool(double)> up)
Definition: PointCloudIO.h:125
WritePointCloudOption(std::string format, bool write_ascii, bool compressed=false, bool print_progress=false, std::function< bool(double)> update_progress={})
Definition: PointCloudIO.h:115
bool print_progress
Definition: PointCloudIO.h:143
std::string format
Definition: PointCloudIO.h:128
WritePointCloudOption(std::string format="auto", IsAscii write_ascii=IsAscii::Binary, Compressed compressed=Compressed::Uncompressed, bool print_progress=false, std::function< bool(double)> update_progress={})
Definition: PointCloudIO.h:92
IsAscii write_ascii
Definition: PointCloudIO.h:135
Compressed compressed
Definition: PointCloudIO.h:139
WritePointCloudOption(bool write_ascii, bool compressed=false, bool print_progress=false, std::function< bool(double)> update_progress={})
Definition: PointCloudIO.h:106