DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

PointCloud.h
Go to the documentation of this file.
1 // This code contains NVIDIA Confidential Information and is disclosed
3 // under the Mutual Non-Disclosure Agreement.
4 //
5 // Notice
6 // ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
7 // NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
8 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
9 // MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
10 //
11 // NVIDIA Corporation assumes no responsibility for the consequences of use of such
12 // information or for any infringement of patents or other rights of third parties that may
13 // result from its use. No license is granted by implication or otherwise under any patent
14 // or patent rights of NVIDIA Corporation. No third party distribution is allowed unless
15 // expressly authorized by NVIDIA. Details are subject to change without notice.
16 // This code supersedes and replaces all information previously supplied.
17 // NVIDIA Corporation products are not authorized for use as critical
18 // components in life support devices or systems without express written approval of
19 // NVIDIA Corporation.
20 //
21 // Copyright (c) 2018-2020 NVIDIA Corporation. All rights reserved.
22 //
23 // NVIDIA Corporation and its licensors retain all intellectual property and proprietary
24 // rights in and to this software and related documentation and any modifications thereto.
25 // Any use, reproduction, disclosure or distribution of this software and related
26 // documentation without an express license agreement from NVIDIA Corporation is
27 // strictly prohibited.
28 //
30 
48 #ifndef DW_POINTCLOUDPROCESSING_POINTCLOUD_H_
49 #define DW_POINTCLOUDPROCESSING_POINTCLOUD_H_
50 
51 #include <dw/core/Types.h>
52 #include <dw/sensors/lidar/Lidar.h>
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif
57 
62 typedef enum {
66 
70 typedef struct
71 {
74  bool organized;
76  void* points;
77  uint32_t capacity;
78  uint32_t size;
79 
80 } dwPointCloud;
81 
97 
107 
108 #ifdef __cplusplus
109 }
110 #endif
111 
112 #endif // DW_POINTCLOUDPROCESSING_POINTCLOUD_H_
NVIDIA DriveWorks API: Core Types
Defines point cloud data structure.
Definition: PointCloud.h:70
NVIDIA DriveWorks API: Lidar
DW_API_PUBLIC dwStatus dwPointCloud_createBuffer(dwPointCloud *buffer)
Allocates memory for point cloud data structure.
dwTime_t timestamp
Time when the point cloud capturing is finished.
Definition: PointCloud.h:75
uint32_t capacity
Maximum number of points acceptable by point cloud.
Definition: PointCloud.h:77
dwPointCloudFormat
Defines point format.
Definition: PointCloud.h:62
uint32_t size
Number of points in the cloud.
Definition: PointCloud.h:78
dwMemoryType
Memory type definitions.
Definition: Types.h:177
void * points
Pointer to memory buffer.
Definition: PointCloud.h:76
dwStatus
Status definition.
Definition: Status.h:178
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: Types.h:82
bool organized
Flag indicating the data is ordered on the 3D grid.
Definition: PointCloud.h:74
dwPointCloudFormat format
Format of a buffer.
Definition: PointCloud.h:73
dwMemoryType type
Defines type of a memory GPU or CPU.
Definition: PointCloud.h:72
Polar 3D coordinate + internsity.
Definition: PointCloud.h:64
#define DW_API_PUBLIC
Definition: Exports.h:56
Cartesian 3D coordinate + intensity.
Definition: PointCloud.h:63
DW_API_PUBLIC dwStatus dwPointCloud_destroyBuffer(dwPointCloud *buffer)
Destroys allocated memory for point cloud data structure.