Easy3D 2.6.1
|
A general purpose PLY file writer. More...
#include <easy3d/fileio/ply_reader_writer.h>
Static Public Member Functions | |
static bool | write (const std::string &file_name, const std::vector< Element > &elements, const std::string &comment="", bool binary=false) |
Saves a model stored as a set of elements to a file. | |
A general purpose PLY file writer.
This class is internally used by PointCloudIO, SurfaceMeshIO, and GraphIO. Client code should use PointCloudIO, SurfaceMeshIO, and GraphIO.
|
static |
Saves a model stored as a set of elements to a file.
file_name | The name of the output file. |
elements | The model elements to save. |
comment | The comment to be written to the file. |
binary | True for binary format, otherwise ASCII format. |