Zivid C++ API 2.14.0+e4a0c4a9-1
|
Namespaces | |
namespace | FileFormat |
Enumerations | |
enum class | ColorSpace { sRGB , linearRGB } |
Color space to use when saving frame. More... | |
Functions | |
ZIVID_CORE_EXPORT void | exportFrame (const Zivid::Frame &frame, const FileFormat::ZDF &specification) |
Save frame to ZDF file. | |
ZIVID_CORE_EXPORT void | exportFrame (const Zivid::Frame &frame, const FileFormat::PLY &specification) |
Save frame to PLY file. | |
ZIVID_CORE_EXPORT void | exportFrame (const Zivid::Frame &frame, const FileFormat::XYZ &specification) |
Save frame to XYZ file. | |
ZIVID_CORE_EXPORT void | exportFrame (const Zivid::Frame &frame, const FileFormat::PCD &specification) |
Save frame to PCD file. | |
|
strong |
ZIVID_CORE_EXPORT void Zivid::Experimental::PointCloudExport::exportFrame | ( | const Zivid::Frame & | frame, |
const FileFormat::PCD & | specification ) |
Save frame to PCD file.
Saves frame object to a PCD file. This function stores the ordered point cloud with a header that indicates an unordered point cloud. Since SDK 2.5, it is possible to export PCD with correct header by setting Configuration/APIBreakingBugFixes/FileFormats/PCD/UseOrganizedFormat in Config.yml file. See https://support.zivid.com/en/latest/reference-articles/point-cloud-structure-and-output-formats.html#organized-pcd-format. Specify the color space of the point cloud data in specification parameter.
frame | Frame object to save |
specification | Specification for saving frame in PCD format |
ZIVID_CORE_EXPORT void Zivid::Experimental::PointCloudExport::exportFrame | ( | const Zivid::Frame & | frame, |
const FileFormat::PLY & | specification ) |
Save frame to PLY file.
Saves frame object to a PLY file. Specify the layout and color space of the point cloud data in specification parameter.
frame | Frame object to save |
specification | Specification for saving frame in PLY format |
ZIVID_CORE_EXPORT void Zivid::Experimental::PointCloudExport::exportFrame | ( | const Zivid::Frame & | frame, |
const FileFormat::XYZ & | specification ) |
Save frame to XYZ file.
Saves frame object to a XYZ file. XYZ (position) and RGB (color) values are separated with white space. Each new point is separated by the newline character. Specify the color space of the point cloud data in specification parameter.
frame | Frame object to save |
specification | Specification for saving frame in XYZ format |
ZIVID_CORE_EXPORT void Zivid::Experimental::PointCloudExport::exportFrame | ( | const Zivid::Frame & | frame, |
const FileFormat::ZDF & | specification ) |
Save frame to ZDF file.
Saves frame object to a ZDF file.
frame | Frame object to save |
specification | Specification for saving frame in ZDF format |