mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
mf::ply_exporter Class Reference

Exports point cloud into PLY file. More...

#include <ply_exporter.h>

Public Member Functions

 ply_exporter (const std::string &filename, bool full=true, bool ascii=false, line_delimitor ld=line_delimitor::LF)
 
 ~ply_exporter ()
 
void write (const ndarray_view< 1, const point_xyz > &)
 
void write (const ndarray_view< 1, const point_xyzrgb > &)
 
void write (const ndarray_view< 1, const point_full > &)
 
void close ()
 

Detailed Description

Exports point cloud into PLY file.

Can generate binary or ASCII format, and either only XYZ coordinates or with color, weight and normals.

Constructor & Destructor Documentation

mf::ply_exporter::ply_exporter ( const std::string &  filename,
bool  full = true,
bool  ascii = false,
line_delimitor  ld = line_delimitor::LF 
)
explicit
mf::ply_exporter::~ply_exporter ( )

Member Function Documentation

void mf::ply_exporter::close ( )
void mf::ply_exporter::write ( const ndarray_view< 1, const point_xyz > &  arr)
void mf::ply_exporter::write ( const ndarray_view< 1, const point_xyzrgb > &  arr)
void mf::ply_exporter::write ( const ndarray_view< 1, const point_full > &  arr)

The documentation for this class was generated from the following files: