38#include "api_global.h"
223 std::shared_ptr<class Frame2DAnd3DImpl> _impl;
224 friend class CameraImpl;
225 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...
static ErrorStatus savePointCloudWithNormals(const TexturedPointCloudWithNormals &pointCloud, FileFormat fileFormat, const std::string &fileName, bool isOrganized=false)
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...
Frame2DAnd3D()
Constructor.
Frame2DAnd3D(const Frame2DAnd3D &other) noexcept
Copy constructor.
static ErrorStatus savePointCloud(const TexturedPointCloud &pointCloud, FileFormat fileFormat, const std::string &fileName, bool isOrganized=false)
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, unit: mm, invalid data: nan.
float y
Y channel, unit: mm, invalid data: nan.
float x
X channel, unit: mm, invalid data: nan.
The pixel element struct in TexturedPointCloudWithNormals with the coordinate (x, y,...