DriveWorks SDK Reference
4.0.0 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 
46 #ifndef DW_POINTCLOUDPROCESSING_POINTCLOUD_H_
47 #define DW_POINTCLOUDPROCESSING_POINTCLOUD_H_
48 
49 #include <dw/core/base/Types.h>
50 #include <dw/sensors/lidar/Lidar.h>
51 
52 #ifdef __cplusplus
53 extern "C" {
54 #endif
55 
60 typedef enum {
64 
68 typedef struct
69 {
72  bool organized;
74  void* points;
75  uint32_t capacity;
76  uint32_t size;
77 
78 } dwPointCloud;
79 
95 
105 
106 #ifdef __cplusplus
107 }
108 #endif
109 
110 #endif // DW_POINTCLOUDPROCESSING_POINTCLOUD_H_
NVIDIA DriveWorks API: Core Types
Defines point cloud data structure.
Definition: PointCloud.h:68
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:73
uint32_t capacity
Maximum number of points acceptable by point cloud.
Definition: PointCloud.h:75
dwPointCloudFormat
Defines point format.
Definition: PointCloud.h:60
uint32_t size
Number of points in the cloud.
Definition: PointCloud.h:76
dwMemoryType
Memory type definitions.
Definition: Types.h:177
void * points
Pointer to memory buffer.
Definition: PointCloud.h:74
dwStatus
Status definition.
Definition: Status.h:180
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:72
dwPointCloudFormat format
Format of a buffer.
Definition: PointCloud.h:71
dwMemoryType type
Defines type of a memory GPU or CPU.
Definition: PointCloud.h:70
Polar 3D coordinate + intensity.
Definition: PointCloud.h:62
#define DW_API_PUBLIC
Definition: Exports.h:54
Cartesian 3D coordinate + intensity.
Definition: PointCloud.h:61
DW_API_PUBLIC dwStatus dwPointCloud_destroyBuffer(dwPointCloud *buffer)
Destroys allocated memory for point cloud data structure.