licornea_tools
|
Imports point cloud from PLY file. More...
#include <ply_importer.h>
Public Member Functions | |
ply_importer (const std::string &filename, line_delimitor ld=line_delimitor::unknown) | |
std::size_t | size () const |
void | rewind () |
std::ptrdiff_t | tell () const |
void | read (point_xyz *, std::size_t sz) |
void | read (point_full *, std::size_t sz) |
bool | is_binary () const |
bool | is_ascii () const |
Imports point cloud from PLY file.
Reads only points (vertices), possibly with RGB color and normal vector data. Supports ASCII and binary formats. Detects line ending type from file. File may contains other elements except vertex, but those are not read. List-type properties are not supported, and are only tolerated in elements behinds vertex.
Definition at line 33 of file ply_importer.h.
|
explicit |
|
inline |
Definition at line 102 of file ply_importer.h.
|
inline |
Definition at line 101 of file ply_importer.h.
void tlz::ply_importer::read | ( | point_xyz * | buffer, |
std::size_t | sz | ||
) |
void tlz::ply_importer::read | ( | point_full * | buffer, |
std::size_t | sz | ||
) |
void tlz::ply_importer::rewind | ( | ) |
Definition at line 207 of file ply_importer.cc.
std::size_t tlz::ply_importer::size | ( | ) | const |
Definition at line 307 of file ply_importer.cc.
std::ptrdiff_t tlz::ply_importer::tell | ( | ) | const |
Definition at line 302 of file ply_importer.cc.