38#include "api_global.h" 
  153                                       bool isOrganized = 
false) 
const;
 
  172                                                  const std::string& fileName,
 
  173                                                  bool isOrganized = 
false) 
const;
 
  190                                      const std::string& fileName, 
bool isOrganized = 
false);
 
  209                                                 FileFormat fileFormat, 
const std::string& fileName,
 
  210                                                 bool isOrganized = 
false);
 
  213    std::shared_ptr<class Frame2DAnd3DImpl> _impl;
 
  214    friend class CameraImpl;
 
Represents a 2D container of data.
Represents the 2D and 3D scanning result, which can be obtained by calling Camera::capture2DAnd3D or ...
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 with input file format and input file name....
static ErrorStatus savePointCloudWithNormals(const TexturedPointCloudWithNormals &pointCloud, FileFormat fileFormat, const std::string &fileName, bool isOrganized=false)
Saves the textured point cloud to a file with input file format and input file name....
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 with input file format and input file name....
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 with input file format and input file name....
Frame2DAnd3D & operator=(const Frame2DAnd3D &other) noexcept
Copy assignment.
Frame3D frame3D() const
Gets the Frame3D data part.
TexturedPointCloud getTexturedPointCloud() const
Gets the pixel-aligned 2D and 3D data with the PointXYZBGR pixel data format. Each point in TexturedP...
void clear()
Clears the data in Frame2DAnd3D and releases the related resources.
Represents the 2D scanning result, which can be obtained by calling Camera::capture2D....
Represents the 3D scanning result, which can be obtained by calling Camera::capture3D or Camera::capt...
Describes the types of errors.
The pixel element struct with normal vector X, Y, and Z information.
The pixel element struct in TexturedPointCloud with X, Y, Z, blue, green, and red information.
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 X, Y, Z, blue, green,...