NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
PointCloudAssembler.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
29 #ifndef DW_POINTCLOUDPROCESSING_ASSEMBLER_POINTCLOUDASSEMBLER_H_
30 #define DW_POINTCLOUDPROCESSING_ASSEMBLER_POINTCLOUDASSEMBLER_H_
31 
32 #include <dw/pointcloudprocessing/lidarpointcloud/LidarPointCloud.h>
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 typedef struct dwPointCloudAssemblerObject* dwPointCloudAssemblerHandle_t;
39 typedef struct dwPointCloudAssemblerObject const* dwPointCloudAssemblerConstHandle_t;
40 
45 typedef struct
46 {
48  bool enableCuda;
49 
52 
54 
70  dwLidarProperties const* const lidarProperties);
71 
90  dwLidarProperties const* const lidarProperties,
91  dwContextHandle_t const ctx);
106 
121 
137 dwStatus dwPointCloudAssembler_setCUDAStream(cudaStream_t const stream,
154 dwStatus dwPointCloudAssembler_getCUDAStream(cudaStream_t* const stream,
156 
176 
196 
212 
229 
259 
260 #ifdef __cplusplus
261 }
262 #endif
263 
264 #endif // DW_POINTCLOUDPROCESSING_ASSEMBLER_POINTCLOUDASSEMBLER_H_
dwPointCloudAssemblerParams::enableCuda
bool enableCuda
If set to true, assembling to GPU memory.
Definition: PointCloudAssembler.h:48
dwLidarPointCloudMapping
Struct indicating layer and aux channel mapping.
Definition: LidarPointCloud.h:60
dwPointCloudAssemblerHandle_t
struct dwPointCloudAssemblerObject * dwPointCloudAssemblerHandle_t
Definition: PointCloudAssembler.h:38
dwPointCloud
Defines point cloud data structure.
Definition: PointCloud.h:80
ctx
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const const dwContextHandle_t ctx
Definition: PointCloudRangeImageCreator.h:293
dwPointCloudAssembler_process
DW_API_PUBLIC dwStatus dwPointCloudAssembler_process(dwPointCloudAssemblerHandle_t const obj)
Perform processing of accumulated data.
dwPointCloudAssembler_setCUDAStream
DW_API_PUBLIC dwStatus dwPointCloudAssembler_setCUDAStream(cudaStream_t const stream, dwPointCloudAssemblerHandle_t const obj)
Set CUDA stream of point cloud assembler.
dwPointCloudAssembler_addLidarPacket
DW_API_PUBLIC dwStatus dwPointCloudAssembler_addLidarPacket(dwLidarDecodedPacket const *const packet, dwPointCloudAssemblerHandle_t const obj)
Push lidar packet to point cloud assembler.
dwPointCloudAssembler_initialize
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.
dwPointCloudAssemblerParams
Initialization parameters.
Definition: PointCloudAssembler.h:45
dwPointCloudAssembler_bindLidarPointCloud
DW_API_PUBLIC dwStatus dwPointCloudAssembler_bindLidarPointCloud(dwLidarPointCloud *const pointCloud, dwPointCloudAssemblerHandle_t const obj)
Bind output lidar specific point cloud.
dwPointCloudAssembler_isReady
DW_API_PUBLIC dwStatus dwPointCloudAssembler_isReady(bool *const isReady, dwPointCloudAssemblerConstHandle_t const obj)
Indicate that lidar frame has been accumulated.
dwPointCloudAssembler_reset
DW_API_PUBLIC dwStatus dwPointCloudAssembler_reset(dwPointCloudAssemblerHandle_t const obj)
Reset point cloud assembler.
dwPointCloudAssembler_release
DW_API_PUBLIC dwStatus dwPointCloudAssembler_release(dwPointCloudAssemblerHandle_t const obj)
Release point cloud assembler.
dwLidarDecodedPacket
Defines the structure for a decoded lidar packet.
Definition: LidarTypes.h:275
dwLidarProperties
Defines the properties of the lidar.
Definition: LidarTypes.h:194
dwPointCloudAssemblerParams::mapping
dwLidarPointCloudMapping mapping
Layers and aux channels mapping.
Definition: PointCloudAssembler.h:51
dwContextHandle_t
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:74
dwPointCloudAssembler_bindOutput
DW_API_PUBLIC dwStatus dwPointCloudAssembler_bindOutput(dwPointCloud *const pointCloud, dwPointCloudAssemblerHandle_t const obj)
Bind output point cloud.
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:27
dwPointCloudAssemblerConstHandle_t
struct dwPointCloudAssemblerObject const * dwPointCloudAssemblerConstHandle_t
Definition: PointCloudAssembler.h:39
params
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const params
Definition: PointCloudRangeImageCreator.h:292
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition: Exports.h:38
dwPointCloudAssembler_getDefaultParams
DW_API_PUBLIC dwStatus dwPointCloudAssembler_getDefaultParams(dwPointCloudAssemblerParams *const params, dwLidarProperties const *const lidarProperties)
Get default initialization parameters for specified lidar device.
obj
const NvSciSyncObj *const obj
Definition: wfdext.h:120
dwPointCloudAssembler_getCUDAStream
DW_API_PUBLIC dwStatus dwPointCloudAssembler_getCUDAStream(cudaStream_t *const stream, dwPointCloudAssemblerConstHandle_t const obj)
Get CUDA stream of point cloud assembler.
dwLidarPointCloud
Defines a LIDAR-specific point cloud data structure.
Definition: LidarPointCloud.h:80