DriveWorks SDK Reference
5.16.65 Release
For Test and Development only

PointCloudAssembler.h
Go to the documentation of this file.
1
2// 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) 2021-2023 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_ASSEMBLER_POINTCLOUDASSEMBLER_H_
47#define DW_POINTCLOUDPROCESSING_ASSEMBLER_POINTCLOUDASSEMBLER_H_
48
50
51#ifdef __cplusplus
52extern "C" {
53#endif
54
55typedef struct dwPointCloudAssemblerObject* dwPointCloudAssemblerHandle_t;
56typedef struct dwPointCloudAssemblerObject const* dwPointCloudAssemblerConstHandle_t;
57
62typedef struct
63{
66
69
71
83 dwLidarProperties const* const lidarProperties);
84
98 dwPointCloudAssemblerParams const* const params,
99 dwLidarProperties const* const lidarProperties,
100 dwContextHandle_t const ctx);
111
122
149
165
181
193
206
232
233#ifdef __cplusplus
234}
235#endif
237#endif // DW_POINTCLOUDPROCESSING_ASSEMBLER_POINTCLOUDASSEMBLER_H_
dwStatus
Status definition.
Definition: ErrorDefs.h:44
NVIDIA DriveWorks API: Lidar Point Cloud Processing
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:86
#define DW_API_PUBLIC
Definition: Exports.h:56
Defines the structure for a decoded lidar packet.
Definition: Lidar.h:233
Defines the properties of the lidar.
Definition: Lidar.h:161
bool enableCuda
If set to true, assembling to GPU memory.
dwLidarPointCloudMapping mapping
Layers and aux channels mapping.
DW_API_PUBLIC dwStatus dwPointCloudAssembler_bindLidarPointCloud(dwLidarPointCloud *const pointCloud, dwPointCloudAssemblerHandle_t const obj)
Bind output lidar specific point cloud.
DW_API_PUBLIC dwStatus dwPointCloudAssembler_initialize(dwPointCloudAssemblerHandle_t *const obj, dwPointCloudAssemblerParams const *const params, dwLidarProperties const *const lidarProperties, dwContextHandle_t const ctx)
Initialize point cloud assembler module.
DW_API_PUBLIC dwStatus dwPointCloudAssembler_getCUDAStream(cudaStream_t *const stream, dwPointCloudAssemblerConstHandle_t const obj)
Get CUDA stream of point cloud assembler.
DW_API_PUBLIC dwStatus dwPointCloudAssembler_addLidarPacket(dwLidarDecodedPacket const *const packet, dwPointCloudAssemblerHandle_t const obj)
Push lidar packet to point cloud assembler.
DW_API_PUBLIC dwStatus dwPointCloudAssembler_process(dwPointCloudAssemblerHandle_t const obj)
Perform processing of accumulated data.
DW_API_PUBLIC dwStatus dwPointCloudAssembler_setCUDAStream(cudaStream_t const stream, dwPointCloudAssemblerHandle_t const obj)
Set CUDA stream of point cloud assembler.
struct dwPointCloudAssemblerObject * dwPointCloudAssemblerHandle_t
DW_API_PUBLIC dwStatus dwPointCloudAssembler_getDefaultParams(dwPointCloudAssemblerParams *const params, dwLidarProperties const *const lidarProperties)
Get default initialization parameters for specified lidar device.
DW_API_PUBLIC dwStatus dwPointCloudAssembler_reset(dwPointCloudAssemblerHandle_t const obj)
Reset point cloud assembler.
DW_API_PUBLIC dwStatus dwPointCloudAssembler_bindOutput(dwPointCloud *const pointCloud, dwPointCloudAssemblerHandle_t const obj)
Bind output point cloud.
DW_API_PUBLIC dwStatus dwPointCloudAssembler_release(dwPointCloudAssemblerHandle_t const obj)
Release point cloud assembler.
struct dwPointCloudAssemblerObject const * dwPointCloudAssemblerConstHandle_t
DW_API_PUBLIC dwStatus dwPointCloudAssembler_isReady(bool *const isReady, dwPointCloudAssemblerConstHandle_t const obj)
Indicate that lidar frame has been accumulated.
Defines a LIDAR-specific point cloud data structure.
Struct indicating layer and aux channel mapping.
Defines point cloud data structure.
Definition: PointCloud.h:98
Initialization parameters.