Namespace: Rx::LFR – Class: CExport – Header: Rx.LFR/Export.h

CExport::SavePointListPCD Static Method

C++
static void SavePointListPCD(const CRxString& sxFile, const CRxArray<float>& afPositions, const CRxArray<char>& afColors)

Saves the 3D point list to binary PCD format.

Point Cloud Data: http://pointclouds.org/documentation/tutorials/pcd_file_format.php.

Parameters

[const CRxString&] sxFile

Filename for output (filename extension has to be '.pcd').

[const CRxArray<float>&] afPositions

The positions to be written (size must be a multiple of 3).

[const CRxArray<char>&] afColors

The colors for each point (size must be a multiple of 4 and contain the same amount of points as positions).