Defines point cloud processing datatypes and memory handling functions. 
◆ dwPointCloud
| Data Fields | 
|---|
| uint32_t | capacity | Maximum number of points acceptable by point cloud. | 
| dwPointCloudFormat | format | Format of a buffer. | 
| bool | organized | Flag indicating the data is ordered on the 3D grid. | 
| void * | points | Pointer to memory buffer. | 
| uint32_t | size | Number of points in the cloud. | 
| dwTime_t | timestamp | Time when the point cloud capturing is finished. | 
| dwMemoryType | type | Defines type of a memory GPU or CPU. | 
 
 
◆ dwPointCloudFormat
Defines point format. 
| Enumerator | 
|---|
| DW_POINTCLOUD_FORMAT_XYZI | Cartesian 3D coordinate + intensity.  | 
| DW_POINTCLOUD_FORMAT_RTHI | Polar 3D coordinate + intensity.  | 
Definition at line 60 of file PointCloud.h.
 
 
◆ dwPointCloud_createBuffer()
Allocates memory for point cloud data structure. 
- Parameters
- 
  
  
- Returns
- DW_SUCCESS
 DW_INVALID_ARGUMENT
- Note
- User must specify the followings for the argument buffer:
- The member variable capacityto indicate the memory allocation size
- The member variable typeto indicate the memory type, either host memory or device memory
 
- 
Upon successful return, this API will set sizeto zero to indicate it contains no element in the memory By default this API will setorganizedto false
 
 
◆ dwPointCloud_destroyBuffer()
Destroys allocated memory for point cloud data structure. 
- Parameters
- 
  
  
- Returns
- DW_SUCCESS
 DW_INVALID_ARGUMENT