27#ifndef EASY3D_FILEIO_POINT_CLOUD_IO_H
28#define EASY3D_FILEIO_POINT_CLOUD_IO_H
64 static bool save(
const std::string& file_name,
const PointCloud* cloud);
83 bool save_xyz(
const std::string& file_name,
const PointCloud* cloud);
92 bool save_ply(
const std::string& file_name,
const PointCloud* cloud,
bool binary =
true);
A data structure for point clouds.
Definition: point_cloud.h:45
Implementation of file input/output operations for PointCloud.
Definition: point_cloud_io.h:44
static bool save(const std::string &file_name, const PointCloud *cloud)
Saves a point_cloud to a file.
Definition: point_cloud_io.cpp:83
static PointCloud * load(const std::string &file_name)
Reads a point cloud from file file_name.
Definition: point_cloud_io.cpp:37
bool load_bxyz(const std::string &file_name, PointCloud *cloud)
Reads point cloud from a binary xyz format file.
bool load_bin(const std::string &file_name, PointCloud *cloud)
Reads point cloud from a bin format file.
Definition: point_cloud_io_bin.cpp:42
bool load_xyz(const std::string &file_name, PointCloud *cloud)
Reads point cloud from an xyz format file.
bool load_las(const std::string &file_name, PointCloud *cloud)
Reads point cloud from an las/laz format file. Internally the method uses the LASlib of martin....
bool save_ply(const std::string &file_name, const Graph *graph, bool binary=true)
Saves graph into a PLY file file_name.
Definition: graph_io_ply.cpp:245
bool save_bin(const std::string &file_name, const PointCloud *cloud)
Saves a point cloud to a bin format file.
Definition: point_cloud_io_bin.cpp:113
bool load_ply(const std::string &file_name, Graph *graph)
Loads graph from a PLY file file_name.
Definition: graph_io_ply.cpp:89
bool save_bxyz(const std::string &file_name, const PointCloud *cloud)
Saves a point cloud to a binary xyz format file.
bool save_las(const std::string &file_name, const PointCloud *cloud)
Saves a point cloud to an LAS/LAS format file.
Definition: collider.cpp:182