3 #include "../point_cloud/point.h"
4 #include "../utility/io.h"
5 #include "../ndarray/ndarray_view.h"
14 std::ofstream::pos_type vertex_count_string_position_;
15 std::size_t count_ = 0;
21 void write_line_(
const std::string& ln);
31 const std::string& filename,
void write(const ndarray_view< 1, const point_xyz > &)
Definition: ply_exporter.cc:69
Mapping between coordinates, indices, and addresses of multi-dimensional data.
Definition: ndarray_view.h:16
ply_exporter(const std::string &filename, bool full=true, bool ascii=false, line_delimitor ld=line_delimitor::LF)
Definition: ply_exporter.cc:13
Exports point cloud into PLY file.
Definition: ply_exporter.h:11
~ply_exporter()
Definition: ply_exporter.cc:54
Point cloud point with only XYZ coordinates.
Definition: point.h:14
Point cloud point with XYZ coordinates, normal vector, weight, and RGB color.
Definition: point.h:52
line_delimitor
Definition: io.h:11
void close()
Definition: ply_exporter.cc:59