Function rs2_export_to_ply

Function Documentation

void rs2_export_to_ply(const rs2_frame *frame, const char *fname, rs2_frame *texture, rs2_error **error)

When called on Points frame type, this method creates a ply file of the model with the given file name.

Parameters:
  • frame[in] Points frame

  • fname[in] The name for the ply file

  • texture[in] Texture frame

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored