4 #ifndef __RS_CONVERTER_CONVERTER_PLY_H 5 #define __RS_CONVERTER_CONVERTER_PLY_H 8 #include "../converter.hpp" 25 std::string
name()
const override 27 return "PLY converter";
34 [
this, &frame, pc]()
mutable {
39 if (frameDepth && frameColor) {
50 <<
"_" << std::setprecision(14) << std::fixed << frameDepth.
get_timestamp()
55 std::stringstream metadata_file;
56 metadata_file << _filePath
57 <<
"_metadata_" << std::setprecision(14) << std::fixed << frameDepth.
get_timestamp()
void export_to_ply(const std::string &fname, video_frame texture)
void map_to(frame mapped)
double get_timestamp() const
video_frame get_color_frame() const
points calculate(frame depth) const
unsigned long long get_frame_number() const
depth_frame get_depth_frame() const