Class PlyWriter

Class Documentation

class PlyWriter

Writes a mesh to a .ply file.

For reference on the format, see: http://paulbourke.net/dataformats/ply/

Public Functions

PlyWriter(const std::string &filename)
virtual ~PlyWriter()
void addVerticesWithProperties(size_t num_vertices, bool has_color)
bool writeHeader()
bool writeVertex(const Point &coord)
bool writeVertex(const Point &coord, const Color &rgb)
void closeFile()