38#include "api_global.h"
253 std::shared_ptr<class Frame2DAnd3DImpl> _impl;
254 friend class CameraImpl;
255 friend class InternalInterfaces;
Represents a 2D container of data.
Represents the 2D and 3D capture results, which can be obtained by calling Camera::capture2DAnd3D....
TexturedPointCloudWithNormals getTexturedPointCloudWithNormals() const
Gets the pixel-aligned 2D and 3D data with the PointXYZBGRWithNormals pixel data format....
~Frame2DAnd3D()
Destructor.
ErrorStatus saveTexturedPointCloudWithNormals(FileFormat fileFormat, const std::string &fileName, bool isOrganized=false) const
Saves the textured point cloud to a file of the input file format and filename. Each point contains x...
Frame2D frame2D() const
Gets the Frame2D data part.
ErrorStatus saveTexturedPointCloud(FileFormat fileFormat, const std::string &fileName, bool isOrganized=false) const
Saves the textured point cloud to a file of the input file format and filename. Each point contains x...
static ErrorStatus savePointCloud(const TexturedPointCloud &pointCloud, FileFormat fileFormat, const std::string &fileName, bool isOrganized=false, CoordinateUnit pointCloudUnit=CoordinateUnit::Millimeter)
Saves the textured point cloud to a file of the input file format and filename. Each point contains x...
Frame2DAnd3D()
Constructor.
Frame2DAnd3D(const Frame2DAnd3D &other) noexcept
Copy constructor.
static ErrorStatus savePointCloudWithNormals(const TexturedPointCloudWithNormals &pointCloud, FileFormat fileFormat, const std::string &fileName, bool isOrganized=false, CoordinateUnit pointCloudUnit=CoordinateUnit::Millimeter)
Saves the textured point cloud to a file of the input file format and filename. Each point contains x...
Frame2DAnd3D & operator=(const Frame2DAnd3D &other) noexcept
Copy assignment.
Frame3D frame3D() const
Gets the Frame3D data part.
TexturedPointCloud getTexturedPointCloud() const
Gets the 2D and 3D data aligned pixel-to-pixel with the PointXYZBGR data format. Each point in Textur...
void clear()
Clears the data in Frame2DAnd3D and releases the associated resources.
Represents the 2D capture result, which can be obtained by calling Camera::capture2D....
Represents the 3D capture result, which can be obtained by calling Camera::capture3D....
Describes the types of errors.
The pixel element struct with the normal vector coordinate (x, y, z) information.
Represents a point in TexturedPointCloud with the coordinate (x, y, z) and texture (blue,...
float z
Z channel, default unit: mm, invalid data: nan.
float y
Y channel, default unit: mm, invalid data: nan.
uint8_t a
Transparency channel.
float x
X channel, default unit: mm, invalid data: nan.
The pixel element struct in TexturedPointCloudWithNormals with the coordinate (x, y,...