NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
PointCloudAssembler.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2026 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 
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 
57 
66  uint8_t framePoolSize;
67 
69 
85  dwLidarProperties const* const lidarProperties);
86 
104  dwPointCloudAssemblerParams const* const params,
105  dwLidarProperties const* const lidarProperties,
106  dwContextHandle_t const ctx);
121 
136 
152 dwStatus dwPointCloudAssembler_setCUDAStream(cudaStream_t const stream,
169 dwStatus dwPointCloudAssembler_getCUDAStream(cudaStream_t* const stream,
171 
197 
220 
242 
259 
289 
290 #ifdef __cplusplus
291 }
292 #endif
293 
294 #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:79
dwPointCloudAssemblerHandle_t
struct dwPointCloudAssemblerObject * dwPointCloudAssemblerHandle_t
Definition: PointCloudAssembler.h:38
dwPointCloud
Defines point cloud data structure.
Definition: PointCloud.h:80
dwPointCloudAssembler_process
DW_API_PUBLIC dwStatus dwPointCloudAssembler_process(dwPointCloudAssemblerHandle_t const obj)
Perform processing of accumulated data.
LidarPointCloud.h
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 the dwLidarPointCloud view used as the assembly output (nested dwPointCloud plus mapping and opt...
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.
obj
const NvSciSyncObj *const obj
Definition: wfdext.h:528
dwLidarDecodedPacket
Defines the structure for a decoded lidar packet.
Definition: LidarTypes.h:283
dwLidarProperties
Defines the properties of the lidar.
Definition: LidarTypes.h:197
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:32
dwPointCloudAssemblerParams::mapping
dwLidarPointCloudMapping mapping
Layers and auxiliary-channel mapping for the assembled point cloud.
Definition: PointCloudAssembler.h:56
dwContextHandle_t
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:81
dwPointCloudAssembler_bindOutput
DW_API_PUBLIC dwStatus dwPointCloudAssembler_bindOutput(dwPointCloud *const pointCloud, dwPointCloudAssemblerHandle_t const obj)
Bind the flat dwPointCloud buffer that receives assembled points for the next dwPointCloudAssembler_p...
dwPointCloudAssemblerConstHandle_t
struct dwPointCloudAssemblerObject const * dwPointCloudAssemblerConstHandle_t
Definition: PointCloudAssembler.h:39
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition: core/base/Exports.h:57
dwPointCloudAssembler_getDefaultParams
DW_API_PUBLIC dwStatus dwPointCloudAssembler_getDefaultParams(dwPointCloudAssemblerParams *const params, dwLidarProperties const *const lidarProperties)
Get default initialization parameters for specified lidar device.
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:99
dwPointCloudAssemblerParams::framePoolSize
uint8_t framePoolSize
Number of completed frames the assembler can keep in its internal pool.
Definition: PointCloudAssembler.h:66